FTJ
← All Tools

Text Case Converter

Convert text between uppercase, lowercase, title case, sentence case, camelCase, snake_case, kebab-case, and URL slugs.

Convert text between camelCase, snake_case, kebab-case, PascalCase, UPPERCASE, lowercase, and Title Case. Paste your text and pick the target format.

How to use Text Case Converter

  1. Paste or type your text in the input field.
  2. Select the target case format from the buttons above the output.
  3. Copy the converted text to your code or document.

Features

  • Supports 8 common case formats: camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, lowercase, UPPERCASE, Title Case.
  • Handles mixed-input text and converts in one pass.
  • Smart word boundary detection for already-cased input.
  • Instant conversion with no submit button needed.

FAQ

How does the converter detect word boundaries in camelCase?

It uses uppercase letters as boundary markers: 'userName' splits into 'user' and 'Name'. For acronyms like 'parseURL', it treats consecutive uppercase letters as a single word until the last uppercase before a lowercase.

Can I convert multiple lines at once?

Yes. Each line is converted independently, so a multi-line list of variable names can be converted from camelCase to snake_case in one operation.

What case should I use for CSS class names?

CSS conventionally uses kebab-case (lowercase with hyphens) because hyphens are valid in CSS selectors and CSS custom properties. BEM and other methodologies build on kebab-case.

Related Articles

Related Tools