Free Tools

Free Case Converter

Convert uppercase to lowercase or lowercase to uppercase, or change text to sentence case, Title Case, camelCase, PascalCase, snake_case, kebab-case or a URL slug, then copy the result.

Need Chicago or APA rules for a headline? Use the title case converter, which explains each word.

Convert to

Your original text is not changed. Multi-line text is converted line by line. Everything happens in your browser.

How to use the case converter

  1. Type or paste your text into the box.
  2. Choose a format, such as Sentence case, Title Case or URL slug.
  3. Check the result, which appears in a separate box below.
  4. Select Copy result, then paste it wherever you need it. Your original text is not changed.

Convert uppercase to lowercase or lowercase to uppercase

Choose lowercase to turn HOW TO WRITE A BETTER BLOG POST into how to write a better blog post. Choose UPPERCASE to do the reverse and convert lowercase to uppercase.

If text was typed with Caps Lock on and you want ordinary capitalization back, choose Sentence case rather than lowercase. It lowercases the text and capitalizes the first letter of each sentence, so HOW TO WRITE A BETTER BLOG POST. IT IS EASY. becomes How to write a better blog post. It is easy.

The formats, with examples

Each example converts the text "How to write a better blog post".

  • Sentence case: How to write a better blog post. Only the first letter of each sentence is capitalized.
  • lowercase: how to write a better blog post
  • UPPERCASE: HOW TO WRITE A BETTER BLOG POST
  • Title Case: How to Write a Better Blog Post
  • camelCase: howToWriteABetterBlogPost, common in JavaScript variable names.
  • PascalCase: HowToWriteABetterBlogPost, common for class and component names.
  • snake_case: how_to_write_a_better_blog_post, common in Python and databases.
  • kebab-case: how-to-write-a-better-blog-post, common in CSS classes and file names.
  • URL slug: how-to-write-a-better-blog-post, a lowercase web address with accents and punctuation removed.

How Title Case works here

The converter capitalizes the first letter of each word, except short words such as a, an, the, and, but, or, for, of, in, on, to and with. Those stay lowercase unless they are the first or last word, or follow a colon. Words that are already all capitals, such as NASA, and words with internal capitals, such as iPhone, are left as they are. If a whole line is in capitals, it is converted from lowercase first.

Style guides such as AP, Chicago and APA capitalize titles slightly differently, for example in how they treat longer prepositions. Check the style your publication follows and adjust individual words if needed.

Convert text to camelCase or PascalCase

camelCase joins words without spaces, starts with a lowercase letter and capitalizes each word after the first, so user name becomes userName. PascalCase does the same but also capitalizes the first word: UserName.

Words are split at spaces, punctuation and existing capital letters, so XMLHttpRequest becomes xmlHttpRequest in camelCase, XmlHttpRequest in PascalCase and xml_http_request in snake_case. Which format to use depends on the language and your project's naming conventions. In JavaScript, for example, camelCase is common for variables and functions, and PascalCase for classes and components.

Tips for URL slugs

  • Slugs are lowercased, spaces and punctuation become single hyphens, accents are removed and apostrophes are dropped, so "Don't Stop" becomes dont-stop.
  • Keep slugs short and descriptive. You can delete filler words after converting.
  • Each line is converted separately, so you can convert a list in one go.

Who it's useful for

  • Writers and editors making headlines and headings consistent.
  • Bloggers and SEO teams turning titles into clean URL slugs.
  • Developers converting labels into camelCase, PascalCase, snake_case or kebab-case names.
  • Anyone fixing text that was typed with Caps Lock on.

Frequently asked questions

Does converting change my original text?

No. The result appears in a separate box, and your original text stays as you typed it.

Why are some names lowercase after using sentence case?

Sentence case cannot tell which words are names, so it lowercases everything except the start of each sentence. Recapitalize names and brands after converting.

Is my text sent anywhere?

No. Conversion runs in your browser and nothing is stored.

What is the difference between title case and sentence case?

Title case capitalizes most words, while sentence case capitalizes only the first word and proper nouns. Our guide to title case vs sentence case explains when to use each.