Retyping the same sentence nine different ways to check which naming convention your team uses is a genuinely bad use of five minutes.

Free data tool

Text Case Converter

Paste your text once, get every case format at the same time. Nothing you type is uploaded.

UPPERCASE
lowercase
Title Case
Sentence case
camelCase
PascalCase
snake_case
kebab-case
CONSTANT_CASE
aLtErNaTiNg CaSe

Runs entirely in your browser using JavaScript. Nothing you type or paste here is sent to a server, logged, or stored.

How the programming cases split your words

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE all need to know where one word ends and the next begins. This tool splits on spaces, underscores, hyphens, and existing camelCase boundaries (so myVariableName correctly splits into "my", "Variable", "Name"), then rebuilds each format from those words. That means converting between programming cases, not just from plain sentences, works correctly too.

Text case converter FAQ

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (myVariableName), PascalCase starts with an uppercase letter (MyVariableName). Both remove spaces and capitalize the start of every word after the first, camelCase just keeps that very first word lowercase.

Does this handle text that's already in a different case?

Yes. Paste "myVariableName" or "SCREAMING_SNAKE_CASE" or "kebab-case-text" and it splits on the existing camelCase boundaries, underscores and hyphens first, then rebuilds every format from those words, so converting between programming cases works both ways, not just from plain sentences.

How does Sentence case decide where a new sentence starts?

It capitalizes the first letter of the text, and the first letter after any ".", "!" or "?" followed by a space. It doesn't try to detect abbreviations like "Dr." or "e.g.", so double-check text with a lot of those.

What is aLtErNaTiNg CaSe actually used for?

Mostly for sarcastic or joking text online (sometimes called "mocking case" or "sponge case"). It flips upper and lower case on every letter in sequence, skipping spaces and punctuation so the pattern stays consistent across words.

Is my text uploaded anywhere?

No. Every conversion runs in your browser. Nothing you type or paste is sent to a server, logged, or stored.

Embed this free tool on your site

Paste this where you want the tool to appear. Please keep the credit link — it is how we keep these tools free.

Free text case converter by ANUPRESS

One paste, every format, no guessing which one you need

Most case converters make you pick a target format first, convert, then start over if it turns out you actually needed a different one. This one skips that entirely: paste your text once and every format updates together, so you can just scan down the list and copy whichever row matches what you’re after, whether that’s a database column name, a URL slug, or a properly capitalized headline.

Why camelCase and snake_case need “word splitting” and Title Case doesn’t

Converting into a programming case means first figuring out where one word ends and the next begins, since the final format strips out spaces entirely. This tool splits on existing spaces, underscores, hyphens, and camelCase boundaries, so pasting SCREAMING_SNAKE_CASE or myVariableName converts correctly into every other format, not just plain sentences. Title Case and Sentence case work differently on purpose: they preserve your original punctuation and structure (contractions like “don’t”, periods, commas) rather than rebuilding the sentence from scratch, since flattening real prose into “words” the same way would strip out the punctuation that makes it readable.

Where each format actually gets used

snake_case shows up constantly in Python, SQL column names, and file names on Linux-flavored systems. camelCase is the JavaScript and Java convention for variables and functions. kebab-case is what you’ll want for a URL slug or a CSS class name. CONSTANT_CASE marks a value as a fixed constant in most languages that follow that convention. Title Case belongs in headlines and titles; Sentence case belongs in body text and captions where only the first word (and proper nouns) should be capitalized.