case-converter
Type or paste any identifier or phrase to see it converted to every common case at once. The format you paste in is detected automatically — camelCase, PascalCase, snake_case, kebab-case, or plain words all work as input.
client-side only 9 formats at once no signup
input.txt
all-cases.txt
// how the input is read
// which case to use where
- camelCase — local variables, function parameters, and method names in C#, Java, and JavaScript.
- PascalCase — class names, public members, and method names in C#; component names in React.
- snake_case — database column and table names, Python identifiers, many JSON API payloads.
- kebab-case — URL slugs, CSS class names, HTML attributes, command-line flags, npm package names.
- CONSTANT_CASE — constants and environment variable names in most languages, including C#'s
constconventions in some style guides. - dot.case — configuration keys (appsettings.json section paths, Java properties files, Serilog output templates).
The input is split back into individual words regardless of how it's formatted: uppercase-to-lowercase boundaries split camelCase and PascalCase (
getHTTPResponseCode→get,HTTP,Response,Code, with acronym runs likeHTTPkept together instead of splitting into single letters), and underscores, hyphens, dots, and whitespace all split snake_case, kebab-case, dot.case, and plain phrases. Every output format is then rebuilt from that same word list, so convertingfooBarto snake_case and back to camelCase round-trips cleanly.