- iTechFever Tools
- Text Tools
- Case Converter
Case Converter
Nine ways to recase the same text. Pick one and the result appears underneath, ready to copy, with the original left alone in case you want a different style instead.
Runs entirely in your browser. Your files are never uploaded.
How to use Case Converter
- 1Paste the text you want to change.
- 2Choose a style from the list.
- 3Check the result underneath.
- 4Copy it, or pick a different style to compare.
Nine styles, one idea of a word
Upper, lower, title and sentence case are for prose. The other five are for identifiers: camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE.
All five identifier styles split the input the same way, on spaces, punctuation and at a change from lowercase to uppercase. That last rule is what lets you paste parseHTTPResponse and get parse_http_response back, with the acronym kept whole instead of coming out as p_a_r_s_e.
Title case and the small words
Title case capitalises every word except a short list of articles, conjunctions and prepositions, and it always capitalises the first and last word whatever the list says. So "the lord of the rings" becomes "The Lord of the Rings".
A word already written in capitals is left as it is, which keeps NASA and PDF intact. Style guides disagree about longer prepositions, so if you follow a house style, read the result before you ship it.
What sentence case costs
Sentence case has to lowercase the whole text before it can raise the first letter of each sentence. There is no way around that, and it means an acronym in the middle of a sentence comes back lowercase: "THIS is NASA" turns into "This is nasa". Fixing those by hand afterwards is quicker than fixing a wall of shouting capitals.
Limits
- Sentence case lowercases acronyms along with everything else.
- Title case follows one common style, and house styles differ on words like "via".
- Scripts without capital letters, such as Devanagari or Arabic, pass through unchanged.
- Line breaks are preserved, so a list stays a list.
Frequently asked questions
- How do I fix text I typed with caps lock on?
- Sentence case is usually what you want: it lowercases everything and then capitalises the start of each sentence. Title case is the better choice for a heading that was typed in capitals.
- What is the difference between camelCase and PascalCase?
- Only the first letter. camelCase starts lowercase and PascalCase starts uppercase, so the same words become userFirstName or UserFirstName. Most languages use the first for variables and the second for types or class names.
- Will it keep my line breaks?
- Yes. Every style is applied line by line, so a list of twenty items comes back as twenty lines rather than one run-on string.
- Does title case follow AP or Chicago style?
- Neither exactly. It uses the short list of lowercase words that both agree on, and capitalises everything else. For strict AP or Chicago output, check prepositions of four letters or more, since the two guides treat them differently.