Case Converter

Switch text between camelCase, snake_case, kebab-case, PascalCase, Title Case and more.

Type or paste text; every style updates live. Each line is converted on its own.

camelCase
—
PascalCase
—
snake_case
—
SCREAMING_SNAKE_CASE
—
kebab-case
—
dot.case
—
path/case
—
Title Case
—
Sentence case
—
lower case
—
UPPER CASE
—
tOGGLE cASE
—

How it works

The converter first breaks your text into words. It splits on spaces and punctuation, on underscores, hyphens, dots and slashes, and inside camelCase or PascalCase identifiers wherever a lower-case letter or digit is followed by a capital. Runs of capitals are treated as acronyms, so parseHTMLResponse becomes parse, HTML and Response, and XMLHttpRequest becomes XML, Http and Request. Those words are then re-joined in every style at once: camelCase and PascalCase for JavaScript, Java and C#, snake_case for Python, Ruby and SQL columns, SCREAMING_SNAKE_CASE for constants and environment variables, kebab-case for CSS classes, URLs and file names, dot.case for configuration keys, and path/case for routes. Title, Sentence, lower and UPPER case cover prose, while toggle flips every letter of the original text.

Common questions

Privacy

Everything happens in your browser as you type. The text is never uploaded.