What PascalCase does
PascalCase capitalizes every word and removes the separators. "login form" becomes "LoginForm". It is camelCase with a capital first letter. Use it for classes, React components, and type names. Use camelCase for variables and functions.
Before and after
| Input | PascalCase |
|---|---|
| user profile card | UserProfileCard |
| http response | HttpResponse |
| already_snake_case | AlreadySnakeCase |
The converter splits on spaces, hyphens, underscores, and on a lowercase letter followed by a capital. "alreadySnakeCase" becomes "AlreadySnakeCase". A block of capitals without spaces is one word: "HTTPResponse" stays a single token and becomes "Httpresponse" after the first letter is capitalized and the rest is lowercased inside that word. Spell the words apart if you need "HttpResponse".
PascalCase is a code format, not a headline format. Readers of a blog post should see title case or sentence case, which keep the spaces.
Other formats
Questions
Is the text uploaded?
No. Conversion happens in this browser. The text is not sent to a ToolsNowPro server.
Does the result cost anything?
No. You can copy or download it without an account.
Will proper names stay capitalized?
Only if the format you chose keeps them. Sentence case lowercases the sentence first, so check names afterward.
When should I use PascalCase?
Join words into PascalCase for class names, React components, and types. Every word starts with a capital. Separators are removed.
Need a count instead of a new case? Use the word counter. Need placeholder copy while you design? Use the lorem ipsum generator.