Retyping text because the caps lock was on, or renaming a variable from one naming style to another, is tedious work that a machine does better. This converter takes whatever you paste and rewrites it in the case style you pick. Editors use it to fix headlines and shouted emails. Developers use it to move names between code conventions, such as turning "user profile image" into userProfileImage or user_profile_image. It handles ordinary prose and identifiers alike.
How to change the case of your text
- Paste or type the text into the input box. A single word, a sentence, a heading or a long block all work.
- Choose the style you need from the list of buttons. The result appears right away.
- Read the output before using it, particularly for Title Case and Sentence case, where names and acronyms may need a manual touch.
- Copy the converted text, or press another style to try a different convention on the same input.
- If you want to continue from a result, move it back to the input and convert again; conversions between code styles work best from plain words.
Options explained
For writing
- UPPERCASE makes every letter a capital. Good for short labels and warnings, tiring for anything longer.
- lowercase removes all capitals, handy for normalising tags, email addresses or pasted text before comparing it.
- Title Case capitalises the first letter of each word, the usual shape for headlines and book titles. Style guides differ on small words like "of" and "the", so check against yours.
- Sentence case capitalises the first letter of each sentence and lowers the rest. It rescues text typed in all capitals.
- aLtErNaTiNg swaps between lower and upper letter by letter. It is a joke style, useful for memes and little else.
For code and file names
- camelCase joins words with no separator and capitalises every word except the first: myVariableName. Common for variables and functions in JavaScript and Java.
- PascalCase is the same but the first word is also capitalised: MyClassName. Typical for class and component names.
- snake_case uses lowercase words joined by underscores. It is the norm in Python and many database columns.
- kebab-case uses lowercase words joined by hyphens. It suits URLs, CSS class names and file names.
- CONSTANT_CASE uses uppercase with underscores, the usual style for constants and environment variables.
Tips and common problems
Acronyms need a second look. Converting "NASA report" to Title Case or Sentence case may give "Nasa Report". Fix known acronyms and proper names by hand afterward.
Code styles split on spaces and symbols. For the programming styles, input like "hello world example" turns out cleanly. Words already in camelCase or PascalCase are split automatically, so XMLHttpRequest becomes xml_http_request in snake_case.
Non-English letters are handled by the browser. Accented Latin letters and Greek or Cyrillic have upper and lower forms and convert correctly. Arabic and Hebrew have no letter case, so the writing styles leave them unchanged.
The Turkish dotted and dotless i is a known snag. Standard conversion follows general Unicode rules, so a Turkish text may need its "i" letters corrected afterward.
Use sentence case to repair shouted text. Pasting an all-caps paragraph and choosing Sentence case is far quicker than retyping, but proper nouns will be lowercased and need capitals restored.
Tidy the lines first if the text is messy. Duplicate or blank lines are best removed with Line tools before converting a list of names. To see exactly what changed afterward, compare both versions with Text diff.
Your files stay on your device
The conversion is plain text processing carried out by your browser, so what you paste is not transmitted or stored. It is safe for unpublished headlines, internal names and code you do not want leaving your machine. Nothing needs to be downloaded to run it. How it works explains the approach across the whole site.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Only the first letter. camelCase starts lowercase (fileName), while PascalCase starts with a capital (FileName). Languages and teams usually reserve one for variables and the other for types or components.
Does Title Case skip small words like "and" or "of"?
Basic converters capitalise every word, and you should assume this one does the same. Many style guides want small words left lowercase, so review headlines manually before publishing.
Can I convert a whole document?
Yes, paste as much text as you like, and paragraph breaks are kept. For files, copy the text across rather than uploading; nothing is read from disk by this tool.
Why did my snakecase result come out strange?
Usually the input contained punctuation or was already joined together. Separate the words with spaces, remove stray symbols and run it again.
Will it change numbers or symbols?
No. Digits and punctuation have no case, so they stay as they are. Code styles may remove spaces and punctuation between words because those are the separators being replaced.
Is there a limit on the text length?
There is no built-in limit. Extremely large pastes may feel slower since all processing happens in your browser.