Case Converter
Paste any text and instantly convert it to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case or CONSTANT_CASE. Copy any result with one click.
UPPERCASE
All capital letters
lowercase
All small letters
Title Case
Capitalize Each Word
Sentence case
Capitalize first letter of each sentence
camelCase
firstWordLower, rest capitalized
PascalCase
EveryWordCapitalized
snake_case
words_joined_with_underscores
kebab-case
words-joined-with-hyphens
CONSTANT_CASE
WORDS_IN_UPPER_SNAKE
Your text never leaves your device — every conversion runs entirely in your browser.
Understanding the Case Converter
Case Converter is a free, browser-based text tool that instantly rewrites any text into nine different letter cases at once: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Each conversion appears in its own card with a one-click Copy button, plus a live word and character count. It is built for developers naming variables and constants, writers fixing accidental caps-lock, marketers formatting headlines, and anyone tidying spreadsheet or CSV text. Everything runs entirely in your browser with plain JavaScript — your text is never uploaded, stored, or logged, so it is safe for sensitive or private content.
How it works
Spacing-aware cases work directly on your text: UPPERCASE and lowercase call native case methods; Title Case capitalizes the first letter of every whitespace-separated word; Sentence case lowercases everything then capitalizes the first letter at the start and after each . ! or ? — all preserving your original line breaks. The programmer cases first tokenize the text into words. The splitter inserts boundaries between camelCase humps (a lowercase or digit followed by an uppercase letter, and acronym-to-word transitions), then splits on every run of non-alphanumeric characters. Those clean words are recombined: joined with no separator for camel/Pascal, with underscores for snake/constant, and with hyphens for kebab.
Worked example
Paste "hello WORLD-example_text". Title Case returns "Hello World-Example_Text" (spacing kept). The tokenizer splits it into [hello, WORLD, example, text], so camelCase gives "helloWorldExampleText", PascalCase "HelloWorldExampleText", snake_case "hello_world_example_text", kebab-case "hello-world-example-text", and CONSTANT_CASE "HELLO_WORLD_EXAMPLE_TEXT". A camelCase input like "getUserID" is correctly split into [get, User, ID], producing snake_case "get_user_id" rather than one mashed-together word.
Tips & common mistakes
- Use camelCase or PascalCase for variable and class names, and CONSTANT_CASE for fixed config values like API_BASE_URL.
- Remember the programmer cases (camel, Pascal, snake, kebab, constant) collapse all spaces and line breaks into one token — use UPPER, lower, Title, or Sentence case if you need to keep paragraph structure.
- Programmer cases also strip accents, emoji, and other non-ASCII characters during tokenizing, so an input like 'café déjà' becomes 'cafeDeja' — use UPPERCASE, lowercase, Title Case, or Sentence case when you need to preserve Unicode characters.
- kebab-case is ideal for URL slugs and CSS class names; snake_case is the convention in Python and most SQL columns.
- Title Case here capitalizes every word — if you need strict editorial style (lowercasing short words like 'and' or 'of'), adjust those by hand afterward.
- Sentence case lowercases the rest of the text first, so it is the fastest fix for text typed with caps-lock left on.
- The tool only treats . ! and ? as sentence endings — abbreviations like 'Dr.' or 'e.g.' may trigger an unexpected capital, so proofread Sentence-case output.
Related tools
How to Use This Tool
- 1Type or paste your text into the box.
- 2See every case style generated live, with word and character counts.
- 3Click Copy on the result you need.
Frequently Asked Questions
Which letter cases can I convert to?
Nine in total: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Every result updates live as you type and has its own Copy button.
Does it keep my line breaks and spacing?
UPPERCASE, lowercase, Title Case and Sentence case preserve your original spacing and line breaks. The programmer cases (camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE) intentionally collapse everything into a single joined token, so spacing is removed there.
Is my text uploaded to a server?
No. All conversions run entirely in your browser using plain JavaScript. Your text is never sent anywhere, stored, or logged.