Convert Text Case

Convert to

Fix a heading typed with Caps Lock on, turn a sentence into Title Case, or rename a list of fields to camelCase or snake_case. Pick a style and copy the result.

  • Free
  • Runs in your browser
  • 11 case styles
  • No sign-up
How it works

How It Works

Change the case of any text in three steps.

01

Paste your text

A sentence, a heading or a list of names, one per line.

02

Pick a style

Choose from writing styles such as Title Case or code styles such as snake_case.

03

Copy the result

Copy it, or press Use result as input to apply another style on top.

About

Which case style should you use?

Writing and code use different conventions. Headlines often use Title Case, body text uses Sentence case, JavaScript variables use camelCase, Python and SQL columns use snake_case, URLs and CSS classes use kebab-case, and constants use CONSTANT_CASE. The code styles first split the text into words, including at existing capitals, so "userID value" and "user_id_value" both become userIdValue.

Title Case rules differ between style guides (AP, Chicago, APA). This tool follows the common rule of keeping short articles, conjunctions and prepositions lower case, so check the result against your house style.

Title Case with small words

Articles and short prepositions such as "of", "the" and "in" stay lower case unless they start the title or follow a colon.

Code styles line by line

camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE are applied to each line separately, so a pasted list stays a list.

Sentence case

Lowers everything, then capitalises the first letter of each sentence. Names and acronyms need a manual fix afterwards.

Accents kept

Letters such as é, ü and ñ keep their accents when the case changes.

Features

Why Use This Case Converter

Handy for writing and for code.

Writing and code styles

Eleven styles in one place, from Sentence case to CONSTANT_CASE.

Chain conversions

Use result as input lets you, for example, lower everything and then apply Title Case.

Private

Your text is converted inside the browser tab and never uploaded.

Lists stay lists

Code styles work per line, so 30 column names become 30 converted names.

✓ No Registration✓ Free✓ Browser-based✓ Text Stays Local
FAQ

Frequently Asked Questions

Questions people ask about the Text Case Converter.

Paste it and choose Sentence case. Everything is lowered and each sentence starts with a capital. Proper nouns such as names and places need to be capitalised again by hand.