Case Converter
- Paste or type your text.
- Pick a case mode. The result appears immediately.
- Copy the output, or switch modes to compare formats.
- camelCase — first word lowercase, the rest capitalised. The variable convention in JavaScript, Java and C#.
- PascalCase — every word capitalised. Used for classes, components and types.
- snake_case — all lowercase, joined by underscores. Standard in Python, Ruby and database column names.
- kebab-case — all lowercase, joined by hyphens. Used in URLs, CSS classes and file names.
- CONSTANT_CASE — all uppercase with underscores. Reserved for constants and environment variables.
- dot.case — all lowercase joined by dots. Common in config keys and namespaces.
Conversion does more than swap spaces. It detects boundaries inside joined words: a lowercase letter followed by an uppercase one marks a split, which is why "myExampleText" is correctly read as three words.
Runs of capitals are handled too: in "HTTPResponse" the boundary is found before the "R", producing "HTTP" and "Response" instead of one blob.
Any separator — space, hyphen, underscore, dot or punctuation — is discarded before reassembling in the chosen format. That means converting snake_case straight to kebab-case works in one step, with no intermediate format.
Detection uses Unicode categories, so accented text and non-Latin alphabets split correctly.
Title Case capitalises the first letter of every word. Sentence case capitalises only the first letter of the sentence — the format for running text.
Alternating and inverse exist for stylistic use. Alternating flips between upper and lower letter by letter; inverse swaps each letter to the opposite of what it was.
Frequently asked questions
Only the first letter. camelCase starts lowercase, PascalCase starts uppercase. By convention camelCase names variables and functions, PascalCase names classes and components.
Because detection recognises the boundary in a run of capitals followed by a lowercase letter. The cut happens before the "R", separating "HTTP" from "Response".
Yes. All separators are discarded on read, so any input format converts to any output format in a single step.
Yes. Conversion only changes casing and separators. If you need accents removed, use the slug generator.
No. The conversion happens in your browser.