Free · Instant · Nothing uploaded

Case converter

Convert text to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, UPPERCASE or lowercase — instantly, in your browser.

0 characters · 0 words

🔒 Your text is converted entirely on your device — never uploaded.

How to convert text case

Type or paste any text, then click a case to transform it in place — ready to copy straight into your code or document.

⌨️

1. Type or paste

Enter a variable name, sentence, or any block of text.

🔤

2. Pick a case

Choose camelCase, snake_case, Title Case and more — one click.

📋

3. Copy the result

Grab it with one click and paste it wherever you need it.

Handy for naming variables and functions (camelCase, PascalCase, snake_case), CSS classes and URL slugs (kebab-case), environment variables and constants (CONSTANT_CASE), or cleaning up headings and titles (Title Case, Sentence case). Word boundaries are detected from spaces, hyphens, underscores and capital letters, so converting text that's already in one case to another just works. Everything runs in your browser, so even proprietary code and identifiers stay private. For more text utilities, try Text Tools or the Word Counter.

Title case is not one convention

There is no single correct title case. The major style guides disagree in specific, consequential ways. Chicago capitalises all major words and lowercases articles, coordinating conjunctions and prepositions regardless of length — so "Through" stays lowercase. AP capitalises prepositions of four letters or more, so AP writes "Through" capitalised and Chicago does not.

APA capitalises words of four letters or more, MLA capitalises all principal words regardless of length. All of them capitalise the first and last word whatever it is, which is the one rule they share.

Sentence case — capitalising only the first word and proper nouns — has become the dominant convention for interface text and increasingly for headlines, because it is easier to read at a glance and has no edge cases to get wrong. If you have no house style, sentence case is the defensible default.

Case is not a simple character mapping

Uppercasing looks trivial and is not. German ß uppercases to SS, so a three-letter word becomes four characters and the transformation is not reversible — lowercasing SS does not restore ß. Turkish has dotted and dotless i as separate letters, so uppercasing i correctly yields İ in Turkish and I in English, and getting this wrong has broken real software in ways that were hard to diagnose.

Greek final sigma changes form depending on position in a word, and some ligatures expand on uppercasing. Locale-aware case conversion exists precisely because the correct answer depends on language, and a naive per-character mapping produces text that is wrong for a substantial number of users.

For programming identifiers there is a related subtlety: converting between camelCase, snake_case and kebab-case requires deciding how to treat acronyms. Does parseHTTPResponse become parse_http_response or parse_h_t_t_p_response? Conventions differ, and round-tripping between styles is not always lossless.

Where all-caps hurts and helps

Text set entirely in capitals is measurably slower to read in continuous prose. Lowercase letters have distinctive ascenders and descenders that give words a recognisable outline, and capitals reduce every word to a uniform rectangle, removing that cue. The effect is small for a two-word label and substantial for a sentence.

It is also a problem for assistive technology. Some screen readers interpret all-caps words as acronyms and spell them letter by letter, so a heading in capitals can be read out as individual letters. The robust approach is to write text normally and apply text-transform: uppercase in CSS, which leaves the underlying text intact for screen readers and for anyone copying it.

Capitals do work for short labels, buttons and small amounts of display type where the aim is emphasis rather than reading. In that context, adding letter-spacing helps, since capitals are designed to be spaced more loosely than lowercase and look cramped at default tracking.

Case converter FAQ

What's the difference between camelCase and PascalCase?

camelCase starts lowercase (helloWorld); PascalCase capitalizes every word, including the first (HelloWorld).

Does it work on text that's already camelCase or snake_case?

Yes — word boundaries are detected from spaces, hyphens, underscores and capital letters, so you can convert directly between any supported case.

Is my text uploaded?

No — conversion happens entirely in your browser.

Which title case rule should I use?

It depends on your style guide — Chicago lowercases all prepositions, AP capitalises those of four letters or more, APA uses a four-letter threshold for all words. If you have no house style, sentence case avoids the question entirely.

Why should I use CSS rather than converting text to uppercase?

text-transform: uppercase keeps the underlying text intact, so screen readers do not spell it out letter by letter and copied text comes out normally. It also avoids irreversible conversions like German ß to SS.