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.
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.