Skip to main content
FixMyTech

Case Converter — camelCase, snake_case and Title Case

Convert text between sentence case, Title Case, camelCase, snake_case, kebab-case and CONSTANT_CASE. Click any result to copy.

Converted

Click any result to copy it. Multi-line input is converted line by line for the programming formats.

About this tool

Type or paste text and get nine conversions at once — sentence case, lowercase, UPPERCASE, Title Case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE. Click any result to copy it. The converter understands existing word boundaries, so XMLHttpRequest correctly becomes xml_http_request rather than one long token.

This is most useful when moving names between contexts that disagree about convention — a database column in snake_case, a JavaScript variable in camelCase, a CSS class in kebab-case, and a heading in Title Case, all derived from the same phrase.

Because every format is generated from a single tokenisation of your input, the conversions are consistent with each other: the word boundaries are decided once and every output uses the same ones.

What it does

  • Nine formats generated simultaneously
  • Handles acronyms like XMLHttpRequest correctly
  • Splits on case, digit and separator boundaries
  • Title Case follows standard minor-word rules
  • Multi-line input converted line by line
  • Click to copy any result

Frequently asked questions

How does Title Case decide which words to leave lowercase?
Articles, short conjunctions and short prepositions — a, an, the, and, but, of, in, on, to and similar — stay lowercase unless they are the first or last word. That matches the convention used by most style guides.
Why does it split XMLHttpRequest into three words?
Because that is what the name means. The converter detects the boundary between a run of capitals and a following capitalised word, so XML, Http and Request are separate tokens and snake_case output is readable.
Can I convert a list of names at once?
Yes. Paste one item per line. The identifier formats — camelCase, snake_case and so on — convert each line separately, so you get a list of identifiers rather than one merged string.
Does it handle accented characters?
The prose formats do. The identifier formats strip non-alphanumeric characters, since accented letters are not valid in most identifier syntaxes.

Last updated .