Case Converter Online — UPPERCASE, lowercase, Title & camelCase

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE instantly in your browser.

100% Client-Side • Your data stays in your browser
How to use & FAQ
Loading tool...

Case Converter

Accidental Caps Lock, inconsistent spreadsheet headings, and mismatched programming naming conventions waste far more time than they should. Whether you are a writer fixing an all-caps draft, an editor standardizing blog headlines, a marketer creating clean URL slugs, or a software engineer converting database columns from snake_case to camelCase, retyping text by hand is slow and error-prone. Our free online Case Converter transforms any text across ten widely used writing and developer formats in a single click. Every transformation runs 100% locally inside your web browser with zero server uploads, keeping confidential contracts, unpublished articles, and source code completely private. The converter is built with full Unicode awareness so accented characters in Portuguese, Spanish, French, and German—such as á, é, õ, ç, and ñ—capitalize and lowercase accurately without breaking words. You also get live character, word, and line counters, an optional extra-whitespace cleaner, one-click clipboard copy, and instant .txt file export.

How to Use This Tool

  1. 01 Type or paste your text into the Source Text box, or click Load Example to test the converter with sample content.
  2. 02 Select any of the 10 case buttons across the top bar: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or aLtErNaTiNg.
  3. 03 Toggle Clean extra whitespace if your source text contains double spaces, stray tabs, or uneven margins that you want normalized before conversion.
  4. 04 Review the instant Converted Result alongside the live Characters, Words, and Lines counters below the editor.
  5. 05 Click Copy Result to copy the formatted text to your clipboard, Download .txt to save it as a plain-text file, or Use as Input to chain another transformation.

How It Works

Unlike naive converters that only recognize basic ASCII letters A–Z, this Case Converter uses Unicode property escapes (`\p{L}` and `\p{N}`) together with locale-aware `toLocaleUpperCase()` and `toLocaleLowerCase()` methods. When converting to Title Case, the engine detects word boundaries using Unicode letter classes so accented initials like "ação" or "último" capitalize cleanly without splitting on diacritics. For Sentence case, the parser lowercases the passage and then restores an uppercase letter at the beginning of the text, after sentence-ending punctuation (`.`, `!`, `?`, `…`), and at the start of new lines. For programming styles (`camelCase`, `PascalCase`, `snake_case`, `kebab-case`, and `CONSTANT_CASE`), the engine tokenizes each line independently—recognizing existing camelCase boundaries, underscores, hyphens, and punctuation—so multi-line variable lists stay neatly aligned line by line. Incoming UTF-8 Byte Order Marks (`\uFEFF`) and Windows `CRLF` line endings are normalized automatically to prevent invisible character bugs.

Practical Examples

Fixing Accidental Caps Lock in an Email or Article

Input
                      HELLO TEAM! PLEASE REVIEW THE UPDATED Q4 REPORT. THANK YOU.
                    
Output
                      Hello team! Please review the updated q4 report. Thank you.
                    

Sentence case immediately converts shouting all-caps paragraphs into readable prose while capitalizing the first letter after every period and exclamation mark.

Converting Database Columns to JavaScript Variables

Input
                      user_first_name
order_total_amount
is_email_verified
                    
Output
                      userFirstName
orderTotalAmount
isEmailVerified
                    

Selecting camelCase transforms multi-line SQL or Python snake_case identifiers into ready-to-use JavaScript/TypeScript property names line by line.

Turning Blog Headlines into SEO-Friendly URL Slugs

Input
                      10 Proven Tips for Faster Web Performance
                    
Output
                      10-proven-tips-for-faster-web-performance
                    

kebab-case lowercases every word and joins tokens with hyphens, giving you clean, readable slugs for URLs, CSS classes, and file names.

Tips & Best Practices

  • Use the Clean extra whitespace toggle when pasting from PDFs or spreadsheets to eliminate hidden double spaces and trailing tabs.
  • For multi-line variable lists, stick to camelCase, PascalCase, snake_case, kebab-case, or CONSTANT_CASE—each line is converted independently so your list structure stays intact.
  • After converting to Sentence case, do a quick scan for proper nouns, acronyms (like API or NASA), and brand names that require specific capitalization.
  • Click Use as Input if you want to clean and convert text in stages without manually copying and pasting back into the left box.
  • For very large documents above 500,000 characters, the tool displays a performance heads-up while continuing to process everything safely in your browser.

Frequently Asked Questions

Is my text sent to any server when I use this Case Converter?

No. All case conversions, whitespace cleaning, and word counts execute 100% locally in your browser using JavaScript. Your text never leaves your device.

Does the converter handle accented letters in Portuguese, Spanish, and French?

Yes. The engine uses Unicode-aware regular expressions and locale-safe casing so characters like á, é, í, ó, ú, ã, õ, ç, and ñ are never split or mangled.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the first letter of every word (ideal for headings and titles), while Sentence case capitalizes only the first word of each sentence and line (ideal for normal paragraphs).

Can I convert multiple variable names at once?

Yes. Programming modes such as camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE process each line separately, so you can paste an entire list of identifiers and convert all of them in one click.

How does the Clean extra whitespace option work?

It collapses repeated spaces and tabs inside each line into a single space, trims leading and trailing spaces, and reduces excessive blank lines while preserving normal paragraph breaks.

Related Tools