Case Converter

Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more.

Suggested tools

Word Counter

Count words, characters, sentences, lines and paragraphs.

TEXT
Open Tool

Remove Duplicate Lines

Remove duplicate lines from a list — dedupe text with case, trim, sort and keep-first/last options.

TEXT
Open Tool

Text Compare

Compare two texts and see the differences highlighted line by line and word by word.

TEXT
Open Tool

URL Encode

Percent-encode text so it is safe in a URL or query string.

TEXT
Open Tool

Lorem Ipsum Generator

Generate lorem ipsum placeholder text by paragraph, sentence or word.

TEXT
Open Tool

Compare Lists

Find items that are in both lists, only in the first, or only in the second.

TEXT
Open Tool

About Case Converter

Case Converter changes text between UPPERCASE, lowercase, Title Case, Sentence case and Capitalize, and the programming styles camelCase, PascalCase, snake_case, CONSTANT_CASE, kebab-case, dot.case and path/case — plus aLtErNaTiNg case for fun.

It is handy for fixing text typed with Caps Lock on, formatting headings, and renaming variables, JSON keys, CSS classes or URL slugs. It runs entirely in your browser, so nothing you paste is uploaded.

How to use Case Converter

  1. Paste or type your text.
  2. Click the case style you want.
  3. Copy the converted text.

Key features

  • Writing styles: UPPER, lower, Title, Sentence, Capitalize
  • Code styles: camel, Pascal, snake, CONSTANT, kebab, dot, path
  • Handles words split by spaces, dashes or underscores
  • One click to copy

Example

Input
user first name
Output
camelCase: userFirstName
PascalCase: UserFirstName
snake_case: user_first_name
CONSTANT_CASE: USER_FIRST_NAME
kebab-case: user-first-name
Title Case: User First Name

When to use Case Converter

  • Fixing text typed with Caps Lock on.
  • Turning a heading into a URL slug with kebab-case.
  • Renaming variables, database columns or JSON keys to a code style.

Tips and common problems

  • Use snake_case for Python and SQL, camelCase for JavaScript and JSON, PascalCase for class names.
  • CONSTANT_CASE is the usual style for environment variables.
  • Check acronyms afterwards — tools cannot know that "url" should be "URL".

Frequently asked questions

Both capitalise the first letter of every word. Title Case keeps your punctuation and separators as they are; Capitalize also turns dashes and underscores into spaces, so "user_first-name" becomes "User First Name".

Guides