Text
Case Converter
Convert text or an identifier into every common naming style at once — camelCase, snake_case, kebab-case, and more. Recognizes word boundaries in camelCase/PascalCase, acronyms (XMLParser → XML + Parser), and around digits.
The tool detects word boundaries in any text or identifier — spaces, underscores, hyphens, camelCase/PascalCase boundaries, and abbreviations — and instantly converts the result into every common naming style.
Naming styles
- camelCase — first word lowercase, every following word capitalized, no separators (myVariableName).
- PascalCase — every word capitalized (MyClassName) — typical for class names.
- snake_case — all words lowercase, joined with underscores (my_variable_name) — common in Python and databases.
- kebab-case — words joined with hyphens (my-page-name) — the standard for URLs and CSS classes.
- CONSTANT_CASE, Title Case, Sentence case — for constants and readable headings.
Common uses
- Renaming a variable or function to match another language's convention (e.g. Python's snake_case → JavaScript's camelCase).
- Turning an article title into a URL slug.
- Normalizing database column names or API fields to one consistent style.
Things to keep in mind
Abbreviations (XMLParser, HTTPClient) are recognized as single words automatically, so conversion doesn't break them into individual letters.
Converting to lower case or UPPER CASE is irreversible — keep the original around if you'll need it back.
Article about this tool: Case Converter: why different naming styles exist
Frequently asked questions
Which case styles are supported?
The tool converts to camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, Title Case, Sentence case, lower case, UPPER CASE, dot.case, and path/case, all generated at once from a single input.
How does the tool detect word boundaries?
It spots case changes within camelCase and PascalCase, handles abbreviations like XMLParser by splitting them into XML and Parser, and separates digits stuck to letters to identify each word correctly.
Is the text I paste sent anywhere?
No, all conversion runs directly in your browser in JavaScript — nothing is transmitted to a server.
Why does letter casing matter for code at all?
In most programming languages, casing technically doesn't affect execution (except for identifiers in case-sensitive languages), but a consistent style is critical for readability and for linters, IDEs, and documentation generators, which often expect a specific style for a specific kind of entity.
Can I recover the original text after conversion?
Not always exactly. Converting to lower case or UPPER CASE is irreversible if the original had mixed casing — the information about which letters were originally capitalized is lost.