Case Converter

Drop a .txt file here to load it. For camelCase, snake_case, kebab-case, and slug styles, each line is converted on its own.

Case style

Paste or type text, then pick a case style.

About this tool

This is useful for headings, product names, file names, database fields, social posts, spreadsheets, and code. It also fixes those moments when someone sends a paragraph in all caps and now it’s your problem. Clean up repeated formatting work fast, especially when a spreadsheet or CMS gives you text in the wrong shape.

How to use it

  1. Paste or type your text, or drop a text file onto the box.
  2. Choose a case style. The result updates straight away.
  3. Click Copy to paste it elsewhere, or Download to save it as a text file.
  4. Check proper names after conversion, since names and brands can have their own rules.

Best use

  • Fix text that arrived in ALL CAPS
  • Turn headings into URL slugs
  • Convert a column of names into variable names
  • Prepare file names and database fields
  • Standardize titles in a spreadsheet

Tip: For code styles (camelCase, snake_case, kebab-case, CONSTANT_CASE, and slugs), each line is converted separately. Paste a list and you get a list of identifiers back.

Privacy note

Conversion happens in your browser. Your text isn’t uploaded or stored.

Frequently asked questions

How does Title Case decide what to capitalize?

It capitalizes the first and last word and every major word, and leaves short connecting words such as “of”, “the”, and “and” in lowercase. Words with their own capitals, like iPhone, are left alone. If your text already has lowercase letters, all-caps words such as NASA are treated as acronyms and kept. Style guides differ in small ways, so check against yours.

What is the difference between camelCase and PascalCase?

Both join words without spaces and capitalize each word. camelCase starts with a lowercase letter (userName), PascalCase with an uppercase one (UserName).

What does the slug option do?

It removes accents, lowercases text, turns “&” into “and”, and replaces anything else that isn’t a letter or number with a single hyphen. The result is safe to use in a URL.

Will it understand accented and non-English letters?

Yes. Uppercase, lowercase, and the title, sentence, and code styles all work with accented Latin, Greek, and Cyrillic letters. Slugs strip accents to plain ASCII.