OpenReplay Logo
12k

Case converter

Convert text between camelCase, snake_case, kebab-case, PascalCase and more — live, with every casing at once, processed locally in your browser.

Processed locally
camelCase
PascalCase
snake_case
SCREAMING_SNAKE_CASE
kebab-case
dot.case
path/case
Title Case
Sentence case
lowercase
UPPERCASE

About this tool

Case conversion re-spells an identifier in a different naming convention without changing its words. This tool splits your text into words — breaking on spaces, underscores, hyphens, dots and slashes, as well as camelCase boundaries and acronym runs — then rejoins them as camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, dot.case, path/case, Title Case, Sentence case, lowercase or UPPERCASE, all at once.

Use it to rename variables, database columns or environment variables to a project's convention, normalize identifiers copied from another language, or batch-convert a pasted list of names line by line.

Conversion runs entirely in your browser as you type — nothing is sent to a server, so it is safe to paste internal field names, table columns, or other private identifiers.

Frequently asked questions

How does the converter handle acronyms like XMLHttpRequest?

It treats a run of capitals followed by a capital-then-lowercase as a boundary, so "XMLHttpRequest" tokenizes to xml, http, request. That gives correct results such as xml_http_request in snake_case and xmlHttpRequest in camelCase.

What is the difference between snake_case and SCREAMING_SNAKE_CASE?

Both join words with underscores. snake_case keeps every word lowercase (max_retry_count), while SCREAMING_SNAKE_CASE uppercases them all (MAX_RETRY_COUNT) and is the common convention for constants and environment variables.

Can I convert multiple lines at once?

Yes. Each line of the input is tokenized and converted independently, and blank lines are preserved, so pasting a list of identifiers returns the same list with every line remapped to the chosen case.