Case Converter

🔒 Processed 100% in your browser — nothing is uploaded

About this tool

Every ecosystem has its own naming religion: JavaScript wants camelCase variables and PascalCase classes, Python and database columns want snake_case, constants live in SCREAMING_SNAKE_CASE, CSS classes and URLs use kebab-case, and environment variables are uppercase with underscores. Crossing a language boundary means renaming every identifier by hand — ten minutes of pure tedium per list, and one missed character creates a bug that survives code review.

Case Converter ends it. Paste any text — a phrase, a variable name or a whole list, one item per line — and get every common casing at once: UPPERCASE, lowercase, Title Case, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE, each with its own copy button so you take exactly the one you need. A slugify output joins them, turning arbitrary titles into URL-safe slugs with punctuation stripped and spaces dashed — handy for naming blog posts or file downloads. Multi-line input converts line by line, which makes it practical for renaming a whole column of identifiers exported from a spreadsheet.

The word-splitting logic is what makes it trustworthy: camelCase humps, underscores, dashes and spaces are all treated as separators, so converting between conventions in either direction works instead of producing one long mashed word — myVariableName, my-variable-name and MY_VARIABLE_NAME all recognize as the same three words. As a quick cheat sheet: camelCase for JS/TS functions and variables, PascalCase for classes and React components, snake_case for Python and DB columns, kebab-case for CSS classes, URLs and file names, CONSTANT_CASE for constants and environment variables.

Everything happens in your browser, instantly, with nothing sent anywhere — so internal codenames stay internal.

How to use Case Converter

  1. Paste or type the text to convert — a single identifier or a multi-line list.
  2. All casings render at once: UPPER, lower, Title, camel, Pascal, snake, kebab, CONSTANT and slug.
  3. Press the Copy button next to the casing you need.
  4. For lists, keep one item per line and each line is converted independently.

Frequently asked questions

Does it handle camelCase input correctly?

Yes. Case humps, underscores, dashes and spaces are all treated as word boundaries, so myVariableName, my-variable-name and MY_VARIABLE_NAME all convert cleanly to any other convention.

What does the slug output do?

Slugify lowercases the text, strips punctuation and joins words with hyphens — the format used in URLs and file names, like case-converter for this very page.

Can I convert a whole list at once?

Yes. Put one identifier per line; each line is converted independently and the outputs stay aligned line by line.

Is anything sent to a server?

No. Conversion is pure string processing in your browser. Nothing is transmitted, so internal project names stay private.

Which casing convention should I use where?

Common practice: camelCase for JavaScript variables and functions, PascalCase for classes and components, snake_case for Python and database columns, kebab-case for CSS classes, URLs and filenames, CONSTANT_CASE for constants and environment variables.

What is the difference between kebab-case and a slug?

Same core idea — lowercase words joined by hyphens — but slugify also strips punctuation and special characters, producing strings safe to paste straight into a URL or filename.

How much text can it convert at once?

There is no practical limit. Conversion is pure local string processing, so a list of thousands of lines renders just as instantly as a single word.