Case Converter — Change text to uppercase, title case, camelCase, snake_case and more.

Paste your text and pick a style: UPPERCASE, lowercase, Sentence case, a proper headline Title Case, or programming styles like camelCase, snake_case and kebab-case. The result updates instantly, keeps your line breaks, and can be copied or downloaded. Your text never leaves your browser.

Convert text Your text stays in your browser
Case converter tool for changing text to uppercase, title case, camelCase and snake_case

Your text

0Characters
0Words
0Lines
0Sentences

Text styles

Programming styles

Result

Choose a style to convert your text.

The guide

Case Converter Guide: Text Styles, Title Case, and Code Naming

Learn what each case style is for, how Title Case decides, and how code styles split words.

A simple explanation

What is a case converter?

A case converter changes the capital and small letters in your text. It saves you from retyping a heading that was typed in capitals, or turning a title into a variable name by hand.

This one has seven text styles, including UPPERCASE, lowercase, Sentence case and a proper Title Case, plus seven programming styles such as camelCase, snake_case and kebab-case. The result updates as you type, keeps your line breaks, and shows live counts of characters, words, lines and sentences. To clean up spacing afterwards, try the Whitespace Remover.

Common reasons to convert

Why People Change Text Case

Writing and editing

Fix headings typed in capitals, normalize article titles, or tidy a pasted document that used inconsistent capitalization.

Coding and data

Turn labels into variable names, database columns, file names, URL slugs and constants without retyping them.

Social posts and design

Make short punchy text in capitals, or playful aLtErNaTiNg text for captions, memes and messages.

See each style

Case Styles With Examples

StyleExample resultTypical use
UPPERCASEHELLO WORLDEmphasis, acronyms, labels
lowercasehello worldNormalizing text, emails, tags
Sentence caseHello world. This is new.Normal writing, UI text
Title CaseThe Quick Brown Fox Jumps Over the Lazy DogHeadlines, article and book titles
camelCasehelloWorldJavaScript, Kotlin and Java variables
PascalCaseHelloWorldClass and component names
snake_casehello_worldPython, Ruby, database columns
kebab-casehello-worldURL slugs, CSS classes, file names
CONSTANT_CASEHELLO_WORLDConstants and environment variables
Convert in a few steps

How to Use the Case Converter

  1. Type or paste your text into the first box, or press Paste.
  2. Choose a style. The converted text appears straight away in the Result box.
  3. Adjust the options if needed, such as converting each line separately for lists of names.
  4. Press Copy result, or Download .txt. Use as input moves the result back to the first box so you can apply another style.
The tricky one

How Title Case Decides What to Capitalize

Capitalized

The first and last word, nouns, verbs, adjectives, adverbs and longer words such as “Over”, “With” and “From”. Each part of a hyphenated word too, as in Well-Known.

Kept small

Short articles, conjunctions and prepositions: a, an, the, and, but, or, for, nor, so, yet, as, at, by, in, of, on, per, to, up, via and vs.

After a colon

The first word after a colon, question mark, exclamation mark, full stop or dash starts a new phrase, so it is capitalized.

Style guides differ

AP, Chicago, APA and MLA each have slightly different rules. This tool follows a common headline style, so check against your own guide if you publish formally.

For developers

How the Programming Styles Split Words

Programming styles first break your text into words, then join them in the new style. Spaces, hyphens, underscores and punctuation all count as breaks, and so does a change from a small letter to a capital. Runs of capitals are treated as one word until the next capitalized word begins, so XMLHttpRequest becomes xml_http_request.

Better results

Simple Tips for Clean Results

  • Convert to lowercase first if the text arrived in all capitals, then choose Sentence case or Title Case.
  • Sentence case cannot know proper nouns. Names, places and brands in the text will need a manual capital afterwards.
  • For lists of names or identifiers, keep the line option on so each line is converted on its own.
  • Check the first and last words of a converted title. Those are always capitalized in Title Case.
  • Use Use as input to chain styles, for example snake_case to UPPERCASE gives CONSTANT_CASE.
Good to know

Limitations and Privacy

Privacy

Your text is converted in your browser. It is never sent to our server or stored. Only your selected style and options are remembered on your device.

Limitations

Sentence and Title Case rules are designed for English. They cannot recognize proper nouns, and some languages, such as Turkish with its dotted and dotless i, follow different capitalization rules.

Common questions

Case Converter FAQ

How do I change text to uppercase or lowercase?

Paste your text in the box and choose UPPERCASE or lowercase. The result appears immediately in the second box, ready to copy.

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

Capitalize Each Word makes the first letter of every word a capital. Title Case follows headline style: small words such as a, the, and, of and to stay lowercase unless they are first or last, and a word after a colon is capitalized.

What is sentence case?

Sentence case capitalizes only the first letter of each sentence, and leaves the rest lowercase, just like normal writing. The tool also capitalizes the word “i” if that option is on.

What are camelCase, PascalCase, snake_case and kebab-case?

They are naming styles for code. camelCase joins words with each word after the first capitalized, PascalCase capitalizes every word, snake_case joins lowercase words with underscores, and kebab-case joins them with hyphens. CONSTANT_CASE is snake_case in capitals.

Can it convert camelCase or snake_case back into normal words?

The programming styles split the existing text into words, including at capital letters, so myHTTPServer becomes my_http_server. To get plain words with spaces, convert to lowercase after replacing the separators with spaces.

Does it work with accented letters and other languages?

Yes. Letters such as é, ü, ñ and Cyrillic or Greek letters are converted correctly. Title Case and the small-word rules are written for English, so other languages may need a manual check.

Will it keep my line breaks?

Yes. Text styles keep every line break. The programming styles convert each line to its own name by default, and you can untick the line option to turn the whole text into a single name.

Why did Title Case leave some words alone?

Words that already mix capital and small letters, such as iPhone, NASA or McDonald, are kept as typed, so brand names are not broken. You can switch this off. If your whole text is in capitals, every word is converted normally.

Is there a limit on text length?

There is no fixed limit. Conversion happens in your browser, so very large texts of millions of characters may feel slow on older phones.

Is my text uploaded or saved?

No. Your text never leaves your browser and is not stored. Only your chosen style and options are remembered for next time.

From people using this tool

Reviews

Loading reviews…
Keep going

More tools in the box

The homepage features dozens more free tools that don't require an API key.

Suggest a tool