Case Converter
Convert text between 18 styles, from headline title case to developer formats such as camelCase, snake_case and kebab-case, with acronym and brand protection.
Every case style, with examples
Paste text, choose a style and the converted result appears immediately. Styles for ordinary writing: UPPERCASE and lowercase; Capitalize Each Word, which capitalises every word; Title Case, which keeps short words such as a, the, of and to lowercase except at the start, after a colon and at the end; and Sentence case, which capitalises only the first letter of each sentence.
Styles for code and data: camelCase (userAccountId), PascalCase (UserAccountId), snake_case (user_account_id), CONSTANT_CASE (USER_ACCOUNT_ID), kebab-case (user-account-id), Train-Case, dot.case (user.account.id) and path/case. Code styles are applied line by line, so a list of ten field names converts in one go.
Which style should you use?
- Headlines: American style guides favour title case; many modern UK and web publishers prefer sentence case because it reads more conversationally. Pick one and apply it everywhere.
- JavaScript, Java, C#: camelCase for variables and functions, PascalCase for classes and components.
- Python, Ruby, SQL columns: snake_case.
- CSS classes, URLs, file names: kebab-case, because hyphens are treated as word separators by search engines.
- Constants and environment variables: CONSTANT_CASE.
Limits to know about
A tool cannot know that iPhone, NASA or McDonald’s have special capitalisation, so title and sentence case lowercase them. Proofread names, acronyms and brands after converting. Title case also differs between style guides (AP, Chicago, APA, MLA); the small-word list used here is a common middle ground and a good starting point for manual edits.
Title case options
Choose between two rule sets for small words. Short words (AP-like) keeps articles, conjunctions and short prepositions such as a, the, and, of, to lowercase. Chicago-like also keeps longer prepositions such as between or through lowercase. The first and last word and the word after a colon are always capitalised.
Protecting acronyms and brand names
Tick “Keep ALL-CAPS words” and acronyms like NASA or USB survive title, sentence and capitalise-each-word conversions. For brands with unusual capitalisation, list them in the “Always keep as typed” box (for example iPhone, eBay, WordPress) and they are restored exactly as you wrote them.
Extra transformations
Besides case styles you can reverse the characters of the text, reverse the order of the words, or capitalise the first letter of every line, useful for lists copied from notes. The counter under the result shows words and characters so you can see what changed.
Frequently asked questions
What is the difference between Capitalize Each Word and Title Case?
Capitalize Each Word raises the first letter of every word. Title Case follows publishing convention and leaves short articles, conjunctions and prepositions lowercase.
Will it handle accented letters?
Yes. Conversion uses the browser’s Unicode rules, so letters such as é, ñ and ü change case correctly.
Why are my acronyms lowercased?
Sentence and title case lowercase everything first and then capitalise. Re-capitalise acronyms by hand afterwards.
Can I convert many lines at once?
Yes. Code-style conversions run on each line separately, which suits lists of variable or column names.
How do I keep “iPhone” and “NASA” intact?
Tick Keep ALL-CAPS words for acronyms, and add brand names such as iPhone to the “Always keep as typed” list.