Case Converter — Change Text Case Online

Paste text and switch it between thirteen forms with one click: UPPERCASE, lowercase, Sentence case, Title Case, aLtErNaTiNg, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE, plus three clean-up actions that strip double spaces, flatten line breaks or reverse the whole string. Title Case follows real style-guide rules, leaving small words such as of and the lowercase unless they open or close the line. Every change happens in the box so you can chain actions, and an undo button steps you back if you overshoot. Nothing you paste is sent anywhere.

Case Converter

Each button rewrites the text in place. Undo is one click away.

0 characters, 0 words

Change the case
Programming cases
Clean up

Runs fully in your browser. Nothing is uploaded.

How to Use the Case Converter

  1. Paste or type your text into the box. There is no length limit beyond what your browser can hold.
  2. Click any case button. The text in the box is rewritten immediately, so you can see the result rather than a preview.
  3. Chain actions if you need to. Remove line breaks followed by Remove extra spaces turns a messy paste into one clean paragraph.
  4. Press Undo to step back through every change you made, one at a time.
  5. Use Copy result for the clipboard or Download .txt to save a file.

Features

  • Thirteen conversions covering everyday writing, programming identifiers and text clean-up.
  • Style-guide Title Case that keeps articles, conjunctions and short prepositions lowercase inside a line.
  • Programming cases that correctly split words from spaces, hyphens, underscores and existing camelCase.
  • Full undo history, so experimenting costs nothing.
  • Live character and word counts under the box.
  • One-click copy and plain-text download, with no account and nothing uploaded.

About This Tool

Case conversion looks trivial and is not, because the hard part is deciding where one word ends and the next begins. Converting parseHTTPResponse to snake_case means recognising a lowercase-to-uppercase boundary, a run of capitals that forms an acronym, and the capital that starts the next word. This tool splits on spaces, hyphens, underscores and dots, and then on those camelCase boundaries, which is why parseHTTPResponse comes out as parse_http_response rather than parse_h_t_t_p_response.

Title Case is the other case people get wrong. Capitalising every word is not title case; it is start case. Standard English style capitalises the first and last words and everything significant in between, while leaving articles, coordinating conjunctions and short prepositions lowercase. This tool uses a list of about twenty such words, so the rise and fall of the roman empire becomes The Rise and Fall of the Roman Empire, which is what a style guide expects.

Sentence case capitalises the letter after each full stop, question mark or exclamation mark and lowercases the rest. It cannot know that london is a proper noun, so a sentence-case pass over text with names in it will need a manual fix afterwards. That is a limitation of every tool that does this, not just this one.

The clean-up actions are the ones people reach for most often. Pasting from a PDF usually brings hard line breaks mid-sentence and double spaces after full stops; running Remove line breaks and then Remove extra spaces fixes both in two clicks.

Frequently Asked Questions

What is the difference between Title Case and capitalising every word?

Title Case follows style-guide rules: the first and last words are always capitalised, and so is everything meaningful, but short words such as a, the, of, and and in stay lowercase in the middle. Capitalising every word is called start case and looks wrong in a published headline.

How does it handle camelCase input?

It detects the boundary where a lowercase letter meets a capital and splits there, and it handles runs of capitals as acronyms. So getUserID becomes get_user_id in snake_case rather than get_user_i_d.

Can I undo a conversion?

Yes. Every change is pushed onto a history stack and the Undo button steps back one at a time, all the way to your original paste. The history lives in the page and is cleared when you reload.

Is there a length limit?

Not one we impose. The conversions are plain string operations, so a few hundred thousand words convert instantly. Very large pastes are limited only by the memory your browser will give the tab.

Why did Sentence case lowercase a person's name?

Because it has no way to recognise proper nouns. It capitalises the first letter after each sentence-ending mark and lowercases everything else. Names, places and brands need a manual pass afterwards.

Related Tools

Word Counter

Count words and characters live with reading time and keyword density.

Open Word Counter

JSON Formatter

Beautify, minify and validate JSON with exact error line and column.

Open JSON Formatter

Text to Speech

Read text aloud with your system voices and follow the word highlight.

Open Text to Speech

Browse all 20 tools →