Case Converter
Switch text between 11 case formats in a single click. From everyday Title Case to developer-friendly snake_case — convert anything instantly.
Developers
Format identifiers
Writers
Fix heading capitalization
Professionals
Clean up reports
Students
Format citations
All 11 Case Formats
Organized by everyday text styles and programming conventions
General Text Cases
HELLO WORLD
UPPERCASE
Every letter capitalized
hello world
lowercase
Every letter lowered
Hello World
Title Case
Each word capitalized
Hello world
Sentence case
First word only
hElLo wOrLd
aLtErNaTiNg
Alternating letters
hELLO wORLD
InVeRsE
Swap upper/lower
Programming Cases
helloWorld
camelCase
JS variables, functions
HelloWorld
PascalCase
Classes, components
hello_world
snake_case
Python, Ruby, SQL
hello-world
kebab-case
CSS, URLs, CLI flags
HELLO_WORLD
CONSTANT_CASE
Constants, env vars
How It Works
1
Enter Your Text
Type directly into the input box or paste content from any source. The tool accepts text of any length.
2
Pick a Case Style
Click one of the 11 case buttons above the textareas. Your text transforms instantly in the output panel.
3
Copy & Use
Hit the Copy button to grab the converted result. Paste it into your code editor, document, or social post.
Best Practices for Text Casing
✅ Do
- Follow your language's naming convention consistently
- Use Title Case for headings and UI labels
- Use CONSTANT_CASE for environment variables and config keys
- Prefer kebab-case for URLs and CSS class names
- Use Sentence case for body text and long-form copy
- Double-check proper nouns after batch conversion
❌ Don't
- Mix camelCase and snake_case in the same codebase
- Use ALL CAPS for long passages — it reduces readability
- Assume Title Case is correct for every language's titles
- Forget that acronyms may need special handling (e.g., XMLParser)
- Apply programming cases to user-facing content
- Ignore project linting rules in favor of personal preference
Tips by Use Case
Web Development
- camelCase for JS/TS variables
- PascalCase for React components
- kebab-case for CSS classes
- CONSTANT_CASE for .env files
Writing & Editing
- Title Case for article headlines
- Sentence case for subheadings
- lowercase for informal tone
- Check style guide before converting
Database & APIs
- snake_case for SQL column names
- camelCase for JSON field keys
- CONSTANT_CASE for enum values
- kebab-case for REST URL paths
Social & Creative
- aLtErNaTiNg for sarcasm or memes
- ALL CAPS for emphasis (sparingly)
- InVeRsE for playful usernames
- Title Case for profile display names
Frequently Asked Questions
What exactly is Title Case and when should I use it?
Title Case capitalizes the first letter of each word in a sentence. It's the standard format for headlines, article titles, book names, and section headings. Most style guides recommend it for anything that functions as a title or label.
How do camelCase and PascalCase differ from each other?
Both join words without spaces and capitalize inner word boundaries. The distinction is the first letter: camelCase keeps it lowercase (e.g., firstName), while PascalCase capitalizes it (e.g., FirstName). JavaScript favors camelCase for variables, while PascalCase is common for class names in C#, Java, and TypeScript.
When would I use snake_case versus kebab-case?
snake_case separates words with underscores and is the convention in Python, Ruby, and SQL column names. kebab-case uses hyphens and is prevalent in CSS class names, URL slugs, and command-line flags. Pick whichever your project or language convention requires.
What is CONSTANT_CASE for?
CONSTANT_CASE (also called SCREAMING_SNAKE_CASE) writes every letter in uppercase with underscores between words. It's the universal convention for constants, environment variables, and configuration keys across nearly all programming languages.
How does Sentence case differ from Title Case?
Sentence case only capitalizes the very first letter of each sentence, leaving everything else lowercase — just like regular prose. Title Case capitalizes the first letter of every word. Sentence case is used for body text, button labels, and UI strings; Title Case is for headings.
Is there a practical purpose for aLtErNaTiNg case?
Alternating case swaps between lowercase and uppercase on every character. It's mainly used for humor, memes, and sarcastic emphasis online (the "mocking SpongeBob" meme). It has no formal linguistic or programming purpose.
Will this tool handle accented or non-Latin characters?
The uppercase, lowercase, Title Case, and Sentence case conversions use JavaScript's built-in locale-aware methods, so accented characters (e.g., e with acute, u with umlaut) convert correctly. The programming cases strip non-alphanumeric characters by design.
Why do different programming languages follow different naming conventions?
Naming conventions evolved alongside each language's community and standard library. Python's PEP 8 mandates snake_case because Guido van Rossum preferred readability. JavaScript adopted camelCase from Java. CSS uses kebab-case because hyphens are valid in identifiers. Consistency within a project matters more than which convention you choose.
Related Tools
Ready to Convert Your Text?
Scroll up and paste your text to switch between 11 case formats instantly. No sign-up, no limits — just fast, free conversions right in your browser.