Case Converter
Paste your text and instantly convert it to any case format — uppercase, lowercase, title case, camelCase, snake_case, and more.
—
—
—
—
—
—
—
—
—
—
—
—
Related Tools
Which Case Format Should You Use?
Text case isn't just cosmetic. The wrong format in code breaks things. The wrong format in a headline loses readers. Here's what actually matters for each one.
For Writing & Content
- • Title Case — book titles, article headings, product names
- • Sentence case — body copy, emails, most UI text
- • UPPERCASE — acronyms, warnings, strong emphasis
- • lowercase — brand names like "shopify" or "discord"
For Code & Development
- • camelCase — JavaScript variables, JSON keys
- • PascalCase — class names, React components
- • snake_case — Python, Ruby, database columns
- • kebab-case — CSS classes, URLs, HTML attributes
- • CONSTANT_CASE — environment variables, constants
Title Case vs. Sentence Case — What's the Difference?
Title case capitalizes the first letter of every major word: The Quick Brown Fox. Sentence case only capitalizes the very first word and proper nouns: The quick brown fox. AP Style and Chicago Style both use title case for headlines — but most UI copy (buttons, labels, tooltips) reads better in sentence case. It's less shouty.
camelCase vs. PascalCase in Programming
These two look almost identical but signal completely different things to other developers. camelCase starts lowercase — myVariableName — and is the default for JavaScript variables, function names, and JSON properties. PascalCase starts uppercase —MyVariableName — and is reserved for constructors, classes, and React components. Mixing them up won't always break your code, but it will confuse your team.
When to Use snake_case and kebab-case
The choice usually comes down to the language or context. Python and Ruby communities strongly prefer snake_case for variable names and function names. SQL column names almost always use snake_case too. kebab-case, on the other hand, is the standard for CSS class names, HTML data attributes, and URL slugs — because hyphens are valid in those contexts while underscores sometimes cause issues with older systems.
dot.case and CONSTANT_CASE
dot.case shows up in configuration files and some object notation systems — thinkapp.config.timeout or Java package names like com.example.app. CONSTANT_CASE (all caps with underscores) is the universal convention for constants and environment variables: MAX_RETRY_COUNT, DATABASE_URL,API_SECRET_KEY. It makes constants visually distinct from regular variables at a glance.