Converters

String Case Converter

Paste a string and see it converted into every common naming convention simultaneously. camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE_CASE, Title Case, Sentence case, dot.case, path/case, Train-Case, and slug-case. No more guessing which convention your framework expects — just paste and copy the one you need.

String Case Converter — Convert a string into every naming convention at once

What it does

  • Converts to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE
  • Also converts to Title Case, Sentence case, dot.case, path/case, Train-Case
  • Generates URL-friendly slug-case (lowercase, hyphenated, special chars removed)
  • Title Case handles small words correctly (a, an, the, of, in, etc.)
  • Shows all conventions at once so you can pick the right one

Use cases

  • Converting a JSON field name from snake_case to camelCase for JavaScript
  • Generating a CSS class name in kebab-case from a Title Case string
  • Creating a constant name in SCREAMING_SNAKE_CASE from a description
  • Generating a URL slug from a blog post title

How it works

1

Paste your string into the input pane

2

The tool detects word boundaries (spaces, hyphens, underscores, camelCase)

3

All naming conventions are displayed simultaneously in the output

4

Copy the convention you need

Frequently asked questions

1How does it detect word boundaries in camelCase?

The tool uses the change-case library which handles all common word boundary patterns: spaces, hyphens, underscores, and camelCase transitions (myVariableName becomes [my, Variable, Name]).

2Does Title Case handle small words?

Yes. The Title Case converter follows the standard convention of keeping small words (a, an, and, as, at, but, by, for, in, nor, of, on, or, the, to, vs) lowercase unless they're the first or last word.

3What's the difference between slug-case and kebab-case?

Kebab-case simply uses hyphens between words. Slug-case also converts to lowercase and removes special characters that aren't URL-safe, making it suitable for use in URLs.

Related tools

Use String Case Converter offline in Devinity

All 95 tools run locally on your Mac. No internet required, no data sent to servers.

Download Devinity →