Text Case Converter

Convert text between camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, title case, and more.

Runs locally in your browser. No account required.

Practical usage guide

What this tool does

Text Case Converter turns detected words into camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, title case, sentence case, lowercase, or uppercase. Identifier modes are useful when moving labels between code, documentation, environment variables, and URLs.

Word detection is heuristic. Acronyms, digits, punctuation, and existing camelCase boundaries can be interpreted differently from a language-aware editor, so review names that form public APIs or permanent identifiers.

Quick start

Paste a label or identifier

Use spaces, punctuation, underscores, hyphens, or existing case changes to indicate word boundaries.

Choose the destination convention

Use camel or Pascal for code, snake or constant for data and environment variables, and kebab for many URL or CSS conventions.

Review acronyms and numbers

Check names such as OAuth2Client, APIResponse, and version labels because automatic capitalization may not match a project style guide.

Common use cases

Create code identifiers

Convert a product label into variable, class, constant, or file-name conventions.

Map field naming styles

Preview how API fields might look when translating between snake_case and camelCase conventions.

Normalize headings and labels

Apply consistent title, sentence, lower, or upper case to short interface copy.

Limitations and important notes

Identifier modes primarily detect ASCII words

Pure Chinese text may produce an empty result in camel, Pascal, snake, kebab, or constant modes. Lowercase and uppercase preserve non-Latin text.

Title case is not language-aware

The tool does not apply editorial rules for articles, prepositions, names, or locale-specific capitalization.

Identifier conversion removes punctuation

Symbols are treated as separators in identifier-style output. Keep a copy of the original when punctuation carries meaning.

Examples

Convert identifier

Turn a label into common code identifier styles.

Frequently asked questions

Does the converter preserve punctuation?

Identifier-style cases use detected words and separators. Lowercase, uppercase, and sentence case keep the original text structure.

Related tools