Skip to content
ToolZone

Case Converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, and other common casing styles used in writing and code.

Runs in your browser. Nothing you enter or upload leaves your device.

UPPERCASE
EXAMPLE TEXT
lowercase
example text
Title Case
Example Text
Sentence case
Example text
camelCase
exampleText
PascalCase
ExampleText
snake_case
example_text
CONSTANT_CASE
EXAMPLE_TEXT
kebab-case
example-text
dot.case
example.text
aLtErNaTiNg
eXaMpLe TeXt
iNVERSE
eXAMPLE TEXT

Code styles (camelCase, snake_case and so on) split words at spaces, punctuation and existing capitals, and convert each line on its own, so you can paste a list of names.

Keyboard shortcuts

Run the main action
⌘ / Ctrl + Enter
Copy the result
⌘ / Ctrl + Shift + Enter
Download the result
⌘ / Ctrl + S
Paste a file or image into file tools
⌘ / Ctrl + V
Search all tools
⌘ / Ctrl + K
Show these shortcuts
?

You can also drop files anywhere on the page.

About the Case Converter

Case Converter rewrites the capitalization of any text in twelve styles at once, from plain UPPERCASE and lowercase to programmer formats like camelCase, PascalCase, snake_case, CONSTANT_CASE and kebab-case. Paste your text once and copy whichever style you need.

How it works

UPPERCASE and lowercase change every letter. Title Case capitalizes the first character of each word and lowercases the rest, so "iPhone" becomes "Iphone". Sentence case lowercases everything and then capitalizes the first letter of the text and the first letter after each period, question mark, or exclamation point. aLtErNaTiNg flips between lower and upper on every character position, spaces included, starting with lowercase.

camelCase lowercases the text, removes each run of spaces or punctuation that is followed by another character, and capitalizes that next character. snake_case and kebab-case lowercase the text and replace runs of whitespace with an underscore or a hyphen; other punctuation is left in place, so remove it first if you need a clean identifier.

How to use

  1. 1

    Type or paste your text into the box.

  2. 2

    Every style appears below the box at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case, aLtErNaTiNg and iNVERSE.

  3. 3

    Click Use on a result to make it the new input, if you want to convert it further.

  4. 4

    Click the copy icon next to a style to put it on your clipboard.

Worked examples

Variable name from a phrase

Turning a label into code identifiers.

Input
user profile settings
Result
camelCase: userProfileSettings; snake_case: user_profile_settings; kebab-case: user-profile-settings

Fixing a shouted sentence

Text typed with Caps Lock on.

Input
hello WORLD. this is it
Result
Sentence case: Hello world. This is it

The first letter and the first letter after the period are capitalized; everything else is lowercased.

Headline

A title for a slide.

Input
user profile settings
Result
Title Case: User Profile Settings
Limitations
Title Case capitalizes every word, including short words that style guides keep lowercase, and lowercases acronyms like "USA". Code styles drop punctuation and symbols, so "C++ guide" becomes c_guide. Sentence case lowercases names and places after the first word; only the word I is restored.
Assumptions
Words are separated by spaces. Sentences end with ., ! or ?
Privacy
Conversion runs entirely in your browser; your text is not sent or stored.

Frequently asked questions

What is the difference between Title Case and Sentence case?+

Title Case capitalizes the first letter of every word. Sentence case capitalizes only the first letter of each sentence and lowercases the rest.

Can I use this for variable names in code?+

Yes. The code styles split words at spaces, punctuation and existing capitals, so "user ID", "userId" and "user-id" all become user_id in snake_case. Each line is converted separately.

Is PascalCase supported?+

Yes. PascalCase, CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) and dot.case are all shown alongside the other styles.

Why did Title Case change "NASA" to "Nasa"?+

Title Case lowercases every letter after the first in each word, so acronyms need to be fixed manually afterward.

What is aLtErNaTiNg case for?+

It is mostly used for humor online, to imitate a mocking tone. Only letters count toward the pattern, so spaces and punctuation don't break the rhythm.

Related tools