Text Tools

Pascal Case

All tools

Build UpperCamelCase names for classes, components and types from ordinary words.

How it works

Four simple steps

1

Paste a label

Add class names, file titles, or multi-word strings.

2

Split word tokens

Delimiters like spaces and underscores are removed.

3

Capitalize each word

Every word starts uppercase with no separators.

4

Copy PascalCase

Copy the result for React components or C# types.

Pascal Case

About Pascal Case

You are scaffolding React components from a design file where layers are named "user profile card" and "nav-bar item". Component names need PascalCase, and getting the capitals right by hand across dozens of files gets tedious. Paste the label here and copy UserProfileCard back.

PascalCase, sometimes called UpperCamelCase, joins words with no separator and starts every word with a capital, including the first. The converter breaks words on anything that is not an ASCII letter or digit, then capitalizes the first letter of each word and lowercases the rest. Spaces, hyphens, underscores and dots all disappear.

Lowercasing the rest of each word changes acronyms and names that are already in mixed case. "XMLParser" becomes "Xmlparser" and "iOS app" becomes "IosApp". If you want "XmlParser", type it as "xml parser" first; some style guides, C# among them, prefer that form for longer acronyms anyway. As with the other identifier converters, every line merges into one name, so convert one at a time.

For variables and functions use the camelCase converter, which keeps the first word lowercase. To flip one string through several styles quickly, open the Case Converter. Everything is computed locally while you type.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

Both remove separators and capitalize word starts. PascalCase also capitalizes the first word (UserProfile), while camelCase leaves it lowercase (userProfile).

Only the first letter of each word stays capital, so "HTTP client" becomes HttpClient. Re-type acronyms by hand if your codebase keeps them fully uppercase.

No. The dot is treated as a separator, so "user card.tsx" becomes UserCardTsx. Convert the base name and add the extension afterwards.

View more FAQs

Related tools

View all

Uppercase

Convert text to UPPERCASE.

Open

Lowercase

Convert text to lowercase.

Open

Sentence Case

Capitalize first letter of sentences.

Open

Title Case

Capitalize each word.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools