Case Converter
Convert text between UPPER, lower, Title Case, Capitalized Case, Sentence case, camelCase, snake_case, kebab-case, and 6 more modes. Live preview, copy, download.
Need a specific publication style? Each guide has its own preposition cutoff, conjunction handling, and article rules:
- Title Case Converter (generic rule: lowercase short prepositions, the default for most editors).
- AP Title Case (newsroom standard, lowercase prepositions of 3 letters or fewer).
- APA Title Case (academic; capitalize words of 4+ letters).
- MLA Title Case (humanities; capitalize principal words, lowercase all prepositions).
- Chicago Title Case (book and journal standard, headline-style capitalization).
How to use the case converter
1. Paste or type your text
Drop the text into the input box on the left. The output box updates live on every keystroke. Nothing leaves your browser; conversion runs locally in JavaScript. To convert only part of the text, pick "Selection only" in the sidebar and select those words in the input box; the rest is copied unchanged.
2. Pick a mode
Click any pill above the input. Basic modes (UPPER, lower, Title, Capitalized, Sentence) handle everyday writing. Capitalized Case capitalizes every word, including short words such as a, of, and the, which Title Case keeps lowercase. Programming modes (camelCase, snake_case, kebab-case, dot.case, PascalCase, CONSTANT_CASE, Path/Case) handle identifiers and slugs. Novelty modes (aLtErNaTiNg, iNVERSE) handle social posts and meme text.
3. Pick a style guide (Title Case only)
When Title Case is the active mode, the sidebar shows a ruleset dropdown. Generic lowercases only articles, short conjunctions, and prepositions of 3 letters or fewer (the default in most editors). AP, APA, MLA, Chicago, and NY Times each handle prepositions, conjunctions, and articles a little differently. Pick the one your publication or class requires. The spoke pages linked above carry the full ruleset for each style.
4. Copy or download
Click Copy to put the output on the clipboard. Click Download to save it as a .txt file. The Quick Swap button moves the output back into the input so you can chain conversions (Title Case, then snake_case, for example).
Case styles explained
Same source sentence, every mode applied. Skim the right column to match a mode to the look you need.
| Mode | Example output | Typical use |
|---|---|---|
| UPPER CASE | THE QUICK BROWN FOX | Headlines, signage, emphasis. |
| lower case | the quick brown fox | Stylistic body text, URLs. |
| Title Case | The Quick Brown Fox | Headlines, book titles, article titles. |
| Capitalized Case | The Quick Brown Fox | Name lists and labels. Unlike Title Case, short words such as of and the are capitalized too. |
| Sentence case | The quick brown fox | Body copy, captions, subheadings. |
| camelCase | theQuickBrownFox | JavaScript, Java variable names. |
| PascalCase | TheQuickBrownFox | Class names, React components, types. |
| snake_case | the_quick_brown_fox | Python, Ruby, database columns. |
| kebab-case | the-quick-brown-fox | CSS classes, URL slugs, HTML attributes. |
| dot.case | the.quick.brown.fox | Config keys, namespaces, version tags. |
| Path/Case | The/Quick/Brown/Fox | URL paths, file paths. |
| CONSTANT_CASE | THE_QUICK_BROWN_FOX | Environment variables, constants. |
| aLtErNaTiNg | tHe QuIcK bRoWn FoX | Social posts, meme text. |
| iNVERSE cASE | THE qUICK bROWN fOX | Swap-case effect, novelty. |
Title case style guides
"Title Case" is not one rule, it is five. Each publication standard treats short words (prepositions, conjunctions, articles) a little differently. Pick the one your editor, professor, or platform expects.
| Style | Preposition rule | Conjunctions | Articles | Spoke page |
|---|---|---|---|---|
| Generic | Lowercase if 3 letters or fewer (of, on, in, to) | Lowercase: and, but, or, nor | Lowercase: a, an, the | Title Case Converter |
| AP | Lowercase if 3 letters or fewer | Lowercase: and, but, or, nor, for, yet, so | Lowercase: a, an, the | AP Capitalization Tool |
| APA | Capitalize words of 4+ letters; lowercase if 3 letters or fewer | Lowercase: and, but, or, nor, for, so, yet, as, if | Lowercase: a, an, the (mid-title) | APA Capitalization Tool |
| MLA | Lowercase all prepositions regardless of length | Lowercase: and, but, for, or, nor, yet, so | Lowercase: a, an, the (mid-title) | MLA Capitalization Tool |
| Chicago | Lowercase if 4 letters or fewer (over, with, from); capitalize 5+ letters (Between, Through), per CMOS 18 | Lowercase: and, but, or, nor, for, so, yet | Lowercase: a, an, the (mid-title) | Chicago Title Capitalization |
| NY Times | Lowercase the short prepositions as, at, by, in, of, on, to | Lowercase: and, but, or, nor, for | Lowercase: a, an, the (mid-title) | Use the ruleset dropdown |
First-word and last-word capitalization is universal across all five styles. The differences live in the middle of the title.
When to use which case
Programming naming conventions
Most languages and frameworks ship with strong conventions. Following them is not just style, it is what linters, IDE auto-imports, and code reviewers expect.
- camelCase: JavaScript variables and functions, Java methods and fields, Swift variables, Kotlin properties.
- PascalCase: class names in most languages, React and Vue components, TypeScript types and interfaces, C# methods.
- snake_case: Python variables and functions, Ruby methods, Rust functions, SQL column names, JSON keys in many APIs.
- kebab-case: CSS classes and custom HTML attributes, URL slugs, npm package names, file names in many static sites.
- CONSTANT_CASE: environment variables (DATABASE_URL), language-level constants (MAX_RETRIES), Makefile variables.
- dot.case: configuration keys (server.port), versioned identifiers (v1.2.3), namespace separators.
Editorial styling
Choosing between Title Case and Sentence case is a brand decision more than a grammar one. Most modern publications (Vox, The Verge, New York Times article body) use Sentence case for clean, scannable reading. Traditional publishing (book covers, academic papers, legal briefs) sticks with Title Case for formal weight. Pick one and apply it consistently across headlines, subheadings, navigation, and CTAs.
Social posts
aLtErNaTiNg case (also called mocking SpongeBob case) signals sarcasm. UPPER CASE for whole sentences reads as shouting. iNVERSE cASE is a novelty effect, useful for memes and rare aesthetic posts. None of these convert well to accessibility software, so use sparingly on professional posts.
Frequently asked questions
Which case style should I use for headlines?
Use Title Case for headlines if your publication or brand style guide says so (most newspapers, books, and academic journals do). Use Sentence case if you want a cleaner, more conversational feel (most modern digital publications do). The case converter handles both, and the Title Case ruleset dropdown lets you pick AP, APA, MLA, Chicago, or NY Times conventions.
Is Title Case case-sensitive?
Mostly not. The converter lowercases each word before applying the title-case rule, so "hello world", "HELLO WORLD", and "Hello World" all convert to "Hello World". The exception is acronyms: when the text also contains lowercase letters, any word typed in all caps (NASA, USA, FBI) is kept as typed. So "HELLO world" gives "HELLO World"; run lower case first if you want it normalized. The MLA and Chicago rulesets also keep words with inner capitals (iPhone, McDonald) and treat each line on its own.
How does this handle apostrophes and hyphens?
Apostrophes inside a word (don't, can't, it's) stay where they are; the letter after the apostrophe stays lowercase (so "don't" in Title Case becomes "Don't", not "Don'T"). Hyphenated words capitalize each part in Title Case under most style guides, except short words inside the compound ("Mother-in-Law", "Twenty-One"); the converter does the same.
Does the case converter support non-English titles?
The conversion is Unicode-safe, so accented characters (á, ü, ñ), Cyrillic, Greek, and other scripts case-convert correctly. The Title Case style rules (preposition lists, conjunction handling) are English-language rules, so they will not apply correctly to Spanish, French, or German titles. For non-English titles, use UPPER, lower, or Sentence case modes, which are language-neutral.
What is the difference between camelCase and PascalCase?
Both compress multi-word identifiers into one continuous string with no spaces. camelCase keeps the first character lowercase (theQuickBrownFox); PascalCase capitalizes the first character too (TheQuickBrownFox). The rule of thumb: camelCase for variables and functions, PascalCase for classes, types, and components.
Why does snake_case differ from CONSTANT_CASE?
snake_case is all lowercase with underscores (the_quick_brown_fox). CONSTANT_CASE is all uppercase with underscores (THE_QUICK_BROWN_FOX). Python uses snake_case for variable and function names, CONSTANT_CASE for module-level constants. The convention exists so readers can tell at a glance whether an identifier is meant to be reassigned (snake_case) or treated as a fixed value (CONSTANT_CASE).
Does the converter handle pasted Microsoft Word content?
Yes. Pasted content from Word, Google Docs, or other rich-text editors often carries hidden characters. The converter turns non-breaking spaces into normal spaces and removes zero-width spaces and soft hyphens before applying case rules. Smart quotes are kept as typed. To straighten quotes or run a fuller cleanup, use the Text Cleaner.
Is the case converter free?
Yes. No signup, no paywall, no character cap on input. Conversion runs entirely in your browser; the text never gets sent anywhere. Your draft is saved in local storage in this browser, so coming back to the page keeps your work.
Related tools
More wordcounter.ai tools
Other tools you might find useful.