✍️ Text & Writing

Case Converter

Paste text and switch it to any letter case with one click.

  • 9case styles
  • 1 clickconversion
  • Code casescamel, snake, kebab
  • Line by linefor lists

How to use the Case Converter

  1. 1

    Paste your text

    Any amount — a sentence, an article or a list of names.

  2. 2

    Click a case

    UPPERCASE, lowercase, Title, Sentence, camel, Pascal, snake, kebab or aLtErNaTe.

  3. 3

    Check the result

    The text in the box changes instantly.

  4. 4

    Copy

    Press Copy result and paste it anywhere.

Features

Everyday cases

Upper, lower, Title and Sentence case.

Programming cases

camelCase, PascalCase, snake_case and kebab-case.

Splits camelCase

userAccountId → user_account_id.

Line by line

Convert whole lists of labels or column names.

Caps Lock fix

Sentence case repairs text typed in capitals.

Private

Your text stays in your browser — nothing is uploaded or stored online.

Who uses it — and for what

Writers and editors

Consistent headline capitalisation.

Developers

Rename variables and database columns.

Spreadsheets

Tidy names and product titles.

SEO

kebab-case slugs for URLs.

Which case to use where

  • Title Case — headlines, blog titles and book names.
  • Sentence case — normal text, email subjects and UI labels.
  • camelCase / PascalCase — JavaScript variables and class names.
  • snake_case — Python variables and database columns.
  • kebab-case — URLs, file names and CSS classes.

Fixing text typed with Caps Lock on

Paste the text and press Sentence case. Every sentence starts with a capital and the rest becomes lowercase, and a lone “i” becomes “I”. Proper nouns such as names, cities and brands will need a quick manual fix, because no tool can know which words are names.

Converting code identifiers

The programming cases work line by line, so you can paste a whole list of column names or labels and convert them in one go. “Customer first name” becomes customerFirstName, customer_first_name or customer-first-name. Existing camelCase is split back into words first, which means you can also turn userAccountId straight into user_account_id when moving between JavaScript and Python or SQL.

Title Case rules

Style guides differ slightly, but most keep short articles, conjunctions and prepositions (a, an, the, and, of, in, on) lowercase unless they start the title — as in “It Was a Great Day” above. Capitalise the first and last words and all nouns, verbs, adjectives and adverbs.

Where the automatic rules need a human

  • After a colon. Small words stay lowercase anywhere but the start, so “the lord of the rings: the return of the king” becomes “The Lord of the Rings: the Return of the King”. Most style guides capitalise the first word of a subtitle; fix it by hand.
  • Abbreviations. Sentence case starts a new sentence after any full stop followed by a space, so “e.g. the bus” becomes “E.g. The bus”.
  • Mixed-case names. iPhone, eBay, McDonald and YouTube lose their inner capitals in Title and Sentence case.
  • Accents in identifiers. kebab-case keeps letters such as é, so “Café déjà vu” becomes café-déjà-vu. For a web address use the Slug Generator, which converts accents to plain letters.

Letters that change length or language

Case rules are not the same in every language, and the converter uses your browser’s standard Unicode mappings. German ß has no single capital in everyday use, so “straße” in UPPERCASE becomes “STRASSE” — one letter longer. Turkish has dotted and dotless i: lowercasing “İstanbul” with the general rules gives an i followed by a combining dot, which looks odd in Turkish text. Scripts such as Devanagari, Arabic, Chinese and Tamil have no capitals at all, so only the Latin words in mixed text change. Alternating case counts only letters, so “hi, you 2!” becomes “hI, yOu 2!” with the comma, space and digit skipped.

Worked examples

“the QUICK brown fox. it was a GREAT day”

Sentence case → The quick brown fox. It was a great day
Title Case → The Quick Brown Fox. It Was a Great Day

“customer first name”

camelCase customerFirstName · snake_case customer_first_name · kebab-case customer-first-name

From JavaScript to Python

userAccountId → snake_case user_account_id

Acronyms in titles and code

“an e-mail from my iPhone about NASA” → Title Case gives An E-Mail From My Iphone About Nasa. Every word is lowercased before its first letter is capitalised, so brand spellings and acronyms flatten, and a hyphen starts a new word. The same flattening affects code: XMLHttpRequest → snake_case xmlhttp_request and getHTTPResponse → kebab-case get-httpresponse, because a run of capitals is treated as one word.

Symbols and numbers in identifiers

“Order ID (₹)” → snake_case order_id: brackets and the rupee sign are dropped because only letters and digits form words. “version 2 api key” → camelCase version2ApiKey and PascalCase Version2ApiKey — a number is a word of its own but gets no capital.

Pro tips

  • Fix names and brands by hand after Sentence case.
  • Use kebab-case for file names to avoid spaces in URLs.
  • Use the Slug Generator for full URL-friendly slugs.
  • Turn a column of database names into code in one go: “first_name”, “last_name” and “date_of_birth” on separate lines become firstName, lastName and dateOfBirth.
  • For acronym-heavy identifiers, convert first, then restore the acronym by hand — it is quicker than retyping the whole name.

Glossary

camelCase
Words joined, each after the first capitalised: myVariable.
PascalCase
Every word capitalised and joined: MyClass.
snake_case
Words in lowercase joined with underscores.
kebab-case
Words in lowercase joined with hyphens.
Screaming snake case
Uppercase words joined by underscores, such as MAX_RETRIES, common for constants; make it with snake_case followed by UPPERCASE.
Case folding
Mapping text to a single case so it can be compared regardless of capitals.

Frequently asked questions

Does Title Case keep small words lowercase?

Yes. Short words such as “and”, “of”, “the” and “in” stay lowercase unless they start the title.

Is there a limit on text length?

No fixed limit — it works on long documents because everything runs in your browser.

Can I undo a conversion?

Use Ctrl+Z in the text box, or paste the original again.

Does it work with Hindi?

Hindi has no capital letters, so case changes only affect Latin letters.

Why did “iPhone” become “Iphone”?

Title Case lowercases each word before capitalising its first letter, so inner capitals in brand names and acronyms are lost. Correct those words manually afterwards.

How do I get CONSTANT_CASE for constants?

Click snake_case first and then UPPERCASE. The underscores stay and every letter becomes a capital.

Found it useful? Share the Case Converter:

Last updated 2026-11-28 · Built by Vinayak Agarwal · Part of Text & Writing (36 tools)