Case Converter Online — camelCase snake_case kebab

Convert identifiers between camelCase, PascalCase, snake_case, SCREAMING_SNAKE, and kebab-case with a live preview. An optional per-line mode handles bulk lists, and Unicode letters stay as they are.

Loading…
Case converter
Tokenizes on non-alphanumeric separators and camel/Pascal boundaries, then rejoins for the target case. Live preview and optional per-line mode for identifier lists.

How conversion works

Paste an identifier or phrase and pick the target case. The result updates as you type. Digits stay attached to the preceding run of letters (foo2Bar → foo2 + Bar). Enable Convert each line when you paste a newline-separated list. Every non-empty line is converted independently, and blank lines are preserved. Empty input gives an explicit error.

Options

Target case
Choose camel, Pascal, snake, SCREAMING_SNAKE, or kebab. Your choice sets the style of the output.

Examples

snake → Pascal

Input

foo_bar-baz

Output

FooBarBaz

camel → SCREAMING

Input

foo2Bar

Output

FOO2_BAR

Related utilities

For URL slugs, use Slugify (separators + diacritics). This converter keeps identifier semantics.

Case converter FAQ

Identifiers

How is this different from Slugify?

Slugify builds URL slugs (separators, accents). This tool converts identifier case without diacritic stripping.

Title Case / dot.case?

No. The tool offers only camel, Pascal, snake, SCREAMING_SNAKE, and kebab.

Empty input?

The tool shows an error and asks for an identifier or a phrase. It never reports a silent success.

Are accents stripped?

No. caféBar keeps café inside the token.

Which scripts are supported?

Tokenization targets Latin letters (A–Z and Latin Extended, e.g. café). Non-Latin scripts (CJK, etc.) do not form tokens and may yield an empty error.

When should I use per-line mode?

Use it when you paste several identifiers separated by newlines. Each line converts on its own, instead of the newlines acting as word separators in one block.

Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugs, number bases, letter case, text diff, chmod and Lorem Ipsum, all in your browser.