Text Case Converter
Convert text between camelCase, snake_case, kebab-case, Title Case and more.
Case conversion
Private by design. Everything runs locally in your browser. Your input is never uploaded, logged or stored on a server.
How to use the Text Case Converter
- Paste the text, or a list with one item per line.
- Pick the target case: sentence, title, upper, lower, camel, Pascal, snake, kebab or constant.
- Every line is converted independently, so a whole list of identifiers converts in one pass.
- Copy the result.
A worked example
user profile image
camelCase userProfileImage · snake_case user_profile_image · kebab-case user-profile-image
The same three words in the three conventions a codebase usually needs at once — a variable, a database column and a URL segment.
Frequently asked questions
What is the difference between camelCase and PascalCase?
Both remove separators and capitalise each word, but camelCase leaves the first word lowercase (userName) while PascalCase capitalises it (UserName). JavaScript uses camelCase for variables and PascalCase for classes and components.
What is the difference between Title Case and Sentence case?
Title Case capitalises the significant words in a heading. Sentence case capitalises only the first word and any proper nouns, like a normal sentence.
How does it handle acronyms?
Consecutive capitals are kept together as one word, so parseXMLFile becomes parse_xml_file rather than parse_x_m_l_file.
Does it work with non-English text?
Yes. Casing uses the browser Unicode-aware functions, so accented Latin, Greek and Cyrillic convert correctly. Scripts without case, such as Chinese and Japanese, pass through unchanged.
About the Text Case Converter
Renaming variables, normalising CSV headers and rewriting headings all come down to the same operation: split the input into words, then re-join them with different casing and separators.
Splitting is the part that goes wrong elsewhere. This converter treats spaces, underscores, hyphens and camelCase boundaries as separators, and keeps acronym runs together — so parseHTTPResponse splits into parse, HTTP, Response rather than one word per capital letter.
Title Case follows the AP-style convention of lowercasing short articles, conjunctions and prepositions unless they are the first or last word, which is what editors expect and what naive per-word capitalisation gets wrong.
Maintained by Ikonode. Last checked against the code on 11 September 2026.
What it does not do
- Title case uses a simple rule. It does not know which words your house style leaves lower case.
- Casing follows your browser locale rules, which matters for languages where uppercasing is not a character-by-character operation.
- Acronyms are treated as ordinary words, so
parseHTTPResponsewill not survive a round trip unchanged.