Skip to content
FastUtil
Menu
Text & Writing Tools

Case Converter

Switch text between UPPER, lower, Title, Sentence, camelCase, snake_case, kebab-case and more.

Writing

Programming

Just for fun

Tip: converting is applied to the text as it currently stands, so you can chain conversions. Edit the box to start from your own wording again.

Private by design: this tool runs entirely in your browser. What you type is not uploaded to our servers.

About this case converter

Retyping text because the capitalisation is wrong is tedious. This case converter changes your text between UPPERCASE, lowercase, Title Case, Sentence case and the naming styles programmers use: camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Paste your text, press a button, copy the result.

It works in your browser, supports accented letters, and keeps your line breaks.

How to use it

  1. Type or paste your text into the box.
  2. Press the case you want, such as Title Case or snake_case. The text in the box is converted in place.
  3. Press another button to convert again, or edit the text to start over.
  4. Copy the result or download it as a .txt file.

Writing cases explained

UPPERCASE and lowercase simply change every letter. Sentence case capitalises the first letter of each sentence and the pronoun “I”, and leaves everything else in lower case, which suits body text and many headings. Title Case capitalises the first letter of each word, which is common for headlines and book titles. Because proper nouns and acronyms are not detected, check names such as “iPhone” or “NASA” after converting.

Style guides differ on titles. Many (including AP, Chicago and APA, in different ways) keep short articles, conjunctions and prepositions such as “a”, “the”, “of”, “and” and “in” lower case unless they are the first or last word. The “Title Case (small words lower)” button applies that common rule, while the plain “Title Case” button capitalises every word. Apostrophes do not start a new word, so “don’t” becomes “Don’t”, not “Don’T”.

Programming naming conventions

Code styles use case to mark word boundaries when spaces are not allowed. camelCase starts lower and capitalises each following word (userAccountId) and is common for JavaScript variables. PascalCase capitalises every word (UserAccountId) and is typical for class and component names. snake_case joins lower-case words with underscores and is standard in Python and database columns. kebab-case uses hyphens, which suits URLs, CSS class names and file names. CONSTANT_CASE uses upper-case letters with underscores for constants and environment variables.

The converter splits your input into words on spaces, punctuation and existing camel-case boundaries, so “userAccountID”, “user account id” and “user-account-id” all convert cleanly between styles.

Tips and limits

Case conversion follows the rules of the Unicode alphabet your browser supports, so accented letters such as é and ü convert correctly. A few languages have special rules (for example the Turkish dotted and dotless I) that a general tool cannot know, so review text in those languages.

Because each button converts the current text, you can chain conversions: for example convert to lower case first and then to Sentence case to repair text that was typed with caps lock on. If you want to compare versions, copy the original somewhere first.

Frequently asked questions

What is the difference between Title Case and Sentence case?

Title Case capitalises the main words of a title. Sentence case capitalises only the first word of each sentence and proper nouns, like a normal sentence.

Why does “Title Case” capitalise small words like “of” and “the”?

The plain Title Case button capitalises every word. Use “Title Case (small words lower)” to keep short articles, conjunctions and prepositions lower case.

Does it keep my line breaks?

Yes. Paragraphs and line breaks are preserved when converting between writing cases.

What is the difference between camelCase and PascalCase?

camelCase begins with a lower-case letter (myVariableName). PascalCase begins with an upper-case letter (MyVariableName).

Is there a size limit?

There is no fixed limit, but very large pastes depend on your browser’s memory.

Is my text uploaded?

No. Conversion happens in your browser.