How the Case Converter Works
The DwellixTools Case Converter is a free, instant text case conversion tool that transforms your text into any of 12 different case formats without requiring a page refresh. Simply type or paste text into the input box, choose a conversion format from the grid, and your result appears instantly.
All conversions happen 100% locally in your browser — your text is never sent to any server.
All 12 Supported Case Formats
1. UPPERCASE
Converts every character to its capital letter. Ideal for headings, abbreviations, SQL keywords, and constant declarations.
Example: hello world → HELLO WORLD
2. lowercase
Converts every character to lowercase. Useful for normalizing user input, email addresses, and HTML attribute values.
Example: Hello World → hello world
3. Title Case
Capitalizes the first letter of every major word, following standard English title rules. Minor words like a, an, the, and, but, or remain lowercase unless they are the first word.
Example: the quick brown fox → The Quick Brown Fox
4. Sentence case
Capitalizes only the first letter of each sentence. Perfect for paragraphs, blog posts, and general-purpose writing.
Example: hello world. this is a test. → Hello world. This is a test.
5. camelCase
Removes spaces and capitalizes the first letter of each word except the first one. The standard naming convention for JavaScript variables and functions.
Example: hello world → helloWorld
6. PascalCase (UpperCamelCase)
Similar to camelCase but capitalizes the very first word too. Widely used for React components, class names, and TypeScript types.
Example: hello world → HelloWorld
7. snake_case
Replaces spaces and separators with underscores (_) and lowercases all characters. Standard convention for Python variables, database columns, and file names.
Example: hello world → hello_world
8. kebab-case
Replaces spaces and separators with hyphens (-) and lowercases all characters. The standard URL slug format and CSS class naming convention.
Example: hello world → hello-world
9. CONSTANT_CASE (SCREAMING_SNAKE_CASE)
Converts text to uppercase with underscores between words. The universal convention for declaring constants in JavaScript, Python, C++, Java, and more.
Example: hello world → HELLO_WORLD
10. Toggle Case
Swaps the case of every character — uppercase becomes lowercase and lowercase becomes uppercase.
Example: Hello World → hELLO wORLD
11. dot.case
Replaces spaces and separators with dots (.) and lowercases all characters. Commonly seen in configuration keys, package namespaces, and logging identifiers.
Example: hello world → hello.world
12. Inverse Case (Alternating)
Alternates between lowercase and uppercase on every character index — a fun stylistic effect for memes or decorative text.
Example: hello world → hElLo wOrLd
Frequently Asked Questions (FAQ)
Is my text saved or uploaded anywhere?
No. All text processing is 100% local and client-side. Your data never leaves your browser and is never transmitted over the internet.
Which case should I use for URLs?
Use kebab-case (my-page-slug) for URLs and HTML id attributes. Avoid UPPERCASE or spaces in URLs.
Which case should I use for JavaScript variables?
Use camelCase (myVariableName) for variables and functions, PascalCase (MyClassName) for classes and React components, and CONSTANT_CASE (MAX_RETRIES) for constants.
Which case should I use for CSS classes?
Use kebab-case (.btn-primary) for CSS class names, following the BEM convention.
Can I convert multiple paragraphs at once?
Yes. The tool handles paragraphs, multi-line input, and large bodies of text in a single operation.