Start a project

Tool 362 of 425 · Text case

Text Case Converter

Converts text and identifiers between every common naming style, one line at a time.

Text Case Converter

Your input

Result

StyleFirst line
Converted list

01

What it does

Converts text and identifiers between every common naming style, one line at a time.

  • camelCase, PascalCase, snake_case, kebab-case
  • CONSTANT_CASE, dot.case and path/case
  • Title Case with small words kept lower
  • Converts a whole list line by line

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Every case style plus a converted list, with a Copy and a Download button on every result.

  • camelCase
  • snake_case
  • Naming

Why it matters

Moving names between JSON, CSS, SQL and environment variables means switching naming styles all the time, and doing it by hand invites typos.

Words are split on spaces, punctuation and camelCase humps, so mixed input such as XMLHttpRequest or user_ID converts cleanly.

How to use it

  1. Type or paste your input; the example shows the format.
  2. Press Convert. Results also update as you type.
  3. Read the summary line, then the table, notes or output below it.
  4. Copy or download what you need. Nothing leaves this page.

FAQ

How are acronyms handled?

A run of capitals followed by a lower-case word is split, so XMLHttpRequest becomes xml http request before it is re-joined.

Which words stay lower case in Title Case?

Short joining words such as a, an, and, of, the, to and in, unless they come first.

Is my input uploaded?

No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

Can I rely on the result?

It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk