Text Case Converter

How to use the Text Case Converter

Paste or type your text in the box, then click the case style you want. The text in the box is replaced with the converted version, and you can click another style or press “Copy result” to copy it. Conversion happens in your browser, so nothing is uploaded.

Available case styles

Examples: titles, acronyms and code names

When to change text case

Frequently asked questions

Does Title Case skip small words like “of” or “the”?
Yes. Articles, short conjunctions and short prepositions stay lowercase in the middle of a title, following the common rule used by most English style guides. They are capitalized when they are the first or last word, or come right after a colon or dash. Longer prepositions such as “about” or “between” are capitalized; a few guides lowercase them too, so adjust by hand if yours does.

Can I undo a conversion?
Yes. Press Undo to bring back the text from before your last conversion or Clear. Only one step is kept, and nothing is saved once you leave the page.

What happens to accents, symbols and other scripts in camelCase?
Accents are removed (café becomes cafe) because many programming languages and URLs handle plain letters more reliably. Symbols and punctuation act as word breaks. Letters from other scripts, such as Hindi or Russian, are kept as they are.

Choosing the right case: a practical reference

Each case style has a home. Using the wrong one is not an error that breaks anything, but it makes writing look inconsistent and code harder to read. Use this table as a quick reference before converting.

WhereUsual styleExample
Book, article and video titlesTitle CaseThe Beginner’s Guide to Saving Money
Website headings, buttons and menusSentence caseCreate your account
JavaScript and Java variables and functionscamelCasetotalPrice, getUserName()
Classes in most languagesPascalCaseShoppingCart
Python variables, database columnssnake_caseorder_total, created_at
Constants and environment variablesUPPER_SNAKE_CASEMAX_RETRIES, API_BASE_URL
URL slugs, CSS classes, file nameskebab-case/how-to-bake-bread, .main-nav

Every style in this table has its own button above. CONSTANT_CASE is another name for UPPER_SNAKE_CASE.

Title Case and style guides

Most editorial style guides keep short articles, conjunctions and prepositions in lowercase unless they are the first or last word, and this tool follows that rule. Guides disagree about longer prepositions: AP capitalizes words of four letters or more, while Chicago lowercases all prepositions. This tool capitalizes them, so check those words if you follow Chicago.

For example, “a guide to the best parks in the city” becomes “A Guide to the Best Parks in the City”, not “A Guide To The Best Parks In The City”.

Fixing text typed with Caps Lock

Paste the text and press Sentence case. It lowercases everything and capitalises the first letter of each sentence. Then restore capitals for names, places, brands and acronyms such as “India”, “Google” or “PDF”, since no converter can know which words are proper nouns.

For more detail and examples of each convention, see Title Case, Sentence Case, camelCase and snake_case: which to use and when.

Limitations

Acronyms and mixed-case names are kept only when they are already written that way: if the whole text is in capitals, everything is converted. Proper nouns typed in lowercase, such as “london”, cannot be recognized and need to be fixed by hand. See our Disclaimer and Privacy Policy. Browse the full tools directory. Related tools: Word & Character Counter, URL Encoder & Decoder.

Learn more: read our Writing Guides, articles on word limits, text case and comparing lists.