πŸ”€

Text Case Converter

Convert text between all common programming and typography cases instantly.

Input Text

About Text Case Converter

Text Case Converter transforms any input text into 14 different naming conventions and typographic cases simultaneously β€” including camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, TRAIN-CASE, dot.case, path/case, UPPER CASE, lower case, Title Case, Sentence case, aLtErNaTiNg cAsE, and reversed text. The converter intelligently splits words by spaces, existing case boundaries, hyphens, and underscores.

All conversions happen live in your browser without any server calls, making it safe to use with proprietary variable names, internal API identifiers, or sensitive configuration keys.

Common Use Cases

How to Use

  1. Type or paste your text into the Input Text area β€” all 14 case variants update instantly
  2. Scroll through the case grid to find the variant you need
  3. Click the Copy button on any card to copy that specific variant to your clipboard
  4. Use the Sample button to load an example and see how each case transformation works

Frequently Asked Questions

Does the converter handle existing camelCase or PascalCase input correctly?

Yes. The word splitter uses regex to detect transitions between lowercase and uppercase letters (e.g. myVariableName β†’ my Variable Name) before applying any transformation. It also splits on hyphens, underscores, dots, and slashes, so input in any common convention is handled correctly.

What is the difference between kebab-case and TRAIN-CASE?

Both use hyphens as word separators. kebab-case uses all lowercase letters (common for CSS classes and URL slugs), while TRAIN-CASE capitalizes the first letter of each word (sometimes used in HTTP header names like Content-Type).

Can I convert multi-line text or entire blocks of code?

The converter is designed for single identifiers or short phrases rather than multi-line code blocks. For best results, paste one variable name or label at a time. Multi-line input may produce unexpected results because newlines are treated as word boundaries.

Advertisement