Case Converter
Convert text between common cases — useful for variable names, titles, and copy.
—
—
—
—
—
—
—
—
How this case converter works
Paste text and convert instantly between common cases — UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case, and CONSTANT_CASE — all processed locally as you type.
Programming case conventions, precisely
camelCase and PascalCase differ only in the first letter's capitalization (myVariable vs MyVariable), but that single difference carries real meaning in many languages' style guides — PascalCase for classes/types, camelCase for variables/functions, in conventions like C# and Java. snake_case and kebab-case both use lowercase words joined by a separator (_ vs -), but kebab-case can't be used directly as an identifier in most programming languages since hyphens read as a minus operator — it's mainly seen in URLs, CSS classes, and file names instead.
The locale casing trap
Case conversion isn't purely mechanical: in Turkish, the uppercase of i is İ (dotted I) and the lowercase of I is ı (dotless i) — different from the English-locale behavior most tools (including many programming languages' default string methods) assume. If you're converting text that includes Turkish, Azerbaijani, or a few other locales with this same dotless-i behavior, a locale-unaware converter can silently produce the wrong letter.
Frequently asked questions
What's the actual difference between camelCase and PascalCase?
Only the first letter's case (myVariable vs MyVariable), but by convention PascalCase is typically used for class/type names and camelCase for variables and function names in many languages.
Can kebab-case be used as a variable name in code?
No, in most languages — the hyphen is interpreted as a minus operator. kebab-case is mainly used in URLs, CSS class names, and file names instead.
Does this handle non-English characters correctly?
For most Latin-script text, yes. A few locales (Turkish notably) have casing rules that differ from the default English-locale behavior most software assumes, which can trip up case converters that aren't locale-aware.