Skip to content
D DocNectar

Free Text Case Converter

Convert text between UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

Retyping text just to change its capitalization wastes time and introduces typos that weren't there in the original. This tool converts any pasted text into nine common case styles: UPPERCASE, lowercase, Title Case, Sentence case, and the four programming naming conventions — camelCase, PascalCase, snake_case and kebab-case — plus the joke-format aLtErNaTiNg case.

The programming-convention conversions (camelCase, PascalCase, snake_case, kebab-case) are useful well beyond code — they're also how many systems expect variable names, CSS classes, file names and URL segments to be formatted.

How it works

Paste your text, choose the case style you need, and the converted text appears instantly. For the programming-convention styles, the tool splits your text into words on any run of spaces or punctuation, then rejoins them in the target format — so "Hello, World!" and "hello world" both convert to the same "helloWorld" camelCase result.

  1. Paste your text.
  2. Choose the case style you need.
  3. Copy the converted result, or save it to download as a PDF.

Examples

Converting a heading to Title Case

"the quick brown fox" becomes "The Quick Brown Fox" — every word capitalized, useful for headings and titles.

Converting a phrase to camelCase for code

"user first name" becomes "userFirstName" — the standard variable-naming convention in JavaScript, Java and many other languages.

Who should use it

  • Converting a heading or title to consistent Title Case.
  • Turning a phrase into a camelCase or snake_case variable/identifier name for code.
  • Converting a title into kebab-case for a URL slug or CSS class name.
  • Quickly fixing text that was accidentally typed in the wrong case.

Industry applications

  • Software development and programming
  • Content writing and editing
  • Web development (CSS classes, URL slugs)
  • Data engineering (column/identifier naming)

Advantages

  • Covers nine case styles in one tool, including all four common programming naming conventions.
  • Splits words consistently regardless of the original text's spacing or punctuation.
  • Instant conversion with no account or software installation.

Limitations

  • Title Case capitalizes every word rather than following a specific editorial style guide's exceptions.
  • Sentence case detection is a simple punctuation-based heuristic, not full natural-language parsing.
  • Doesn't detect or preserve acronyms (e.g. "NASA") specially in any of the case conversions.

Common mistakes to avoid

  • Using Title Case when Sentence case is actually the house style being followed (or vice versa).
  • Mixing snake_case and camelCase within the same codebase instead of picking one convention consistently.
  • Assuming Title Case here follows a specific editorial style guide's capitalization exceptions.
  • Manually retyping text to fix casing instead of converting it, introducing new typos in the process.

Best practices

  • Pick one naming convention (camelCase, snake_case, etc.) and use it consistently across a project rather than mixing styles.
  • Use kebab-case for URLs and CSS classes, snake_case for Python/database identifiers, and camelCase/PascalCase for JavaScript/Java-family code, matching each ecosystem's convention.
  • Double-check Title Case output against your house style guide if you need specific small-word exceptions.

Tips

  • When naming something for code, match the convention your language or framework already uses rather than picking your own.
  • If your original text has punctuation you want preserved in camelCase/PascalCase/snake_case/kebab-case, note that it's stripped during conversion — only the words themselves carry through.

Frequently asked questions

Yes, with no signup and no limit on how much text you convert.
Both capitalize each word boundary; camelCase leaves the very first letter lowercase ("userName"), while PascalCase capitalizes it too ("UserName"). camelCase is typical for variables, PascalCase for class/type names.
Both lowercase every word, but snake_case joins them with underscores ("user_name") and kebab-case with hyphens ("user-name"). Kebab-case is common in URLs and CSS classes; snake_case is common in Python and database column names.
No — this tool capitalizes every word for simplicity and predictability. Formal style guides have specific rules about lowercasing short words like "a," "the" or "of," which this tool doesn't apply.
It lowercases everything, then capitalizes the first letter of the text and the first letter following a period, exclamation mark or question mark followed by a space.
Conversions are linked to your browser session so you can revisit recent ones — your text isn't shared with anyone else.

Get new calculators and guides in your inbox

No spam — just new tools like Case Converter and practical guides.

Favorites