inyourbrowser.com

Case Converter

Case converter is a text tool that changes text between seven letter-case styles: camelCase, PascalCase, snake_case, kebab-case, Title Case, UPPER CASE and lower case. It splits identifiers at camelCase humps, underscores and hyphens, keeps line breaks and punctuation in Title, UPPER and lower case, and copies the result in one click. The tool runs in your browser.

Input
Output

CONVERT TO

Currently converting to camelCase.

Runs entirely in your browser

How to convert text case

  1. Paste your text into the input area.
  2. Choose a case format: UPPER CASE, lower case, Title Case, camelCase, PascalCase, snake_case, or kebab-case.
  3. The converted text appears immediately in the output.
  4. Click "Copy" to copy the result to your clipboard.

Common uses

  • Converting headings to title case for documents or articles, check word count and readability score after editing
  • Normalising user-submitted text to a consistent casing before storing it in a database
  • Transforming variable names between camelCase, snake_case, and other programming conventions

Technical specification

  • Algorithm or formula: For camelCase, PascalCase, snake_case and kebab-case: tokenisation into words at spaces, punctuation and camelCase boundaries, then case-specific joiners (camelCase capitalises every word after the first, snake_case lowercases and joins with underscores, kebab-case with hyphens). UPPER CASE, lower case and Title Case change letters in place. Title Case capitalises each word except short articles, conjunctions and prepositions in the middle of a line, and keeps acronyms and mixed-case words such as iPhone.
  • Browser API or library: Native String.prototype methods (toLowerCase, toUpperCase, split, replace) with Unicode-aware regex. No external library.
  • Input limits: Bounded by available browser memory. Multi-megabyte text strings convert without issue on modern devices.
  • Output: Plain text in the chosen case format, copyable to the clipboard.
  • Known limitations: camelCase, PascalCase, snake_case and kebab-case output drops punctuation and lowercases acronyms (XMLHttpRequest becomes xmlHttpRequest).

Frequently asked questions

What case formats does this converter support?
Seven formats: UPPER CASE, lower case, Title Case, camelCase, PascalCase, snake_case, and kebab-case. Switch between them in one click and the converted text appears instantly.
Is my text sent to a server?
All case conversion runs in your browser as pure JavaScript. Our servers are not involved at any point.
Does it handle accented characters?
Yes. The converter works with Unicode text including accented characters, so letters like e-acute and n-tilde are handled correctly.
Can I convert multiple paragraphs at once?
Yes. Paste any amount of text and the conversion applies to the entire input at once. UPPER CASE, lower case and Title Case keep your line breaks and punctuation.

Related tools

Slug generator
Convert any text into a URL-safe slug. Handles diacritics, special characters, and custom separators.
Sort lines
Sort lines alphabetically, by length, or shuffle randomly. Remove duplicates and empty lines in one click.
Word counter
Count words, characters, sentences, and paragraphs. All processing runs in your browser.
Lorem Ipsum generator
Generate placeholder paragraphs, sentences, or words. Plain text or HTML output.

Reviewed and tested September 30, 2026.