Home/Tools/Text Tools/Case Converter

Case Converter

Text Tools

Convert text to uppercase, lowercase, title case, sentence case, and more.

⚡ Instant🔒 Private, in your browser🆓 Free, no sign-up👥 For writers and students
Your data never leaves your browser. We do not store inputs.

What Case Converter does

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.

FV
Reviewed by the FreeToolsVerse team · Last updated · How we check our tools

Features and benefits

  • Fixes accidental caps lock or all-lowercase text in one click
  • Proper Title Case for headlines, with small words left lowercase
  • Programming cases for variable, file and URL names
  • Nothing is uploaded, so it is safe for private text

How to use Case Converter

  1. Type or paste your text
  2. Click the case you want, from the Writing or Programming group
  3. Read the converted text, which updates instantly
  4. Copy it or download it as a text file

Who should use it

Made for writers and students. Typical uses:

  • Converting titles and headlines to title case
  • Fixing accidentally typed ALL CAPS text
  • Standardizing text formatting in content

Example

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.

Limitations and accuracy

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.

Frequently asked questions

Which cases can I convert to?
UPPERCASE, lowercase, Title Case, Sentence case, Capitalized Each Word, aLtErNaTiNg, iNVERSE, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, dot.case, path/case and Train-Case.
How does Title Case decide which words to capitalize?
It capitalizes the first and last word and every major word, and leaves short articles, conjunctions and prepositions such as a, an, the, and, of, in and to lowercase. Words already in capitals, like acronyms, are kept.
What is the difference between Title Case and Capitalized Each Word?
Capitalized Each Word capitalizes every word, including small ones ("How To Make A Website"). Title Case follows headline style and keeps small words lowercase.
What is camelCase versus snake_case?
camelCase joins words and capitalizes each after the first (userProfilePage), common in JavaScript. snake_case joins words with underscores (user_profile_page), common in Python and databases.
Is my text uploaded anywhere?
No. The conversion happens in your browser and your text never leaves your device.

Case Converter: the complete guide

The cases it converts to

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.

How Title Case is decided

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.

Writing cases in practice

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.

Programming cases in practice

Naming conventions differ by language and context, and converting words into the right form avoids typos.

  • camelCase is common for variables and functions in JavaScript and Java.
  • PascalCase names classes and components.
  • snake_case is the norm in Python and in database column names.
  • kebab-case suits URLs, file names and CSS class names.
  • CONSTANT_CASE marks constants and environment variables.

Related tools and privacy

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.

Whole text or one name at a time

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.

Known limits to check

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.

Learning resources

Explore more in Text Tools, read the guides and articles, or see how we test our tools.

Share This Tool