What Is a Case Converter?
A case converter is a text transformation tool that changes the capitalization (letter case) of your text from one format to another. Instead of manually retyping entire paragraphs to fix incorrect capitalization, you paste your text into the converter and get the correctly formatted output in milliseconds.
TextTally's case converter supports nine different case formats: uppercase, lowercase, title case, sentence case, camelCase, PascalCase, snake_case, kebab-case, and alternating case. Each format serves a specific purpose — from writing headlines and academic citations to formatting code identifiers and URL slugs.
Need a full suite of text utilities? Use our word and character counter → alongside the case converter for complete text analysis.
Try the Case Converter
Paste your text below, choose a target case format, and click convert. The result appears instantly — all processing happens in your browser.
Understanding Each Case Format — When and Why to Use Them
Different writing contexts demand different capitalization styles. Using the wrong case can make your writing look unprofessional — or worse, break your code. Here is a complete guide to every case format, including concrete before/after examples and common mistakes to avoid.
UPPER UPPERCASE (ALL CAPS)
When to use: Acronyms (NASA, HTML), headings in certain design systems, emphasis in informal writing, and constants in programming (e.g., MAX_WIDTH). Use sparingly in body text — large blocks of all-caps text are difficult to read because they eliminate the visual shape of words.
Common mistakes: Using all caps for entire paragraphs reduces readability dramatically. Most readers perceive all-caps text as "shouting" in digital communication. Reserve uppercase for short labels, acronyms, and design accents.
the quick brown fox jumps over the lazy dog
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lower lowercase
When to use: Body text, email addresses, URL paths, and database entries. Lowercase is the default for most written English and is the most readable case format for long passages. In programming, lowercase is standard for HTML tags, CSS properties, and most programming language keywords.
Common mistakes: Forgetting to capitalize proper nouns (names, places, brands) after converting to lowercase. Always proofread after conversion and manually re-capitalize proper nouns as needed.
THE PRODUCT LAUNCH IS SCHEDULED For NEXT Monday
the product launch is scheduled for next monday
Title Title Case
When to use: Headlines, article titles, book titles, movie titles, blog post headings, and presentation slide titles. Title case is the standard for most English-language publishing and journalism (AP Style, Chicago Manual of Style).
Rules: Capitalize the first and last words, all nouns, pronouns, adjectives, verbs, adverbs, and subordinate conjunctions. Keep articles (a, an, the), coordinating conjunctions (and, but, or), and short prepositions (in, on, at, to, for) lowercase — unless they are the first or last word.
Common mistakes: Capitalizing every word including short prepositions and articles. "The Cat In The Hat" should be "The Cat in the Hat." Capitalizing "is" and "be" (they are verbs and should be capitalized in title case).
the ultimate guide to baking sourdough bread at home
The Ultimate Guide to Baking Sourdough Bread at Home
Sent. Sentence case
When to use: Body paragraphs, APA-style references, many academic citation formats, and user interface copy (button labels, form field descriptions). Sentence case is the most natural reading format because it mirrors how we write standard prose.
Rules: Capitalize only the first letter of the first word in each sentence, plus any proper nouns (names, places, brands). Everything else stays lowercase.
Common mistakes: Forgetting to capitalize proper nouns after conversion. "i visited paris last summer" should become "I visited Paris last summer" — not "I visited paris last summer."
THE MEETING HAS BEEN RESCHEDULED. PLEASE UPDATE YOUR CALENDAR ACCORDINGLY.
The meeting has been rescheduled. Please update your calendar accordingly.
camel camelCase
When to use: JavaScript variable names (myVariableName), function names, object keys in JSON, Java method names, and Swift property names. camelCase is the most widely used naming convention in modern programming.
Rules: First word is all lowercase. Every subsequent word starts with a capital letter. No spaces or punctuation between words — words are joined directly. Remove all spaces before conversion.
Common mistakes: Capitalizing the first word (that would be PascalCase instead). Including spaces or special characters in the result. Using camelCase for class names in languages that expect PascalCase (e.g., C#, React components).
user profile settings manager
userProfileSettingsManager
Pascal PascalCase
When to use: JavaScript/TypeScript class names (UserController), React component names (MyComponent), C# class and method names, Java class names, and .NET type names. PascalCase is also called UpperCamelCase.
Rules: Every word starts with a capital letter, including the first word. No spaces or punctuation between words. Similar to camelCase but with the first word capitalized.
Common mistakes: Using PascalCase for variable names in JavaScript (use camelCase instead). Confusing PascalCase with Title Case — Title Case has spaces between words, PascalCase does not.
customer order processor
CustomerOrderProcessor
snake snake_case
When to use: Python variable names (my_variable), Python function names, Ruby method names, SQL table and column names (user_profiles), and C++ standard library identifiers. UPPER_SNAKE_CASE (all caps with underscores) is used for constants in Python, JavaScript, and many other languages.
Rules: All lowercase letters with underscores between words. No spaces. Convert to lowercase first, then replace spaces with underscores. For UPPER_SNAKE_CASE, convert to uppercase instead.
Common mistakes: Using snake_case in JavaScript codebases (use camelCase instead). Using hyphens instead of underscores (that's kebab-case, not snake_case). Mixing cases within a single snake_case identifier.
User Profile Settings
user_profile_settings
kebab kebab-case
When to use: URL slugs (my-blog-post-title), CSS class names (.nav-bar), HTML data attributes, Lisp/Scheme identifiers, and CLI command flags. Kebab-case is the standard for web URLs because search engines interpret hyphens as word separators (underscores are not treated the same way).
Rules: All lowercase letters with hyphens between words. No spaces. Convert to lowercase first, then replace spaces with hyphens. Remove any consecutive hyphens.
Common mistakes: Using underscores instead of hyphens (that creates snake_case, which search engines do not parse as word separators). Using uppercase letters (URLs should be lowercase). Including trailing hyphens.
How to Bake Sourdough Bread
how-to-bake-sourdough-bread
aLt Alternating Case (SpongeBob Case)
When to use: Memes, informal social media posts, and mocking text. Alternating case is rarely used in professional or academic contexts, but it has become a recognizable internet convention for expressing sarcasm or playful mockery.
Common mistakes: Using alternating case in professional communication — it reads as unprofessional and sarcastic. Using it for long passages, which makes the text nearly unreadable.
what a great idea
wHaT a GrEaT iDeA
Case Converter Cheat Sheet
Quick reference for all nine case formats — keep this handy when you need to identify or convert between cases.
| Case Name | Example Output | Separator | First Word | Primary Use |
|---|---|---|---|---|
| UPPERCASE | HELLO WORLD | Space | Uppercase | Acronyms, constants, emphasis |
| lowercase | hello world | Space | Lowercase | Body text, URLs, email addresses |
| Title Case | Hello World | Space | Uppercase | Headlines, book titles, headings |
| Sentence case | Hello world | Space | Uppercase | Body text, APA citations, UI copy |
| camelCase | helloWorld | None | Lowercase | JS variables, JSON keys, Java methods |
| PascalCase | HelloWorld | None | Uppercase | JS/React classes, C# types, .NET |
| snake_case | hello_world | Underscore | Lowercase | Python, Ruby, SQL identifiers |
| kebab-case | hello-world | Hyphen | Lowercase | URL slugs, CSS classes, HTML attrs |
| aLtErNaTiNg | hElLo wOrLd | Space | Mixed | Memes, sarcastic internet posts |
Common Case Conversion Mistakes (And How to Avoid Them)
Even experienced writers and developers make case-related errors. Here are the most frequent pitfalls and how to catch them before they cause problems.
"i visited the eiffel tower in paris" → fix manually to "I visited the Eiffel Tower in Paris." Case converters cannot detect proper nouns automatically — always proofread after using lowercase conversion.
Mixing camelCase and snake_case in the same JavaScript file creates inconsistency that frustrates other developers. Pick the standard for your language and stick to it: camelCase for JavaScript, snake_case for Python, kebab-case for CSS.
Many online "title case" tools naively capitalize every word. Real title case follows style guide rules — short prepositions, articles, and conjunctions stay lowercase unless they are the first or last word. TextTally implements proper title case logic.
Google treats hyphens as word separators in URLs but treats underscores as word joiners.
/how-to-bake-bread is SEO-friendly; /how_to_bake_bread is not. Always use kebab-case for URL slugs.
Frequently Asked Questions About Case Converters
What is a case converter?
A case converter is a tool that transforms text from one letter case format to another. It saves you from manually retyping text to fix capitalization. TextTally's case converter supports 9 different formats.
What is the difference between title case and sentence case?
Title case capitalizes the first letter of each major word (headlines, book titles). Sentence case capitalizes only the first letter of each sentence (body text, APA citations). Use our word counter to check the length of your converted text.
Can I convert text to camelCase online?
Yes — paste your text into the TextTally case converter, select "camelCase" from the dropdown, and click Convert. The tool removes spaces and capitalizes each word after the first, producing valid camelCase identifiers instantly.
Is this case converter free?
Yes, TextTally's case converter is completely free. There are no sign-ups, no paywalls, and no usage limits. All conversion happens in your browser for maximum privacy and speed.
Does the case converter work offline?
Absolutely. Like all TextTally tools, the case converter runs entirely in your browser using client-side JavaScript. Once the page loads, you can convert text even without an internet connection.
Explore More Free Text Tools
- Word & Character Counter → — Real-time word count, character count, reading time, and speaking time.
- Character Counter → — Check platform-specific character limits for Twitter, LinkedIn, SMS, and more.
- Reading Time Calculator → — Estimate how long any text takes to read or speak aloud.
- Keyword Density Checker → — Analyze keyword frequency for SEO content optimization.
- Writing Statistics → — Deep dive into readability scores and advanced text metrics.
- Complete Word Counter Guide → — Everything you need to know about counting words effectively.