🔒 Runs in your browser — nothing is uploaded✓ Free, no signup

Case Converter — camelCase, snake_case, Title Case & More

Type or paste text and see it in every case at once: UPPER, lower, Title, Sentence, camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case.

Code cases (camelCase, snake_case…) convert each line separately, so you can paste a list of names.

Converted

  • UPPER CASE
  • lower case
  • Title Case
  • Sentence case
  • camelCase
  • PascalCase
  • snake_case
  • CONSTANT_CASE
  • kebab-case
  • dot.case

When should you use the Case Converter?

  • Renaming variables between languages (e.g. snake_case in Python to camelCase in JavaScript)
  • Turning a heading into a URL slug or CSS class name
  • Fixing text that was typed with Caps Lock on

How to use the Case Converter

  1. 1

    Paste your text

    Type a phrase or paste a list of names, one per line.

  2. 2

    See every case

    All conversions appear on the right as you type — no buttons to press.

  3. 3

    Copy the one you need

    Click Copy next to the style you want.

Examples

Mixed input to code styles

Input

userID from HTTPServer

Output

camelCase      userIdFromHttpServer
PascalCase     UserIdFromHttpServer
snake_case     user_id_from_http_server
CONSTANT_CASE  USER_ID_FROM_HTTP_SERVER
kebab-case     user-id-from-http-server

Title Case keeps small words lowercase

Input

the lord of the rings

Title Case

The Lord of the Rings

Common errors and how to fix them

Acronyms lose their capitals in Title Case
Title Case capitalises only the first letter of each word, so API becomes Api. Fix acronyms by hand after converting.
Punctuation disappears in camelCase or snake_case
Code cases keep only letters and numbers, because punctuation isn't allowed in most identifiers. Use UPPER, lower, Title or Sentence case to keep punctuation.
Related tools: Word Counter · Text Diff · Lorem Ipsum Generator

More from Text Tools

Free tools that run in your browser — no signup, nothing uploaded.

Case Converter FAQ

camelCase joins words with no spaces, starting lowercase and capitalising each following word: userAccountId. It's the usual style for variables and functions in JavaScript, Java and many other languages.

PascalCase capitalises the first word too: UserAccountId. It's commonly used for class names, React components and TypeScript types.

snake_case (user_account_id) is standard in Python, Ruby and database column names. kebab-case (user-account-id) is used in URLs, CSS class names and file names. CONSTANT_CASE is used for constants and environment variables.

Small words such as a, an, the, and, of, in and to stay lowercase unless they are the first or last word, following common headline style: The Lord of the Rings.

Yes. Paste one name per line — the programming cases (camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case and dot.case) convert each line separately.

The converter splits on spaces, punctuation, underscores, hyphens and case changes, so userID becomes user + ID and HTTPServer becomes HTTP + Server before converting.