How to use the Case Converter
- Paste text on the left; each line is converted separately.
- Pick a target style above, such as Title Case or snake_case.
- The result appears instantly; press "Copy".
Examples
Variable names to snake_case
userProfileImage
HTTPRequestTimeout
user_profile_image
http_request_timeout
Headline to Title Case
the lord of the rings: return of the king
The Lord of the Rings: Return of the King
Where each naming style is used
| camelCase | JavaScript and Java variables and functions |
|---|---|
| PascalCase | Class names, React components |
| snake_case | Python, Ruby, database columns |
| kebab-case | URL slugs, CSS classes, file names |
| CONSTANT_CASE | Constants and environment variables |
Specs & key facts
| Styles | UPPER, lower, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE |
|---|---|
| Title Case rule | Minor words (a, an, the, and, of, in…) stay lowercase mid-title |
| Word splitting | Detects camelCase, underscores, hyphens and spaces |
| Multi-line | Each line converted separately |
| Processing | In your browser (nothing is uploaded) |
| Price | Free, no sign-up |
FAQ
How is Title Case different from capitalizing every word?
Title Case follows headline conventions and keeps minor words such as a, the, of and and lowercase (except the first and last word); "capitalize every word" capitalizes all of them.
How are acronyms like HTTP or ID handled?
Consecutive capitals are treated as one word, so HTTPRequest becomes http_request in snake_case.
What happens to non-Latin text?
Scripts without case, such as Chinese or Japanese, are left unchanged.