Skip to content
Processing locally — files never leave your device

Case Converter

Switch text between common cases instantly: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case, kebab-case, and CONSTANT_CASE.

Bloggers — embed this widget for free

Add this tool to your own site with one line of HTML. Free forever — just keep the small credit link.

How to use Case Converter

  1. Paste or type the text you want to recase into the input box — a headline, a column of names, a variable, or a whole paragraph.
  2. Click the case you want: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, PascalCase, snake_case, kebab-case, or CONSTANT_CASE.
  3. Read the converted result in the output box below the buttons.
  4. Click a different case button at any time to re-convert the same input without retyping it.
  5. Press Copy to put the result on your clipboard. The recasing is computed right here in the page, so nothing you type is sent anywhere.

Changing text case, explained

Letter case carries meaning. A headline in Title Case, a constant in CONSTANT_CASE, and a URL in kebab-case all follow conventions that readers and compilers expect. Retyping text just to flip its case is slow and error-prone. This converter applies nine well-defined casing rules to whatever you paste, so you can match a style guide, a coding standard, or a CMS field in one click.

The two prose cases: Title and Sentence

Title Case capitalizes the first letter of every word. It is what most blog and news headlines use. Sentence case capitalizes only the first word of each sentence and any proper nouns you have already capitalized — it is increasingly the house style for headlines at large publications because it reads more naturally. If you write UI labels or documentation headings, picking one of these and applying it consistently is an easy win for polish.

The programmer cases: camel, Pascal, snake, kebab, constant

Code identifiers cannot contain spaces, so different languages adopted different word-joining conventions:

  • camelCase — JavaScript and Java variables and methods.
  • PascalCase — class names, TypeScript types, React components.
  • snake_case — Python variables, SQL columns, Rust functions.
  • kebab-case — URL slugs, CSS class names, HTML attributes, npm packages.
  • CONSTANT_CASE — environment variables and compile-time constants.

These transforms first split your text on any non-alphanumeric boundary, then rejoin the pieces using the rule above. That means "User Profile Page", "user-profile-page", and "user_profile_page" all convert cleanly between formats — handy when you are renaming something across a URL, a database, and your code at once.

A common gotcha: acronyms

Because case-insensitive rules have no way to know that "API" or "NASA" is an acronym, Title and Sentence case will render them as "Api" and "Nasa". There is no reliable automatic fix, so the practical approach is to convert first and then restore the handful of acronyms manually, or keep acronym-heavy text in UPPERCASE.

Recasing without a round trip

Flipping the case of a string is light work, and there is no reason to hand it to a server to do it. This converter applies every rule in the page itself, which keeps the transformation instant and means product copy, internal naming schemes, and other unreleased wording are never logged or stored by a third party.

Related text tools

Frequently asked questions

What is the difference between Title Case and Sentence case?
Title Case capitalizes the first letter of every word ("The Quick Brown Fox") and suits headlines and titles. Sentence case capitalizes only the first letter of each sentence ("The quick brown fox.") and reads as normal prose. This tool does not skip small words like "of" or "the", so for strict editorial title case you may want to lowercase a few articles by hand.
How is camelCase different from PascalCase?
Both join words with no separators and capitalize the start of each interior word. camelCase keeps the very first letter lowercase (myVariableName) and is the JavaScript convention for variables and functions. PascalCase capitalizes the first letter too (MyClassName) and is used for class and React component names.
When should I use snake_case, kebab-case, or CONSTANT_CASE?
snake_case (lowercase joined by underscores) is common in Python and database columns. kebab-case (lowercase joined by hyphens) is used for URL slugs, CSS classes, and file names. CONSTANT_CASE (uppercase joined by underscores) is the convention for environment variables and named constants.
Does it work on multi-line text?
Yes for the simple cases. UPPERCASE, lowercase, Title Case, and Sentence case keep your line breaks intact. The programmer cases (camel, Pascal, snake, kebab, constant) treat the whole input as one identifier and collapse separators, so feed them a single phrase at a time.
Why did my acronym get lowercased?
Title Case and Sentence case first lowercase the entire string, then re-capitalize, so "NASA" becomes "Nasa". This is unavoidable with case-insensitive rules. If you need to preserve specific acronyms, fix them by hand after converting, or keep them in UPPERCASE.
Are accented and non-Latin characters handled?
Upper and lowercasing use the browser’s Unicode-aware methods, so accented Latin letters (é → É) convert correctly. The programmer cases strip non-alphanumeric characters, including accents, because identifiers in most languages must be plain ASCII.
Does converting case change the meaning of my text?
No — only the letter casing changes. Word order, punctuation, and spacing are preserved in the prose cases. The identifier cases remove spaces and punctuation by design, since those are not allowed in code names.
Is my text sent to a server?
No. Each casing rule is applied by JavaScript already loaded in the page, so your input never travels beyond this tab — recasing confidential copy, internal naming schemes, or unreleased content carries no exposure.

More tools you might find useful in the same flow.

Built by Muhammad Tahir · About