Case Converter - camelCase, snake_case, Title Case & More

Paste any text or identifier and get it converted to every common naming style at once — copy the one you need with a click.

Type a phrase, a variable name, or a heading and click Convert. The tool splits it into words, then rebuilds it in ten styles from camelCase to dot.case.

Case Converter - camelCase, snake_case, Title Case & More
Paste any text or identifier and get it converted to every common naming style at once — copy the one you need with a click.

How it works: the input is split into words on spaces, underscores, hyphens, and camelCase boundaries, then each style joins the words back with its own separators and capitalization rules.

About the case converter

Every programming language, framework, and style guide has opinions about how multi-word names should be written, and switching between those conventions by hand is tedious and error-prone. This case converter takes any input — a plain phrase, an existing identifier, a heading, a database column — breaks it into its component words, and instantly rebuilds it in ten widely used styles so you can copy exactly the one your context requires. The tokenizer is what makes the conversion reliable. It splits your input on spaces, underscores, hyphens, dots, and any other punctuation, and it also detects camelCase boundaries inside a single token, including runs of capitals such as acronyms. That means you can paste an identifier that is already in one convention and translate it directly into another without retyping: a JavaScript property becomes a Python variable, a CSS class becomes a React component name, a heading becomes a URL slug. Each output style has a real home. camelCase, with a lowercase first word, is the default for variables and functions in JavaScript, Java, and Swift. PascalCase capitalizes every word and is the convention for class names, React components, and C# types. snake_case joins lowercase words with underscores and dominates Python, Ruby, and SQL column names. kebab-case uses hyphens and is the standard for CSS classes, HTML attributes, npm package names, and URL slugs. CONSTANT_CASE — uppercase words joined by underscores — signals compile-time constants and environment variables. Title Case capitalizes each word for headlines and navigation labels, while Sentence case capitalizes only the first, matching most modern UX writing guidelines. Plain lowercase and UPPERCASE handle bulk reformatting, and dot.case appears in configuration keys, i18n message ids, and file names. Everything happens locally in your browser as you click — no network request, no server, no logging — so it is safe to convert internal identifiers, schema names, or unreleased product copy. The converter is also handy outside of code: writers use it to normalize headline capitalization, marketers to build consistent slugs, and data engineers to rename spreadsheet columns before import. A few limitations are worth knowing. The simple Title Case here capitalizes every word, whereas formal editorial title case leaves short articles and prepositions lowercase. Acronyms are normalized like ordinary words, so an all-caps abbreviation becomes lowercase inside snake or kebab output. And digits stick to the word they touch rather than forming separate words. For identifier work — the main job of a tool like this — those defaults are exactly what you want.

Case conversion examples

The same words rebuilt in different conventions — including inputs that already use one style.

InputOutputNote
quick brown foxquickBrownFoxA plain phrase converted to camelCase for a JavaScript variable.
parseHTMLResponseparse_html_responsecamelCase boundaries are detected, including the HTML acronym, and rebuilt as snake_case.
user-profile-pageUserProfilePageA kebab-case slug becomes a PascalCase component name.
MAX_RETRY_COUNTmax-retry-countA CONSTANT_CASE name converted to kebab-case for a CSS custom property or CLI flag.

How to convert text between cases

  1. Paste or type your text or identifier into the Input box — spaces, underscores, hyphens, and camelCase are all understood.
  2. Click Convert to see the text rebuilt in all ten styles at once.
  3. Click the Copy button next to any style to put that version on your clipboard.
  4. Click Clear to reset and convert something else.

Case converter FAQ

What is the difference between camelCase and PascalCase?
Both remove separators and capitalize word starts; the difference is the first word. camelCase leaves it lowercase and is used for variables and functions, while PascalCase capitalizes it and is used for classes, types, and React components.
When should I use snake_case vs kebab-case?
snake_case (underscores) is the convention in Python, Ruby, Rust, and SQL, where hyphens would be read as minus signs. kebab-case (hyphens) belongs to the web: CSS classes, HTML attributes, URLs, and package names, where underscores are legal but unconventional.
How does the converter split words?
It splits on spaces, underscores, hyphens, dots, and other punctuation, and additionally on case boundaries inside a token — a lowercase letter or digit followed by an uppercase letter, and the end of an uppercase run followed by a lowercase letter, which keeps acronyms together as one word.
How are acronyms like API or HTTP handled?
An uppercase run is treated as a single word, so an identifier containing an acronym splits correctly. In lowercase styles the acronym is lowercased with the rest; strict per-language rules about keeping acronyms uppercase inside camel or Pascal names vary, so adjust those by hand if your style guide demands it.
What is CONSTANT_CASE used for?
Also called SCREAMING_SNAKE_CASE, it joins uppercase words with underscores. It conventionally marks values that never change at runtime: exported constants, enum members, and environment variables in shells, Docker, and CI systems.
Is my text sent to a server?
No. Splitting and rebuilding happen entirely in your browser with a few lines of JavaScript, so identifiers from proprietary codebases or unpublished documents never leave your machine.