Convert text to uppercase, lowercase, title case, sentence case, and more.
The Case Converter changes text between UPPERCASE, lowercase, Title Case, Sentence case, Capitalized Each Word, aLtErNaTiNg and iNVERSE case, and into the naming styles programmers use: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case. Title Case keeps small words such as "a", "the" and "of" lowercase, and everything runs in your browser.
Made for writers and students. Typical uses:
The text "how to make a website in 5 easy steps" becomes "How to Make a Website in 5 Easy Steps" in Title Case, "howToMakeAWebsiteIn5EasySteps" in camelCase, "how_to_make_a_website_in_5_easy_steps" in snake_case and "how-to-make-a-website-in-5-easy-steps" in kebab-case.
Title Case follows a common style rule (small words lowercase unless first or last) and cannot know every publication's house style; it also leaves a small word lowercase after a colon. Sentence case lowercases everything except the first letter of each sentence, so an acronym such as NASA becomes Nasa, whereas Title Case leaves acronyms alone. Brand names with unusual capitals are not recognized: iPhone becomes Iphone in Title Case.
Accuracy: Results follow documented rules and are tested with known inputs. Review the output before relying on it.
Expert Tip
For URL slugs use kebab-case (words separated by hyphens), which search engines read as separate words; for JavaScript variables use camelCase, and for constants use CONSTANT_CASE.
The Case Converter changes text between the writing styles you need for documents and the naming styles programmers use. Take the text "the quick brown fox jumps over the lazy dog". The writing cases give UPPERCASE, lowercase, Title Case ("The Quick Brown Fox Jumps Over the Lazy Dog"), Sentence case, Capitalized Each Word, aLtErNaTiNg and iNVERSE.
The programming cases turn the same words into camelCase (theQuickBrownFoxJumpsOverTheLazyDog), PascalCase, snake_case (the_quick_brown_fox_jumps_over_the_lazy_dog), kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case.
Title Case is not the same as capitalising every word. The tool follows a common style rule: small words such as a, the, of, and and in stay lowercase unless they start or end the text, while the important words are capitalised. Apostrophes and hyphens are handled, so don't becomes Don't and not Don'T, and acronyms are left alone.
Style guides disagree on the details. For example, the tool leaves a small word lowercase after a colon, so "Title of a book: the end of the road" becomes "Title of a Book: the End of the Road", whereas some guides would capitalise "The" there. Check headlines against your house style, and fix brand names such as iPhone by hand.
Use sentence case for most body text and many modern headings, Title Case for formal titles, and UPPERCASE sparingly, since long stretches are harder to read. If text arrives in accidental caps lock, converting to lowercase and then to sentence case repairs it in two clicks. "Capitalized Each Word" is useful for names and lists, but it will also capitalise small words that a title should leave alone.
Naming conventions differ by language and context, and converting words into the right form avoids typos.
To turn a title into a clean URL slug, the Slug Generator also strips punctuation. To remove stray spaces after converting, use the Whitespace Remover, and to check length against a limit, use the Character Counter. Everything runs in your browser, so private text is never uploaded.
The writing cases keep your line breaks, so you can paste a whole list and convert every line at once: three product names in a column all become Title Case. The programming cases work differently. They join the words of the whole text into a single name, so "first name" and "last name" on two lines become firstNameLastName. Convert one name at a time for camelCase, snake_case and the other naming styles.
Sentence case lowercases everything except the first letter of each sentence, so an acronym is changed: "NASA and the USA plan a trip" becomes "Nasa and the usa plan a trip". Title Case leaves acronyms alone and gives "NASA and the USA Plan a Trip". Brand names with unusual capitals are not recognised either, and "iPhone 15 pro" becomes "Iphone 15 Pro" in Title Case. Read the result once and fix names by hand before you publish.
How an extractive summarizer picks sentences, how to set the right length, what it cannot do, and a method for checking and improving a summary yourself.
Explore more in Text Tools, read the guides and articles, or see how we test our tools.
Encode and decode Base64 strings instantly.
Best for encoding binary data for email and web transmission
Count characters, letters, and spaces in any text.
Best for fitting a post, caption or bio inside a platform limit
Remove duplicate lines from any text instantly.
Best for cleaning a merged email or contact list
Convert hexadecimal values to readable text and vice versa.
Best for decoding a hex-dumped string found in a browser dev tools network request
Encode special characters to HTML entities for safe web display.
Best for escaping user-submitted text before inserting it into an HTML template to avoid broken markup
Convert regular expressions to plain string patterns.
Best for storing a regex pattern as a string field in a JSON config file