tools / case-converter

Case Converter

A case converter for text — switch between UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, and kebab-case. Everything runs in your browser.

Input
Output
Convert to

Which case should I use?

Naming conventions vary by language and context: JavaScript variables typically use camelCase, classes use PascalCase, Python variables and functions use snake_case, URL slugs and CSS classes use kebab-case, and constants across most languages use CONSTANT_CASE.

How word boundaries are detected

This tool splits input on spaces, hyphens, underscores, and camelCase/PascalCase boundaries (a lowercase letter followed by an uppercase one), so pasting my-variable_name or myVariableName both convert correctly to any target case.

Frequently asked questions

What's the difference between camelCase and PascalCase?

Both join words with no separator and capitalize each word's first letter — the only difference is the very first letter. camelCase starts lowercase (myVariable); PascalCase starts uppercase (MyVariable).

Does this handle multi-line text?

Yes for UPPERCASE, lowercase, Title Case, and Sentence case, which preserve line breaks. The programming-case conversions (camelCase, snake_case, etc.) join everything into a single identifier, since that's how those cases are actually used in code.

Is my text uploaded when I use this tool?

No. Conversion happens instantly in your browser — nothing is sent to a server.