Phrases or snake_case names to camelCase, acronym and digit aware
PascalCase Converter
Name classes, types and React components consistently, straight from a list of plain phrases or names in another case.
Loading tool…
How to use pascalcase converter
Paste names or phrases, one per line.
Choose ASCII only for languages that reject accented identifiers.
Check the word split shown for the first line.
Copy or download the PascalCase names.
What this tool does
- Capitalises every word and joins them: order_line_item becomes OrderLineItem.
- Splits existing camel humps and acronyms (getIOSVersion becomes GetIosVersion).
- Keeps letters from any language, or converts them to ASCII on request.
- Converts a whole list in one go, line by line.
How the result is verified
The output is split back into words and must match the words found in the input, line by line. Results starting with a digit are flagged as invalid class names.
Frequently asked questions
Is PascalCase the same as UpperCamelCase?
Yes. PascalCase and UpperCamelCase are two names for the same style: every word starts with a capital, including the first. Python's PEP 8 calls it CapWords.
Why must React components be PascalCase?
JSX treats a tag starting with a lowercase letter as a built-in HTML element, so <userCard /> would render an unknown element. A capital first letter tells React it is your component.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
camelCase, headers or phrases to snake_case for Python and SQL
camelCase or phrases to kebab-case for CSS, files and URLs
Every case at once: upper, lower, title, sentence, camel, snake, kebab and more