Case Converter: Change Text Case Instantly

Switch text between upper case, title case, camelCase, snake_case and more.

0 words · 0 characters

About this tool

What you can do here

Paste your text and pick a case. The result appears straight away, ready to copy or download. It handles everyday writing, like Title Case and Sentence case, and code styles such as camelCase, snake_case and kebab-case. Nothing you paste leaves your browser.

Step by step

How the case converter works

Paste text, pick a case and the result appears instantly. It handles plain writing styles (like Title Case) and the naming styles programmers use (like camelCase and snake_case).

  1. 1

    Paste or type your text

    Anything works: a headline, a paragraph, a list of variable names.

    the art of writing well

  2. 2

    Pick a case

    Click one of the buttons. The result updates straight away, and you can switch as often as you like.

    Title Case

  3. 3

    Copy or download

    Copy the result to paste anywhere, or download it as a text file.

    The Art of Writing Well

Quick guide

What each case does

The same sentence, "the quick brown fox", in each style:

CaseResultOften used for
UPPER CASETHE QUICK BROWN FOXWarnings, headings, acronyms
lower casethe quick brown foxTags, email addresses, casual text
Sentence caseThe quick brown foxNormal writing and many headlines
Title CaseThe Quick Brown FoxBook titles, article headlines
camelCasetheQuickBrownFoxJavaScript and Java variables
PascalCaseTheQuickBrownFoxClass names, React components
snake_casethe_quick_brown_foxPython variables, database columns
kebab-casethe-quick-brown-foxURLs, CSS class names, file names
CONSTANT_CASETHE_QUICK_BROWN_FOXConstants and environment variables

Title Case keeps small words like a, the and of in lower case, unless they are the first or last word, as most style guides do.

Example

Cleaning up a headline

You have a headline typed in capitals by mistake, and you need it as a title and as a URL-friendly name.

Original
HOW TO WRITE A GREAT BLOG POST
Title Case
How to Write a Great Blog Post
Sentence case
How to write a great blog post
kebab-case
how-to-write-a-great-blog-post

Why use it

Why use this case converter?

  • Fix text in seconds

    No more retyping text that was written with caps lock on.

  • For writers and developers

    Writing styles and code naming styles are in one place.

  • Smart word splitting

    camelCase and snake_case input is split into words before it is converted, so helloWorld becomes hello_world.

  • Works with any language that has letters

    Accented letters like é and ü are handled correctly.

Good to know

  • Check proper names

    Sentence case and Title Case can't know that iPhone or NASA have their own spelling, so give the result a quick read.

  • Use kebab-case for URLs

    Search engines read hyphens as word breaks, which makes web addresses easier to read than underscores.

  • Convert line by line

    Paste a list of names to convert them all at once. Each line keeps its own break.

FAQ

Questions people ask

How do I change text to title case?

Paste your text, then click Title Case. The first letter of each main word is capitalised. Small words like a, the, and and of stay lower case, unless they come first or last.

What is the difference between Title Case and Capitalize Each Word?

Title Case follows headline rules and leaves small words in lower case. Capitalize Each Word capitalises every word, including small ones.

What is camelCase?

camelCase joins words with no spaces, with a capital letter at the start of each word after the first, like helloWorld. It is common for variable names in JavaScript and Java.

What is the difference between snake_case and kebab-case?

snake_case joins words with underscores, as in hello_world, and is common in Python. kebab-case joins them with hyphens, as in hello-world, and is common in web addresses and CSS.

Is there a character limit?

No set limit. Very large texts may feel slower, because everything runs in your browser.

More free tools

See all tools →