🔤 Case Converter

A case converter for every case at once — sentence, title (AP and Chicago), camelCase, PascalCase, snake_case, kebab-case — updating as you type.

Free No Signup Required Browser-Based

Every conversion updates as you type. Nothing is uploaded — this runs in your browser.

lower case
Everything lowercase
the quick brown fox jumps over the lazy dog
UPPER CASE
Everything uppercase
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
Sentence case
Capital after . ? ! and each line
The quick brown fox jumps over the lazy dog
Capitalized Case
Every word capitalized, no exceptions
The Quick Brown Fox Jumps Over The Lazy Dog
Title Case (Chicago)
Every preposition stays lowercase
The Quick Brown Fox Jumps over the Lazy Dog
Title Case (AP)
Prepositions of 4+ letters are capitalized
The Quick Brown Fox Jumps Over the Lazy Dog
aLtErNaTiNg cAsE
Alternates on each letter
tHe QuIcK bRoWn FoX jUmPs OvEr ThE lAzY dOg
InVeRsE CaSe
Swaps the case of every letter
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
camelCase
First word lowercase, the rest capitalized
theQuickBrownFoxJumpsOverTheLazyDog
PascalCase
Every word capitalized, joined
TheQuickBrownFoxJumpsOverTheLazyDog
snake_case
Lowercase, underscores
the_quick_brown_fox_jumps_over_the_lazy_dog
CONSTANT_CASE
Uppercase, underscores
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
kebab-case
Lowercase, hyphens — the URL slug form
the-quick-brown-fox-jumps-over-the-lazy-dog
Train-Case
Capitalized, hyphens — HTTP header style
The-Quick-Brown-Fox-Jumps-Over-The-Lazy-Dog
dot.case
Lowercase, dots
the.quick.brown.fox.jumps.over.the.lazy.dog

What Case Converter Does

Changing case looks like a solved problem until you try to define "title case". Capitalizing every word is easy and is not what a publisher does — real title case leaves articles, conjunctions and short prepositions in lowercase, which is why the book is "The Lord of the Rings" and not "The Lord Of The Rings".

It gets more interesting than that, because the two dominant American style guides disagree with each other. Chicago keeps every preposition lowercase however long it is. Associated Press style capitalizes any word of four letters or more. So the same film is "Gone with the Wind" under Chicago and "Gone With the Wind" under AP, and both are correct. This tool produces both, which no other converter does.

The developer cases have their own rules and their own trap. Converting to camelCase means finding word boundaries, and a converter that lowercases the text first destroys the boundaries that were already there — "HelloWorld" collapses to "helloworld" instead of becoming "helloWorld". Getting that right means understanding camelCase input, acronyms like HTTPServer, digits and separators before doing anything.

Every conversion here updates as you type and runs in your browser, and each one is explained below so you can tell which you actually need.

How to Use Case Converter

  1. Paste or type your text in the box
  2. Every case is generated at once and updates as you type
  3. Compare the two Title Case options if you are writing to a style guide
  4. Press Copy next to whichever result you want

Formula Used by Case Converter

Title case, in rules

Capitalize everything except minor words — unless the minor word is first or last

Minor words
Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and prepositions
The disagreement
Chicago lowercases all prepositions; AP capitalizes those of four letters or more

Worked example

"gone with the wind"

  1. "gone" is first, so capitalize
  2. "with" is a 4-letter preposition — the guides differ
  3. "the" is an article, lowercase
  4. "wind" is last, capitalize

Result: Chicago: Gone with the Wind · AP: Gone With the Wind

Finding word boundaries

Split on separators, and also between a lowercase letter and an uppercase one

lower→upper
fooBar becomes foo | Bar
Acronym rule
A run of capitals followed by a capital-plus-lowercase splits: HTTPServer becomes HTTP | Server

Worked example

Converting "HTTPServerError" to snake_case

  1. Split on the acronym boundary: HTTP | ServerError
  2. Split lower→upper: HTTP | Server | Error
  3. Lowercase and join with underscores

Result: http_server_error — not the httpservererror a naive converter produces

Sentence case boundaries

Capitalize at the start, after . ? or !, and after each line break

Why all three
Breaking only on "." leaves questions and exclamations lowercase

Worked example

"hello. really? yes! ok"

  1. Lowercase everything
  2. Capitalize the first letter
  3. Capitalize after each of . ? !

Result: Hello. Really? Yes! Ok

Every conversion on one string

The input is "the quick brown fox". Note that Capitalized Case and the two Title Cases give three different answers to what sounds like one question.

CaseResultWhere it is used
lower casethe quick brown foxNormalizing input, tags
UPPER CASETHE QUICK BROWN FOXHeadings, emphasis, constants
Sentence caseThe quick brown foxBody text, UI labels
Capitalized CaseThe Quick Brown FoxNames, some headings
Title Case (Chicago)The Quick Brown FoxBooks, academic writing
Title Case (AP)The Quick Brown FoxJournalism, press releases
camelCasetheQuickBrownFoxJavaScript, Java, C# variables
PascalCaseTheQuickBrownFoxClass and component names
snake_casethe_quick_brown_foxPython, Ruby, database columns
CONSTANT_CASETHE_QUICK_BROWN_FOXConstants, environment variables
kebab-casethe-quick-brown-foxURLs, CSS classes, file names
Train-CaseThe-Quick-Brown-FoxHTTP headers
dot.casethe.quick.brown.foxConfig keys, namespaces

Where AP and Chicago diverge

Only prepositions are in dispute. Articles and coordinating conjunctions stay lowercase in both, and a minor word that begins or ends the title is always capitalized.

Word typeChicagoAPExample
Articles — a, an, thelowercaselowercaseA Tale of Two Cities
Conjunctions — and, but, orlowercaselowercaseThe Sound and the Fury
Prepositions of 1–3 letterslowercaselowercaseOut of Africa
Prepositions of 4+ letterslowercaseCapitalizedGone with / With the Wind
Any minor word, first or lastCapitalizedCapitalizedNothing to Look At
Existing acronymsleft aloneleft aloneThe NASA Report

Which case for which job

These are conventions, not preferences — code review comments about them are about consistency with the surrounding language.

ContextConventionWhy
URL slugkebab-caseSearch engines read hyphens as word separators, underscores as joiners
CSS classkebab-caseMatches CSS property naming
Python / Ruby variablesnake_caseLanguage style guides (PEP 8)
JavaScript variablecamelCaseLanguage convention
Class or React componentPascalCaseDistinguishes types from values
Environment variableCONSTANT_CASELong-standing shell convention
HTTP headerTrain-CaseContent-Type, X-Request-Id

How to Read Your Result

Capitalized Case and Title Case are not synonyms

This is the distinction most converters blur and the one that matters if anything you write will be edited. Capitalizing every word is a mechanical operation; title case is an editorial one that depends on each word's part of speech. "The Lord Of The Rings" is not a stylistic variant of the correct form, it is simply wrong in every major style guide. If you are writing headlines, book titles, or anything that goes past an editor, you want title case.

The same word can be a preposition or not

Rule-based title casing has a real limit: parts of speech are contextual. "Up" is a preposition in "Look up the Answer" and part of a phrasal verb in "Turn Up the Volume", where most guides capitalize it. No word list can tell those apart, so any automatic title caser — including this one — will occasionally lowercase a word that should be capitalized. Treat the output as a strong first pass on anything being published.

Hyphens and underscores are not interchangeable in URLs

Google has been explicit about this for years: hyphens separate words in a URL, underscores join them. So /blue-widgets is read as two words and can rank for "blue widgets", while /blue_widgets is read as the single token "blue_widgets". For anything that appears in a URL, kebab-case is the right answer and it is not merely a style preference. The same reasoning does not apply to code, where underscores are simply a language convention.

Case conversion is not always reversible

Uppercasing loses information you cannot recover: "US" and "us" both become "US", and lowercasing them both gives "us". Acronyms are the usual casualty — run a sentence containing NASA or HTML through lower case and no converter can put the capitals back, because the knowledge of which words were acronyms is gone. Keep the original if you might need it, and prefer conversions that preserve rather than flatten, which is why this tool leaves existing all-caps acronyms alone in title case.

Casing is language-dependent

Turkish has a dotted and a dotless i, and lowercasing "I" correctly gives "ı" in Turkish and "i" in English. German ß uppercases to SS. Many scripts — Chinese, Japanese, Arabic, Hebrew, Devanagari — have no case at all, so a case conversion leaves them untouched. This tool uses locale-aware casing rather than the naive ASCII kind, and preserves non-ASCII characters through the separator-based conversions rather than stripping them.

Why every conversion is shown at once

The competing tools make you pick a conversion and press a button, which means comparing two options requires two clicks and a mental note. Showing all of them live makes the comparison the default — and the comparison is the useful part, because the question people actually have is usually "which of these is the one I want" rather than "apply this specific transformation".

Limitations & Accuracy Notes

  • Title case is rule-based and cannot resolve parts of speech from context. Phrasal verbs like "Turn Up the Volume" may be lowercased where a style guide would capitalize them.
  • Only AP and Chicago conventions are offered. MLA, APA and house styles differ in details — APA, for instance, capitalizes all words of four or more letters including conjunctions.
  • Sentence case detects boundaries at . ? ! and line breaks. Abbreviations containing a period, such as "Dr." or "e.g.", will trigger a capital on the following word.
  • The developer cases discard the original separators by design. Converting to snake_case and back to the original punctuation is not possible.
  • Casing follows your browser's locale rules. Text in a language your browser is not set to may cast edge-case letters differently — the Turkish dotless i being the classic example.
  • Scripts without case, including Chinese, Japanese, Arabic and Hebrew, are unchanged by the case conversions, which is correct rather than a failure.

Frequently Asked Questions

What is the difference between Title Case and Capitalized Case?
Capitalized Case capitalizes every word without exception. Title Case follows a style guide, which leaves articles, conjunctions and short prepositions lowercase unless they are first or last — so "the lord of the rings" becomes "The Lord Of The Rings" in one and "The Lord of the Rings" in the other. The second is what a publisher would print.
Why do AP and Chicago title case differ?
They disagree about prepositions. Chicago lowercases every preposition regardless of length; AP capitalizes any word of four letters or more. That is why "gone with the wind" is "Gone with the Wind" under Chicago and "Gone With the Wind" under AP. Both are correct under their own rules, and this tool shows both.
Which case should I use for a URL slug?
kebab-case — lowercase words joined by hyphens. Google treats hyphens as word separators and underscores as joiners, so "blue-widgets" reads as two words and "blue_widgets" reads as one. Use hyphens for anything that appears in a URL.
When would I use snake_case rather than camelCase?
It is a language convention rather than a preference. Python and Ruby use snake_case for variables and functions; JavaScript, Java and C# use camelCase; class names in most of them use PascalCase; SQL and environment variables use CONSTANT_CASE. Follow whatever the surrounding code does.
Will this handle accents and non-English text?
Yes. Conversions use locale-aware casing and Unicode-aware word splitting, so "café" stays "café" through snake_case rather than losing the accent. Note that some scripts have no concept of case at all, in which case those conversions simply leave the text unchanged.
Is my text sent anywhere?
No. Every conversion happens in your browser as you type. You can disconnect from the internet and the tool keeps working.

References & Further Reading

By OnlineToolHubs Team • September 2026