String Case Converter

Convert words, identifiers, and text between common programming and writing case styles instantly.

Text input

Paste identifiers, headings, API fields, paths, or mixed separator text.

Processed locally in your browser Limit Plain text. Your input is processed in your browser and is not uploaded or sent to a server. Avoid pasting production secrets, access tokens, private keys, passwords, or sensitive customer data unless you understand the risk.
0 input characters0 tokenscamelCase

camelCase output

Read-only converted text. Input is treated as text only and never executed.

Converted output appears here as you type.
Input length0
Tokens0
Selected casecamelCase

Load a sample or paste text to generate every supported case style.

Quick Outputs

Copy any converted value directly, or select a card to make it the main output.

String Case Conversion Guide

Use string case conversion when the same words need to move between code identifiers, file names, API fields, headings, and documentation.

camelCase vs PascalCase

camelCase starts with a lowercase token and capitalizes following tokens. PascalCase capitalizes every token, which is common for classes, components, and types.

snake_case vs kebab-case

snake_case joins lowercase tokens with underscores and is common in data fields. kebab-case joins tokens with dashes and is often used for URLs, CSS classes, and file names.

Identifiers vs headings

Identifier cases remove spaces and use separators or capitalization. Heading cases keep spaces and make text easier to read for labels, titles, changelog sections, and documentation.

Acronyms and numbers

With acronym preservation enabled, all-caps tokens such as API, HTTP, and ID stay uppercase in readable and Pascal-style output. Numbers are split from adjacent letters for predictable token counts.

Mixed separators

Spaces, dashes, underscores, dots, slashes, punctuation, and case boundaries can all be treated as token breaks. This keeps messy copied identifiers predictable without interpreting the text as code.

Developer use cases

Convert database columns to TypeScript properties, API fields to environment keys, headings to file names, constants to labels, and copied logs to clean comparison-friendly identifiers.

FAQ

Does this String Case Converter upload my text?

No. Tokenization, conversion, copy actions, and downloads run locally in your browser.

How does the converter split words?

By default it splits on spaces, punctuation, dashes, underscores, dots, slashes, numbers, and camelCase or PascalCase boundaries.

Can it preserve acronyms like API and ID?

Yes. The preserve acronyms option keeps all-caps tokens uppercase in Title Case, Sentence case, PascalCase, Train-Case, and later camelCase tokens.

Is Title Case locale aware?

No. The default behavior uses predictable developer-friendly casing instead of locale-specific title casing rules.

Does this execute templates, code, or identifiers?

No. Input is handled as plain text only. The tool does not evaluate JavaScript, templates, shell syntax, or expressions.