Case Converter

Paste your text once and see every case at the same time. Copy the one you need — your own text is never overwritten, and nothing leaves your browser.

Saved in this browser only. Nothing is sent anywhere.

Prose

UPPERCASE

Nothing to convert yet.

lowercase

Nothing to convert yet.

Title Case

Nothing to convert yet.

Sentence case

Nothing to convert yet.

Capitalize Each Word

Nothing to convert yet.

aLtErNaTiNg

Nothing to convert yet.

Identifiers

camelCase

Nothing to convert yet.

PascalCase

Nothing to convert yet.

snake_case

Nothing to convert yet.

CONSTANT_CASE

Nothing to convert yet.

kebab-case

Nothing to convert yet.

dot.case

Nothing to convert yet.

Vietnamese

No diacritics

Nothing to convert yet.

URL slug

Nothing to convert yet.

What This Tool Does

Paste text once and every case appears at the same time: UPPERCASE, lowercase, Title Case, Sentence case, Capitalize Each Word and aLtErNaTiNg for prose; camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case for identifiers; plus No diacritics and URL slug for Vietnamese.

Nothing is overwritten. Your text stays exactly where you typed it, and each card has its own Copy button, so comparing two cases before choosing takes no clicks at all.

Tip:

Load the sample text to see all fourteen cases at once: the small words stay lowercase inside Title Case, and XMLHttpRequest splits into its parts for the identifier cases. Paste in Vietnamese text instead to see the identifier cases fold its tone marks.

How to Use It

Type directly into the editor, paste from anywhere, or load a .txt, .md, .docx or .pdf file. Set the language to Auto-detect and the tool works out whether it is looking at Latin, Vietnamese or CJK text — or override it if you are converting a name or a fragment too short to detect.

Copy takes the case you want. Copy always converts the whole document, even when the cards are showing a shortened preview.

Need the full breakdown instead of a different case — word count, reading time, keyword density? The Word Counter runs the same text through all of that.

Working with a list rather than prose? Line Tools sorts, deduplicates and joins lines in one pass.

The Fourteen Cases

The prose cases keep your punctuation, line breaks and spacing exactly as they were: only the letters change. The identifier cases throw punctuation away by definition, since a variable name cannot contain it.

Capitalize Each Word and Title Case are different on purpose. Capitalize Each Word capitalizes every word with no exceptions. Title Case applies real typographic rules, so small words stay lowercase in the middle of a title.

Why Vietnamese Is Handled Differently

Vietnamese writes each syllable separately and marks tone with diacritics, which matters twice here.

For Title Case, there is no Vietnamese convention to follow. Applying the English small-word list to Vietnamese produces nonsense, because an, in, so and to are all real Vietnamese syllables — ky thuat an ninh mang would come back as Ky Thuat an Ninh Mang, with a real word left lowercase in the middle of a title. This tool capitalizes every syllable instead, and tells you on the card that the result is mechanical rather than orthographically correct.

For identifiers, the marks have to go, because a variable name is expected to be ASCII. The fold separates each mark from its base letter and removes only the mark, so học sinh giỏi becomes hoc sinh gioi and not hc sinh gii. The letter đ is handled separately, because it is a distinct letter rather than a decorated d.

Identifiers and Slugs Are Not the Same Thing

kebab-case and a URL slug both produce lowercase words joined by hyphens, and they answer different questions. Kebab-case is a naming convention: it keeps whatever letters survive folding, including scripts that have nothing to fold. A slug has to survive being pasted into a URL, so it is restricted to a-z, 0-9 and hyphens.

For English and Vietnamese input the two agree. For Chinese, Japanese or Korean they diverge sharply — and the slug card says so rather than handing back an empty box with no explanation.

Frequently asked questions

Is my text uploaded anywhere?
No. Every conversion runs in JavaScript inside your own browser tab, and the page keeps working with your network disconnected once it has loaded. If you leave Autosave on, your text is stored in your browser's own local storage on your device — press Clear and it is gone.
Why do the identifier cases remove Vietnamese accents?
Because an identifier is meant to be typed, imported and matched by tools that mostly assume ASCII. Folding học sinh giỏi to hocSinhGioi is what people actually want from a variable name. The fold is done properly: the tone mark is separated from its base letter and dropped, so the letter survives. Naive tools drop the whole letter and hand back hcSinhGii. If you want your text without accents but otherwise untouched, use the No diacritics card, which changes nothing else.
Why is Vietnamese Title Case not really correct Vietnamese?
Vietnamese has no Title Case convention. English capitalizes the significant words of a title and lowercases articles and prepositions; Vietnamese capitalizes the first word of a sentence and proper nouns, and that is all. So when the text is Vietnamese this tool capitalizes every syllable mechanically and says so on the card. It is useful for a slide heading or a logo, but it is not Vietnamese orthography — for that, use Sentence case.
What is the difference between kebab-case and a URL slug?
They look identical for English and Vietnamese text and are not the same rule. Kebab-case keeps whatever survives diacritic folding, so a Chinese phrase stays Chinese. A slug has to be safe inside a URL path, so it keeps only a-z, 0-9 and hyphens and drops everything else. A Chinese slug therefore comes out empty, and the card tells you why instead of pretending.
Which Title Case convention does this follow?
Chicago style: articles, coordinating conjunctions and prepositions stay lowercase no matter how long they are, and the first and last word of every sentence is always capitalized. That is why with is lowercase in Gone with the Wind but capitalized in With Great Power. AP style differs — it capitalizes prepositions of four letters or more — so a headline desk following AP will want a different result for exactly one class of word.
What happens with very long text?
Two announced thresholds. Past 20,000 characters the cards preview the first 4,000 characters instead of the whole document, cut at a word boundary, and a band above the rail says so. Past 2,000,000 characters no preview is built at all. In both cases Copy still converts the entire text — the preview is a display limit, never a conversion limit.