Case converter
Switch text between sentence, title, camel, snake, kebab and constant case.
Open this tool
Checking access…
About this tool
Convert text or an identifier between ten cases: lower, upper, title, headline, sentence, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Word splitting understands the boundaries programmers care about, so parseHTTPResponse becomes parse_http_response rather than one run-on word, and accented and non-Latin text is handled correctly. Paste a single identifier and every style is shown at once with a copy button beside each.
Using this tool
What happens to acronyms in title case?
Title case lowercases the rest of each word, so ALCO becomes Alco. That is what title case means, but it is worth knowing before you convert a heading full of initialisms — convert those by hand or use headline case on the surrounding words.
How is headline case different from title case?
Headline case leaves minor words — a, an, the, of, to, in, and similar — lowercase unless they are the first or last word. Title case capitalises every word without exception.
Why does base64 become base_64?
A letter followed by a digit is treated as a word boundary, which is the same rule the common JavaScript case libraries use, and it is what you want for names like user2id. If you need the digits kept attached, adjust that one line afterwards.
More text tools
JSON formatter and validator
Indent, minify, sort and check JSON, with errors reported by line and column.
Open JSON formatter and validatorBase64 encoder and decoder
Convert text to Base64 and back, with correct handling of accents and emoji.
Open Base64 encoder and decoderText compare
Compare two blocks of text line by line and see exactly what changed.
Open Text compareNeed more than a quick tool?
These are free and always will be. If one of them is solving a problem you keep having, the underlying issue is usually worth a conversation.