Mentigo Icon
MentigoInstrument deck
deck Data & Code Utilities String Case Converter
Back to deck
Data & Code Utilities

String Case Converter

Convert text to camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, and more — every variant generated at once.

Runs privately in your browser — your input is never uploaded or tracked.

Case Converter — camelCase, snake_case, kebab-case & More

Convert any text between camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, UPPERCASE, and lowercase instantly — all variants generated at once from a single input. This free online case converter is built for developers renaming variables, translating API field names, and normalizing identifiers across languages and style guides.

Different ecosystems demand different conventions: JavaScript prefers camelCase, Python and SQL lean on snake_case, CSS classes and URLs use kebab-case, React components take PascalCase, and environment variables shout in CONSTANT_CASE. Paste once, and copy the exact variant each context needs.

How to Convert Text Case

  1. Paste or type your text

    Enter a variable name, phrase, heading, or list of identifiers.

  2. See every case at once

    The tool generates camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, Title Case, and more simultaneously.

  3. Copy the variant you need

    One click copies any converted form — no re-typing, no manual find-and-replace.

Supported Case Formats

  • camelCase

    The JavaScript, Java, and JSON API standard — first word lowercase, subsequent words capitalized.

  • snake_case & CONSTANT_CASE

    Python, Ruby, SQL, and Rust naming, plus the uppercase variant for constants and env vars.

  • kebab-case

    CSS classes, URL slugs, and CLI flags — lowercase words joined by hyphens.

  • PascalCase

    Class names in most languages and React component names.

  • Title, sentence, upper & lower case

    Editorial transforms for headlines, labels, and copy — handled alongside the programming cases.

Frequently Asked Questions

What is the difference between camelCase and PascalCase?

camelCase starts with a lowercase letter (userName), PascalCase starts with an uppercase letter (UserName). Convention: camelCase for variables and functions, PascalCase for classes and components.

When should I use snake_case vs kebab-case?

snake_case (user_name) is standard in Python, Ruby, and SQL identifiers. kebab-case (user-name) is used where underscores are awkward: URLs, CSS classes, file names, and CLI flags. Kebab-case cannot be used for variable names in most languages because the hyphen reads as subtraction.

Can I convert a whole list of names at once?

Yes — paste multiple lines and each line is converted, which is perfect for translating an API's field list or renaming a batch of files.

How does the converter detect word boundaries?

It splits on spaces, hyphens, underscores, and existing capital letters, so camelCase, snake_case, and plain sentences all convert accurately from any starting format.