Text Case Converter

Convert text between uppercase, lowercase, title case, camelCase, PascalCase, snake_case, kebab-case, and more. Upload a file or enter text directly. Runs in your browser.

Drop files here or click to browse

Select File

Accepted formats: TXT, PLAINMax file size: 5 MB
Your files are processed entirely in your browser. Nothing is uploaded to any server.

About This Tool

The Text Case Converter transforms text between 10 different case formats commonly used in writing, programming, and data processing. Convert to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, or aLtErNaTiNg CaSe with a single click. Upload a text file or enter text directly. All processing happens in your browser with pure JavaScript.

How to Use

  1. 1Select the target case format from the dropdown.
  2. 2Enter text in the input field, or upload a .txt file.
  3. 3Click "Process" to convert the text.
  4. 4Download the result or copy it from the preview.

When to Use

  • When converting variable names between programming naming conventions (camelCase, snake_case, PascalCase).
  • When formatting titles, headings, or body text to the correct case.
  • When normalizing text data that has inconsistent casing.
  • When creating CSS class names in kebab-case from other formats.
  • When defining constants in CONSTANT_CASE for configuration files.

Tips & Tricks

  • camelCase and PascalCase work best with space-separated or hyphenated input.
  • snake_case and kebab-case strip special characters and convert spaces to underscores or hyphens.
  • Title Case capitalizes the first letter of every word.
  • Sentence case capitalizes only the first letter after sentence-ending punctuation.
  • Alternating case is useful for meme-style text formatting.

Frequently Asked Questions

The tool supports 10 formats: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and aLtErNaTiNg CaSe.

The tool uses JavaScript built-in string methods, which support Unicode. Uppercase and lowercase conversions work for most languages. Programming-specific formats (camelCase, snake_case, etc.) work best with ASCII characters.

No. All conversions happen entirely in your browser using JavaScript string manipulation. Your text never leaves your device.

Related Tools