OS Garage

Developer Case Tool

PascalCase Converter

Convert text to PascalCase for class names and React components.

Features

Every Word Capitalized

The first letter of every token is capitalized, including the first word.

Handles Any Input Format

Converts from spaces, snake_case, kebab-case, camelCase, and mixed formats.

Removes Separators

All hyphens, underscores, dots, slashes, and spaces are removed.

How to Use

  1. 1

    Enter your identifier

    Type or paste a phrase or existing identifier in any format.

  2. 2

    See PascalCase output

    All tokens are capitalized and joined without separators.

  3. 3

    Paste into your code

    Copy the result and use it as a class name, interface name, or component name.

Examples

Component name

Input

user profile card

Output

UserProfileCard

From snake_case

Input

http_request_handler

Output

HttpRequestHandler

From kebab-case

Input

modal-dialog-box

Output

ModalDialogBox

Common Questions

PascalCase capitalizes the first letter of every word and removes separators, producing identifiers like 'UserProfileCard'. Every word, including the first, starts with a capital letter.

React uses the case of the component name to distinguish between HTML elements (lowercase, like 'div') and React components (PascalCase, like 'UserCard'). The JSX compiler treats them differently at the syntax level.