Skip to content

Case Converter

Type or paste text to see it instantly converted to every common case at once — UPPERCASE, lowercase, Title Case and Sentence case for prose, plus camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE for code.

Text

Processed locally. Your text never leaves your browser.

Converted

Type some text to see every case at once.

Common questions

How does it decide where one word ends and the next begins for camelCase, snake_case, etc.?

By splitting on whitespace, hyphens, and underscores, plus two extra rules: a lowercase-to-uppercase transition (myVariable → my, Variable) and an acronym-to-word transition (XMLParser → XML, Parser). That's why "XMLHttpRequest" becomes "xml_http_request" in snake_case rather than treating every capital letter as its own word.

Does converting to kebab-case or snake_case strip accents or special characters, like a URL slug would?

No — it only changes casing and word separators. "café résumé" becomes "café-résumé" in kebab-case, accent and all, not "cafe-resume". If you specifically need an accent-stripped, URL-safe slug, use Slug Generator instead.

What's the difference between Title Case and Sentence case here?

Title Case capitalizes the first letter of every word. Sentence case only capitalizes the very first letter and the first letter after ., !, or ?. Both work directly on your original text, so line breaks and spacing stay exactly as you typed them — unlike the programming cases (camelCase, snake_case, etc.), which always collapse everything into a single continuous token.