Case Converter

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and more, instantly in your browser. See every format side by side and copy the one you need. Handles accented letters and Unicode, and converts identifiers line by line.

About this tool

What does the Case Converter do?

The Case Converter changes the capitalization and word separators of text. Use it to fix text typed with Caps Lock on, turn a sentence into a proper title, or rename variables between programming naming conventions such as camelCase, snake_case and kebab-case. Conversion happens in your browser as you type.

How to use

  1. Type or paste text into Input, or drop a text file onto it.
  2. Choose a format such as Title Case or snake_case. The result appears in Output right away.
  3. Copy or download the result with the buttons in the corner of the output editor.
  4. Check All formats below to compare every conversion of your text and copy any of them with one click.

Supported formats

FormatExampleTypical use
UPPERCASEHELLO WORLDHeadings, constants in text, fixing Caps Lock
lowercasehello worldNormalizing emails, tags and IDs
Title CaseThe Lord of the RingsTitles and headlines (short words like of, the, and stay lowercase)
Capitalized CaseThe Lord Of The RingsCapitalizing every word
Sentence caseHello world. How are you?Normal sentences
camelCasehelloWorldJavaScript, Java and JSON variable names
PascalCaseHelloWorldClass and component names
snake_casehello_worldPython, Ruby and database column names
CONSTANT_CASEHELLO_WORLDConstants and environment variables
kebab-casehello-worldURLs, CSS classes and file names
dot.casehello.worldConfig keys and package names

How words are detected

For the programming formats (camelCase through dot.case), words are split at spaces, symbols such as -, _ and ., and at changes in letter case. So getHTTPResponseCode, get-http-response-code and get http response code all become get_http_response_code in snake_case. Each line is converted separately, so you can paste a list of names and convert them all at once.

Features

  • 11 formats with live conversion
  • All formats preview with one-click copy
  • Unicode-aware: accented letters (é → É), Greek and Cyrillic are converted; Japanese and other scripts without case are kept
  • Line-by-line conversion for identifiers, keeping blank lines
  • Text file input, copy, download and full-screen editing
  • Your input and chosen format are saved in this browser

FAQ

What is the difference between Title Case and Capitalized Case?

Title Case follows the common headline style: short articles, conjunctions and prepositions (a, the, and, of, in, to...) stay lowercase unless they are the first or last word. Capitalized Case simply capitalizes every word.

Why did the text get longer after converting to uppercase?

A few characters have no single uppercase form. For example, German ß becomes SS, so straße turns into STRASSE.

Are numbers kept in camelCase and snake_case?

Yes. Digits stay part of the word they are attached to, so version 2 api becomes version2Api in camelCase and version_2_api in snake_case.

Is my text uploaded?

No. Conversion runs entirely in your browser.