Skip to content
AllToolsDesk

Popular

  • JSON Formatter & ValidatorFormat, minify and validate JSON with error locations.
  • CSS FormatterBeautify CSS, SCSS and Less with Prettier.
  • CSS MinifierCompress CSS and see the bytes saved.
  • JavaScript FormatterBeautify JavaScript and TypeScript.
  • JavaScript MinifierMinify JavaScript with Terser.
  • HTML FormatterIndent HTML, including inline CSS and JS.
  • JPG to PDFTurn images into a PDF, one per page.
  • Merge PDFCombine several PDFs into one file.
38 free toolsSee all tools

Case Converter

Convert text to UPPER, lower, Title or Sentence case, or to camelCase, snake_case, kebab-case and other code styles. Every result at once, ready to copy.

Runs in your browser. Nothing is uploaded.

Loading tool…

About the Case Converter

Text often arrives in the wrong case: headings typed in capitals, product names in lower case, or a list of labels that needs to become variable names. Retyping is slow and easy to get wrong.

This converter shows every common case at once. Title Case follows common style-guide rules for short words, and Sentence case suits headings and UI copy. For code, it produces camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case, splitting words and acronyms sensibly, and converts each line separately so you can process a whole list of names in one go.

How to use the Case Converter

  1. 1

    Type or paste your text. Every case is shown at once and updates as you type.

  2. 2

    Press the copy button next to the case you need.

  3. 3

    Code cases (camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case) convert each line separately, so you can convert a list of names in one go.

Examples

1Headline to Title Case
Before
Title Case: the lord of the rings: the return of the king
After
The Lord of the Rings: The Return of the King
2Shouting to Sentence case
Before
Sentence case: PLEASE READ THIS. i MEAN IT!
After
Please read this. I mean it!
3Phrase to a variable name
Before
camelCase: user account id
After
userAccountId
4Acronyms are split sensibly
Before
snake_case: parseHTTPResponse
After
parse_http_response

Good to know

  • Title Case keeps short words such as “of”, “the” and “and” lower case unless they start the title, follow a colon or end it. Names and acronyms (NASA, iPhone) may need fixing by hand.
  • Sentence case lowers everything except the first letter of each sentence and the word “I”, so names lose their capitals.
  • Code cases drop punctuation but keep accented letters, so check names meant for systems that only allow ASCII.

Frequently asked questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lower-case letter (userName), PascalCase with a capital (UserName). JavaScript variables usually use camelCase; classes and React components use PascalCase.

When should I use snake_case or kebab-case?

snake_case is common for Python names and database columns; kebab-case for URLs, CSS classes and file names. CONSTANT_CASE is used for constants and environment variables.

Is my text uploaded to a server?

No. Everything is processed in your browser. Your text is never sent to our servers or stored anywhere.

More tools that pair well with this one.

Browse all tools