Text Case Converter
Type or paste your text once to see it converted into ten common cases at the same time — from Title Case for headings to camelCase and snake_case for code — and copy any one with a single click.
Sentence case
The quick brown fox jumps over the lazy dog
lower case
the quick brown fox jumps over the lazy dog
UPPER CASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
Title Case
The Quick Brown Fox Jumps Over The Lazy Dog
camelCase
theQuickBrownFoxJumpsOverTheLazyDog
PascalCase
TheQuickBrownFoxJumpsOverTheLazyDog
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog
CONSTANT_CASE
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
aLtErNaTiNg CaSe
tHe qUiCk bRoWn fOx jUmPs oVeR ThE LaZy dOg
camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE split words on spaces, underscores, hyphens and existing camelCase — punctuation carries straight through, so they work best on plain words or identifiers. Everything is converted in your browser; nothing is uploaded.
Everyday cases vs. code cases
UPPERCASE, lowercase, Title Case and Sentence case are the ones people reach for most in everyday writing: headings, headlines, and fixing text that got stuck in caps lock. Title Case here capitalises the first letter of every word — it doesn't apply style-guide rules about lowercasing short words like "a" or "the", so double-check it against your house style for formal headlines.
camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE are the naming conventions programming languages and config files use for variables, functions, files and constants respectively. Converting between them is a common small chore when renaming something to match a different language's convention.
How words are split
To convert between cases, the text first has to be split back into individual words. This tool splits on spaces, underscores and hyphens, and also splits camelCase text at each lowercase-to-uppercase boundary (so helloWorld splits into hello and World). That makes it possible to convert directly from one code-naming convention to another, not just from plain text.
Punctuation that isn't a space, underscore or hyphen is left where it is, so the code-style conversions (camelCase and friends) work best on plain words or existing identifiers rather than full punctuated sentences.
Frequently asked questions
- What's the difference between camelCase and PascalCase?
- Both join words with no separator and capitalise each word's first letter, except camelCase keeps the very first word lowercase (helloWorld) while PascalCase capitalises it too (HelloWorld).
- What is CONSTANT_CASE used for?
- Also called SCREAMING_SNAKE_CASE, it's the common convention for naming constants in many programming languages, such as MAX_RETRY_COUNT.
- Does Title Case follow proper headline style rules?
- No — it capitalises every word's first letter without lowercasing short connecting words like "a", "of" or "the", which some style guides call for. Adjust those manually if you need strict headline style.
- Why does my punctuation look odd in camelCase or snake_case?
- Those conversions are built for splitting words apart cleanly, and only treat spaces, hyphens and underscores as separators. Other punctuation is left attached to the nearest word, so they work best on plain text or identifiers rather than full sentences.
- Is my text sent anywhere?
- No. All conversions happen in your browser; nothing you type is uploaded or stored.