Case Converter
100% LocalTransform text between camelCase, snake_case, PascalCase and more.
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG.
the quick brown fox jumps over the lazy dog.
theQuickBrownFoxJumpsOverTheLazyDog
TheQuickBrownFoxJumpsOverTheLazyDog
the_quick_brown_fox_jumps_over_the_lazy_dog
the-quick-brown-fox-jumps-over-the-lazy-dog
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
the.quick.brown.fox.jumps.over.the.lazy.dog
the/quick/brown/fox/jumps/over/the/lazy/dog
The Quick Brown Fox Jumps Over The Lazy Dog.
The quick brown fox jumps over the lazy dog.
11 Case Formats
Preview all case conversions simultaneously. Includes camelCase, snake_case, kebab-case, dot.case, path/case, SCREAMING_SNAKE, and more. All transformations happen instantly and locally.
Paste text and select a case. Works on multiple lines at once. Useful for batch renaming identifiers.
What is Case Converter?
Frequently Asked Questions
Technical Deep Dive
Case Converter
Save time by instantly converting text between different programming and formatting cases. Supports Title Case, Sentence case, kebab-case, and screaming-snake-case. Perfect for refactoring and documentation.
Built for Devs
Designed by people who use these tools in production every day.
Smart Defaults
Reasonable assumptions out of the box, every assumption overridable when you need it.
Workflow-Friendly
Pairs with your IDE, CI, and code review, output drops into commits and PRs cleanly.
01 Convention Compatibility Matrix
| Language | Variable / Function | Type / Class | Constant |
|---|---|---|---|
| JavaScript/TS | camelCase | PascalCase | SCREAMING_SNAKE |
| Python / Ruby | snake_case | PascalCase | SCREAMING_SNAKE |
| Go / Java | camelCase | PascalCase | UPPER_CASE |
| Rust / C++ | snake_case | PascalCase | SCREAMING_SNAKE |
02 Transformation Pipeline
03 Where Case Conversion Saves Real Time
Every cross-language project pays a tax on naming-convention mismatches. Database columns, API contracts, CSS variables, env files, each has its own convention. Converting in bulk beats hand-renaming a list of 200 identifiers.
-
Rename a database column to camelCase Your Postgres schema is
user_id,created_at,last_login_at. The JavaScript ORM wantsuserId,createdAt,lastLoginAt. Paste the column list, hit camelCase, paste into the model definition. -
Python ↔ JavaScript bridge Python's PEP 8 mandates snake_case for variables; JavaScript style guides mandate camelCase. When porting a Python class to TS, batch-convert the field names rather than retyping each one.
-
kebab-case for CSS variables Design tokens land as
primaryColorin Figma but ship as--primary-colorin CSS custom properties. The kebab transformation is the round-trip your token pipeline does on every build. -
SCREAMING_CONSTANTS for config Twelve-Factor App convention: env vars are SCREAMING_SNAKE_CASE. Converting a list of camelCase config keys to
DATABASE_URL,REDIS_HOST,JWT_SECRETstyle in one pass. -
Style guide cite-points Google JS Style Guide, Airbnb JS Style Guide, PEP 8 (Python), Rust API Guidelines, Microsoft .NET naming guidelines, these are the canonical sources when a teammate questions a convention.
04 Worked Examples
camelCase firstName
PascalCase FirstName
snake_case first_name
kebab-case first-name
SCREAMING_SNAKE FIRST_NAME
JS variable, JSON field, Java method: firstName
React component, Type, Class name: FirstName
Python attr, Rust var, SQL column: first_name
URL slug, CSS var, HTML attr: first-name
Env var, language constant: FIRST_NAMEFive formats for the same concept across a typical full-stack codebase. Manual conversion is error-prone, easy to drop a letter or capitalize the wrong character. Batch conversion against a known token list avoids that.
Token Microsoft .NET style Google / Airbnb JS style
"URL" Url (Pascal: Url) URL (preserve acronym)
"HTML id" HtmlId HTMLId
"XML HTTP" XmlHttp XMLHTTP (or XmlHttp, split opinion)XMLHttpRequest ← browser API (acronym preserved)
JSON.stringify ← JS built-in (acronym preserved)
Url.canParse ← .NET (Microsoft style)Microsoft's guideline (PascalCase, with 2-letter acronyms uppercase and 3+ as Pascal) lost the platform war, most JavaScript and Python codebases preserve acronyms in full. Pick one style per project and lint it.
Start: IOError
→ snake_case: io_error (lost: I and O were both initials)
→ camelCase: ioError (now lowercase i)
Round-trip: IOError ≠ ioErrorsnake_case discards the acronym signal.
Once "IO" → "io", the converter cannot recover it.
Fix: keep an acronym dictionary, or never round-trip
identifier names that contain acronyms.If your codegen pipeline goes JavaScript camel → Python snake → JavaScript camel, acronyms degrade. Generate from a canonical schema each time instead of round-tripping. Or normalize all acronyms to PascalCase-of-themselves at the schema level (IoError instead of IOError) so the round-trip is stable.
05 Related Tools
Case conversion sits inside larger refactoring and SEO workflows. These cover the adjacent steps.
Slug Generator
Same kebab-case transformation, plus Unicode transliteration and length budgeting for URL paths.
Find & Replace
Apply the converted identifier across a pasted file in one go, particularly useful when the rename includes a prefix change.
String Utils
Trim, pad, reverse, and other transformations that often pair with a case conversion in cleanup scripts.