What it does
Fix text typed with caps lock on, turn a heading into proper Title Case, or rename variables between naming styles. Title Case follows the usual style-guide rule: short words such as “of”, “the” and “and” stay lowercase unless they start the title, follow a colon or end it. Words you capitalised on purpose, like iPhone, NASA or McDonald, are kept as they are in Title and Sentence case, and a lone “i” becomes “I”. For code, camelCase, PascalCase, snake_case, kebab-case and CONSTANT_CASE split words at spaces, punctuation and case changes, so XMLHttpRequest becomes xml_http_request. Each line is converted separately, which lets you rename a whole list of fields at once. Arabic and other scripts without capital letters pass through unchanged.
How to use it
- Type or paste your text into the box.
- Pick a style: Sentence case, Title Case, UPPERCASE and lowercase for writing, or camelCase, snake_case, kebab-case and the others for code.
- The converted text appears below straight away. Pick another style to compare; your original stays in the box.
- Copy the result, download it, or click “Edit this” to keep working on it.
Common uses
- Rescuing a paragraph that was typed with caps lock on, without retyping it
- Formatting article headlines, book titles and email subject lines in Title Case
- Turning database column names into JavaScript property names, or CSS class names into constants
- Making a list of product names consistent before importing it into a spreadsheet or a shop
Tips
- Title Case styles differ on words like “with” and “from”. This tool follows AP style: articles, conjunctions and prepositions of three letters or fewer stay lowercase, so “with” and “from” get a capital. Chicago style would lowercase them too.
- Sentence case can’t know every proper noun. Names already capitalised are kept, but check names that were typed in lowercase.
- In Turkish and Azerbaijani, i and ı are different letters. Browsers use the general rules here, so check dotted and dotless i after converting Turkish text.