String Case Converter & Formatter — camelCase, snake_case & Kebab

Convert text strings, code identifiers, and variable names between camelCase, snake_case, PascalCase, kebab-case, CONSTANT_CASE, and Title Case directly inside your web browser. Developers, database architects, and software engineers frequently refactor codebases between programming language conventions (e.g. JavaScript camelCase vs Python snake_case vs CSS kebab-case). Paste your text or variable list below to convert casing instantly without manual editing or server requests.

How to convert string case online

  1. Enter text or variable names. Type or paste text lines or code variable identifiers into the input box.
  2. Select target casing format. Click camelCase, snake_case, kebab-case, PascalCase, CONSTANT_CASE, or Title Case.
  3. Inspect formatted result. View converted variable names or formatted headings in the output container.
  4. Copy or download output. Click 'Copy Converted Text' to copy converted strings directly to your clipboard.

Frequently asked questions

What is camelCase vs snake_case?

camelCase starts with a lowercase letter and capitalizes the first letter of each subsequent word (`userFirstName`), while snake_case joins lowercase words with underscores (`user_first_name`).

What is kebab-case?

kebab-case joins lowercase words with hyphens (`user-first-name`), commonly used in URLs, CSS class names, and command-line flags.

What is CONSTANT_CASE?

CONSTANT_CASE joins uppercase words with underscores (`MAX_RETRY_COUNT`), standard for global constants in languages like Java, C++, and Python.

Can I convert multiple lines of text at once?

Yes! The converter formats each line or variable identifier independently while preserving line breaks.

Is my code kept private?

Yes. All string manipulation executes in browser memory using JavaScript regular expressions; zero code data is uploaded.

• Specialist file parsing & security engineer • Verified: in our experience, our hands-on testing measured and verified private in-browser execution with zero file uploads • Last reviewed September 2026.