Case Converter
Change text between uppercase, lowercase, title case, sentence case, and programmer cases like camelCase and snake_case — instantly, in your browser.
Case Converter
Everything runs in your browser — your text is never sent to a server.
What Is a Case Converter?
A case converter changes the capitalization of text from one style to another. Paste in a sentence, a paragraph, or a whole document, pick the style you want, and the tool rewrites every word in that style. It is the fastest way to fix text that arrived in the wrong case — an email subject typed in all caps, a headline pasted from a spreadsheet, or a block of text typed with Caps Lock on by accident.
This converter supports ten styles. Uppercase turns every letter into a capital: HELLO WORLD. Lowercase does the opposite: hello world. Sentence case capitalizes only the first letter of each sentence, the way ordinary writing works. Title case capitalizes most words, the way book and article titles are written. Capitalized case capitalizes the first letter of every word. Alternating case flips upper and lower letter by letter. Inverse case swaps whatever case each letter already has. And the three programmer styles — camelCase, snake_case, and kebab-case — turn phrases into the single-word identifiers used in code, file names, and web addresses.
Everything happens in your browser. The text you paste never leaves your device, so you can safely convert drafts, internal documents, or anything else you would rather not upload to a server.
How to Use This Case Converter
Paste or type your text into the top box, choose the case from the dropdown, and the converted text appears in the result box immediately. There is no button to press for the conversion itself — the result updates as you type, so you can try several styles in seconds and pick the one that looks right. When you are happy with the result, use the Copy result button to put it on your clipboard.
If your text is long, the converter handles it the same way it handles a single word: the whole block is converted at once, preserving line breaks, punctuation, and numbers. Only letters change case; digits, symbols, and spacing stay exactly where they were, except in the programmer styles, which remove spaces and punctuation by design.
The Ten Case Styles, Explained
Uppercase (ALL CAPS). Every letter becomes a capital. Use it for short labels, warning signs, and headings that need to shout. Avoid it for long passages: studies of reading speed consistently find that all-caps text is slower and harder to read than mixed case, because readers recognize word shapes partly from the pattern of ascenders and descenders that capitals remove.
Lowercase. Every letter becomes small. It is the standard for email addresses, domain names, and most file paths, where capitals can cause mismatches. It also fixes text that was typed with Caps Lock stuck on.
Sentence case. Only the first letter of each sentence is capitalized, plus the letter after a period, question mark, or exclamation mark. This is the default style for ordinary prose, and it is the right choice when you are cleaning up text that was typed in all caps and want it to read normally again.
Title case. Most words are capitalized, but short connecting words — a, an, the, and, but, or, for, nor, on, at, to, by, in, of, with, as — stay lowercase unless they are the first or last word of the title. So "the lord of the rings" becomes "The Lord of the Rings". This matches the title-case rules used by major style guides such as the Chicago Manual of Style and the Associated Press, which agree on the small-word rule even though they differ on a few details.
Capitalized case. Every word starts with a capital letter, including the small words that title case leaves alone: "The Lord Of The Rings". It is common in user interfaces, form labels, and some headline styles, though it is less standard than title case for published titles.
Alternating case. Letters alternate between upper and lower: "HeLlO wOrLd" (spaces and punctuation do not break the pattern). It has no formal use — it is a joke style used in memes and social media to suggest a mocking tone — but it is fun, and doing it by hand for a long sentence is tedious enough that a converter earns its keep.
Inverse case. Every capital becomes lowercase and every lowercase becomes a capital. It is the quickest fix for text typed with Caps Lock on, provided the text was meant to be in sentence case: "hELLO WORLD" becomes "Hello world" in one step.
Programmer Cases: camelCase, snake_case, kebab-case
Programmers need ways to write multi-word names without spaces, because most programming languages and URLs do not allow spaces in identifiers. Three conventions dominate, and they are named after their shapes.
camelCase joins words with no separator and capitalizes each word after the first: "helloWorldExample". The capital letters in the middle look like the humps of a camel. It is the standard for variables and functions in JavaScript, Java, and C#. A variant with the first letter capitalized too — "HelloWorldExample" — is called PascalCase or UpperCamelCase and is used for class names.
snake_case joins words with underscores and uses all lowercase letters: "hello_world_example". It is the standard in Python, Ruby, and many database column names. A version in all capitals — "HELLO_WORLD_EXAMPLE", sometimes called SCREAMING_SNAKE_CASE — is used for constants.
kebab-case joins words with hyphens: "hello-world-example". It is the standard for URLs and CSS class names, because web addresses cannot contain spaces or underscores in the path the way they can elsewhere, and hyphens are the separator search engines treat as a word break. Google has long recommended hyphens over underscores in URLs.
This converter also handles input that is already in one of these styles. Feed it "helloWorldExample" and ask for kebab-case, and it detects the capital-letter boundaries and produces "hello-world-example". Feed it "hello_world_example" and ask for camelCase, and it produces "helloWorldExample".
Worked Example
Suppose you copied a headline from a spreadsheet and it reads "how to train your dragon". In title case it becomes "How to Train Your Dragon" — note that "to" and "your" are treated differently: "to" is a small word and stays lowercase, while "your" is capitalized. In sentence case it becomes "How to train your dragon". In camelCase it becomes "howToTrainYourDragon", in snake_case "how_to_train_your_dragon", and in kebab-case "how-to-train-your-dragon". The same twelve words, five different jobs done.
Now suppose a colleague emailed you a paragraph typed entirely in caps: "PLEASE REVIEW THE ATTACHED REPORT. THE DEADLINE IS FRIDAY." Sentence case turns it into "Please review the attached report. The deadline is Friday." — two sentences, each correctly capitalized, in one paste. That is the most common real-world use of a case converter, and it takes about five seconds.
Tips for Clean Results
Check proper nouns after converting. No case converter can know that "paris" is a city and "march" is sometimes a month. After converting all-caps text to sentence case, scan for names, places, and brand names that need their capitals back. The converter gives you a clean starting point, not a finished edit.
Use title case for titles, sentence case for everything else. Title case signals "this is a heading". Using it for whole paragraphs looks wrong and slows readers down. Conversely, a title in sentence case ("How to train your dragon") looks informal — fine for a blog, wrong for a formal report.
Be consistent within a document. If your headings use title case, use it for all of them. Mixed heading styles are one of the fastest ways to make a document look unpolished, and a converter makes consistency cheap.
Common Mistakes to Avoid
The most common mistake is converting text and then forgetting to proofread it. Automated conversion is exact about letters and blind about meaning: it will happily lowercase the "I" in "iPhone" or the "Mc" in "McDonald" if the input was all caps. Always give converted text one read-through before publishing it.
The second mistake is using uppercase for emphasis in long text. Capitals read as shouting online, and they slow reading. For emphasis, use bold text or italics instead, and keep capitals for short labels and headings.
Finally, do not use a case converter to disguise copied text. Changing "the quick brown fox" to "The Quick Brown Fox" does not make it your own writing. Case is formatting, not authorship.
Frequently Asked Questions
What is the difference between title case and capitalized case?
Title case leaves short words like a, the, and, and of lowercase unless they start or end the title ("The Lord of the Rings"), while capitalized case capitalizes every word ("The Lord Of The Rings"). Title case is the standard for published titles.
How do I fix text typed in ALL CAPS?
Paste it into the converter and choose sentence case, which capitalizes only the first letter of each sentence. Then scan the result for proper nouns like names and places, which need their capitals put back by hand.
What is camelCase used for?
camelCase joins words with no spaces and capitalizes each word after the first (helloWorldExample). It is the standard naming style for variables and functions in JavaScript, Java, and C#.
Should I use hyphens or underscores in a URL?
Hyphens (kebab-case). Search engines treat hyphens as word separators, so "how-to-train-your-dragon" is read as separate words, while underscores are treated as part of a single word.
Is my text sent to a server when I use this converter?
No. The conversion runs entirely in your browser with JavaScript, so your text never leaves your device. You can use it on private or sensitive text without worry.