Convert Case
Upper/lower/sentence case.
Loading tool…
Text cases and where each belongs
Case conventions carry meaning. Prose uses sentence case. Headlines in many style guides use title case, capitalising principal words but not short articles and prepositions. Programming has its own set: camelCase for JavaScript variables, PascalCase for class names, snake_case for Python and database columns, kebab-case for URLs and CSS classes, and UPPER_SNAKE_CASE for constants.
Converting between them is less mechanical than it looks. Turning a heading into title case requires knowing which words are minor. Turning a phrase into camelCase requires detecting word boundaries that may be spaces, hyphens, or underscores. And uppercasing is language-dependent — the Turkish dotless i and the German sharp s both behave differently from what English rules would predict, which is why naive uppercase functions have caused real bugs.
Why we built this tool
You need this whenever text crosses a boundary: reformatting a headline that arrived in ALL CAPS, converting a spreadsheet column into database field names, fixing a paragraph typed with caps lock on, or generating URL slugs from article titles.
That text is usually unpublished copy or internal data. There is no reason for a case change — pure string manipulation — to involve a network request at all, so ours does not make one. Everything runs in your browser, instantly, with no length limit; the only thing kept is a conversion history in this browser's local storage, which you can clear. It works with the connection off, which is the sort of small reliability that makes a utility worth keeping in a bookmark.
Tips and common mistakes
- Title case rules differ between style guides; check whether yours capitalises short prepositions.
- Acronyms and brand names survive no automatic conversion — fix them by hand afterwards.
- URL slugs should be lowercase kebab-case, with accents transliterated rather than encoded.
- Uppercasing behaves differently in Turkish and German, so avoid it for user-facing text in those languages.
Open Convert Case with a link
Assistants and scripts can open Convert Case with its input already in the link, after the #, which never leaves your device:
#text=— the text to work on
Example: https://mygadgets.ink/tools/convert-case/#text=... · also compressed gz fields and ?url=. How tool links work
Quick start: using Convert Case
- Paste your text into the input above.
- Choose the target case from the options.
- Check the result, especially any acronyms or proper nouns that need to stay as they are.
- Fix those by hand — no automatic converter knows your brand names.
- Copy the converted text.
Clean up spacing afterwards with Remove Extra Spaces, or strip styling with Remove Formatting.
The main case types
- UPPERCASE — every letter capital. For emphasis, acronyms, or constants in code. Reads as shouting in prose, so use sparingly.
- lowercase — every letter small. For a casual tone, or normalizing text before processing.
- Title Case — Major Words Capitalized. For headings, titles, and names.
- Sentence case — Only the first letter capitalized. For normal prose and most body text.
Title case is trickier than it looks
Title case has rules people rarely apply consistently by hand. The convention most style guides follow:
- Capitalize the first and last words, and all major words — nouns, verbs, adjectives, adverbs.
- Lowercase short words in the middle: articles (a, an, the), short conjunctions (and, but, or), and short prepositions (in, on, of, to) — unless they are the first or last word.
So "the lord of the rings" becomes "The Lord of the Rings" — note the lowercase "of" and "the" in the middle but the capital "The" at the start. A converter applies these rules consistently, which is hard to do reliably by eye.
Practical uses
- Fix ALL-CAPS text someone sent by pasting and converting to sentence case.
- Format headings to title case in one step.
- Normalize data to lowercase before comparing or de-duplicating.
- Clean up dictated or OCR'd text with inconsistent capitalization.
A note on data cleaning
Converting to lowercase is a common first step before matching or de-duplicating text, because "Apple" and "apple" are different strings to a computer. Normalize case, then process. Pair with Remove Duplicate Lines after lowercasing to catch case-variant duplicates.
Common uses
- Undo accidental caps lock.
- Format titles and headings.
- Normalize text for processing.
- Standardize inconsistent capitalization.