Case Converter
Convert text between 12 different case formats. Paste your text and pick a style. 100% client-side.
How to Use the Case Converter
- Paste your text into the input area on the left (or top on mobile).
- Choose a case format — click one of the 12 format chips above the panes.
- View the result — your converted text appears on the right instantly.
- Copy or download — use the buttons above the output to copy to clipboard or download as a .txt file.
What This Tool Does
This case converter transforms text between 12 different case formats used in programming, writing, and content creation. It intelligently splits input words by detecting spaces, hyphens, underscores, dots, and camelCase boundaries, then reassembles them in the target format. Whether you need to convert variable names, file names, titles, or entire paragraphs, this tool handles it instantly in your browser.
Supported Case Formats
- UPPER CASE — all characters uppercase. Used for constants, headings, emphasis.
- lower case — all characters lowercase. Common in CSS, URLs, and normalized text.
- Title Case — first letter of each word capitalized. Standard for headlines and titles.
- Sentence case — first letter of each sentence capitalized. Natural reading style.
- camelCase — first word lowercase, subsequent words capitalized. JavaScript variables and functions.
- PascalCase — all words capitalized with no separator. Class names in C#, Java, TypeScript.
- snake_case — lowercase words joined by underscores. Python, Ruby, database column names.
- kebab-case — lowercase words joined by hyphens. CSS classes, URLs, file names.
- CONSTANT_CASE — uppercase words joined by underscores. Constants in most languages.
- dot.case — lowercase words joined by dots. Java package names, configuration keys.
- path/case — lowercase words joined by forward slashes. File paths and URL segments.
- aLtErNaTiNg CaSe — alternating upper and lowercase letters. Used for mocking emphasis or stylistic text.
Use Cases for Developers
Case conversion is a frequent task in software development. You might need to convert a class name from PascalCase to snake_case when moving from a Java codebase to Python, or turn a kebab-case CSS class name into a camelCase JavaScript property. Database migrations often require converting column names between formats. API integrations frequently involve mapping between camelCase JSON keys and snake_case database columns.
How Word Splitting Works
The converter uses a smart splitting algorithm that detects word boundaries in any input format. It recognizes spaces, hyphens, underscores, and dots as explicit separators. For camelCase and PascalCase inputs, it detects boundaries where a lowercase letter is followed by an uppercase letter (e.g., "myVariable" splits into "my" and "Variable"). This means you can freely convert between any two formats without worrying about the input format. For more text processing tools, generate URL-friendly text with our Slug Generator, count words and characters with the Word Counter, or remove duplicate lines with the List Deduplicator.
Tips for Effective Case Conversion
- For programming, match the convention of your language: camelCase for JavaScript, snake_case for Python, PascalCase for C# classes
- CSS class names should use kebab-case as it is the established convention and makes selectors easier to read
- When naming database tables and columns, snake_case is the most portable format across SQL dialects
- Title Case is ideal for headings but remember that small words like "and", "the", "of" are typically not capitalized in formal title style