Case Converter
Convert text between uppercase, lowercase, title case, and sentence case instantly.
What This Tool Does
Converts text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, and kebab-case — instantly in your browser.
Who This Is For
- Developers renaming variables, functions, or classes to match naming convention requirements
- Content writers reformatting headlines and titles for SEO or style guide compliance
- Data engineers normalizing text fields in datasets before processing
- Anyone who receives text in the wrong case and needs a quick conversion
Example: Input: The text hello world example text → Output: camelCase: helloWorldExampleText · PascalCase: HelloWorldExampleText · snake_case: hello_world_example_text — all simultaneously
Click any box to copy
💡 After converting case, check your word count with the Word Counter — it also gives reading time and sentence count. To compare the converted text against an original version, Text Compare highlights every difference between two text blocks.
How to Convert Text Case Online
Using the case converter is instant. Paste or type your text into the input box, then click any case button — the converted result appears immediately in the output panel. Use the Word Counter to check the text length after converting. You can convert the same text to multiple formats without re-entering it.
The tool handles Unicode characters, punctuation, and mixed-language text correctly. Numbers and special characters are preserved exactly as entered.
- Paste your text into the input field
- Click the target case button: UPPERCASE, lowercase, Title Case, camelCase, etc.
- Copy the result from the output panel with one click
- Convert to another format immediately — no need to re-paste
When Each Case Style Is Used
| Case Style | Example | Common Uses |
|---|---|---|
| UPPERCASE | HELLO WORLD | Headings, constants, acronyms, emphasis |
| lowercase | hello world | Email addresses, URLs, CSS class names |
| Title Case | Hello World | Article titles, headings, proper nouns |
| Sentence case | Hello world | Normal prose, body text |
| camelCase | helloWorld | JavaScript variables, JSON keys |
| PascalCase | HelloWorld | Class names in most programming languages |
| snake_case | hello_world | Python variables, database column names |
| kebab-case | hello-world | CSS classes, HTML attributes, URL-encode the slug after converting to kebab-case |
camelCase vs snake_case vs kebab-case — Which Should You Use?
The right naming convention depends entirely on the context:
- camelCase is the standard for JavaScript variables, object keys, and function names. React component props use camelCase by convention.
- snake_case is standard in Python for variables, functions, and module names. PostgreSQL and many SQL databases also prefer snake_case for column names.
- kebab-case is used in CSS class names, HTML data attributes, and URL-encode the slug after converting to kebab-case because hyphens are valid in those contexts but underscores can cause issues.
- PascalCase is reserved for class names in JavaScript, TypeScript, C#, Java, and most object-oriented languages. React component names must use PascalCase.
- SCREAMING_SNAKE_CASE is the universal convention for constants and environment variables in most languages.
Consistency matters more than which convention you choose. Need to compare a renamed version against the original? Text Compare highlights every difference. Pick one per context and apply it everywhere.
Handling Edge Cases in Case Conversion
Most simple case converters break on edge cases. Here is how common issues are handled:
- Acronyms in Title Case — words like "API", "URL", and "HTML" are typically preserved in caps rather than converted to "Api".
- Apostrophes — "don't" in Title Case becomes "Don't", not "Don'T".
- Mixed scripts — Latin, Cyrillic, and Greek characters have defined upper/lower mappings; CJK characters (Chinese, Japanese, Korean) are unaffected.
- Numbers and symbols — digits and punctuation pass through unchanged in all case modes.
- camelCase splitting — converting "helloWorld" to another format requires camelCase detection; the tool handles this automatically.
Text Transformation Workflow
Case conversion is part of a text processing and development workflow:
- Count words after converting to verify length
- Compare before and after to review all changes
- URL-encode kebab-case slugs for safe use in URLs
- Format SQL with properly cased keywords
Frequently Asked Questions
How It Works
When to Use This Tool
- →Fixing copy-pasted text that has inconsistent or incorrect capitalization
- →Converting variable names between camelCase and snake_case when switching languages
- →Generating title-cased headings for articles, presentations, or navigation menus
- →Converting ALL CAPS text from a legacy system into readable sentence case
🔒 Privacy & Security
Case conversion runs in your browser's JavaScript engine. No text is uploaded. For text containing names, addresses, or any personal data that needs reformatting, local conversion keeps that data private.
