Free Online Text Case Converter

Convert text between uppercase, lowercase, title case, camelCase, snake_case, and more with one click.

Input Text
Convert To9

Understanding Text Cases

Text case refers to how letters are capitalized in a string. Different contexts demand different cases — a headline uses Title Case, a Python variable uses snake_case, a Java method uses camelCase, and a constant uses UPPER_CASE.

The rules aren't always obvious. Title Case capitalizes major words but leaves articles ("the," "a," "an") and short prepositions ("in," "of," "at") lowercase — unless they're the first or last word. Sentence case capitalizes only the first word and proper nouns. These rules vary by style guide (AP, APA, Chicago all differ slightly).

For programming cases: camelCase joins words with no separator, capitalizing each word after the first. PascalCase is the same but capitalizes the first word too. snake_case uses underscores. kebab-case uses hyphens. CONSTANT_CASE is snake_case in all caps. Each language and framework has conventions about which to use where.

When to Use Each Case

Converting variable names between languages

Moving code from Python (snake_case) to JavaScript (camelCase)? Paste your variable names and convert them instantly instead of manually rewriting each one.

Formatting headlines and titles

Writing blog posts, email subjects, or presentation slides? Title Case makes headings look professional. Paste your text and get properly capitalized titles following standard rules.

Fixing accidentally typed caps lock text

Typed a whole paragraph in CAPS LOCK? Convert it to sentence case in one click instead of retyping everything.

Creating CSS class names or file names

CSS uses kebab-case for class names. File systems often prefer kebab-case or snake_case. Convert your descriptive text into the right format for your context.

Case Conversion Tips

1.

Title Case rules vary by style guide

AP style capitalizes words of 4+ letters. APA capitalizes words of 4+ letters plus all "major" words. Chicago capitalizes everything except articles, prepositions, and conjunctions. This tool uses a common-sense approach that works for most contexts.

2.

Acronyms can be tricky in camelCase

Should "HTTP request" become "httpRequest" or "HTTPRequest"? Conventions vary. Google's style guide recommends "httpRequest" (treat acronyms as words). This tool follows that convention.

3.

Special characters are handled differently per case

In snake_case, spaces become underscores but existing underscores are preserved. In camelCase, all separators (spaces, hyphens, underscores) are removed and the next letter is capitalized. Numbers are kept as-is in all cases.

Features

  • Convert to UPPERCASE, lowercase, Title Case, Sentence case
  • Programming cases: camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE
  • One-click conversion with instant preview
  • Handles special characters and numbers correctly
  • Copy result to clipboard with one click
  • No data sent to any server — runs entirely in your browser

Frequently Asked Questions

What text cases are supported?

The tool supports: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, CONSTANT_CASE, and dot.case. These cover virtually all common use cases in writing and programming.

Does it handle special characters and accented letters?

Yes. Accented characters (é, ñ, ü) are preserved and their case is changed correctly. Special characters like punctuation, numbers, and symbols are kept as-is — only letters have their case modified.

Can I convert code variable names between languages?

Absolutely. Paste a snake_case Python variable like "user_first_name" and convert it to camelCase "userFirstName" for JavaScript, or PascalCase "UserFirstName" for C# classes. The tool correctly splits on underscores, hyphens, spaces, and camelCase boundaries.

How does Title Case decide which words to capitalize?

Articles (a, an, the), short conjunctions (and, but, or), and short prepositions (in, on, at, to, for) stay lowercase unless they're the first or last word. All other words are capitalized. This follows the most common style guide conventions.

Tips & Related Workflows

  • Check the word count of your converted text with our Word Counter.
  • Format JSON keys in the right case with our JSON Formatter.
  • Test regex patterns for case-sensitive matching with our Regex Tester.