Skip to content

Case converter for text, titles and code.

Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more. Type once, copy any case.

0 chars · 0 words

Every case

Showing a sample
UPPERCASE
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lowercase
the quick brown fox jumps over the lazy dog
Title Case
The Quick Brown Fox Jumps over the Lazy Dog
Sentence case
The quick brown fox jumps over the lazy dog
Capitalized Case
The Quick Brown Fox Jumps Over The Lazy Dog
camelCase
theQuickBrownFoxJumpsOverTheLazyDog
PascalCase
TheQuickBrownFoxJumpsOverTheLazyDog
snake_case
the_quick_brown_fox_jumps_over_the_lazy_dog
CONSTANT_CASE
THE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
kebab-case
the-quick-brown-fox-jumps-over-the-lazy-dog
dot.case
the.quick.brown.fox.jumps.over.the.lazy.dog

Free and private: this tool runs entirely in your browser.Want more organic traffic? Talk to TechnoHelp

How to use the case converter

  1. Type or paste your text

    Add a headline, a paragraph or a variable name. Every case updates as you type, and your text stays in your browser.

  2. Choose how to treat acronyms

    Keep acronyms is on by default, so words like SEO and iPhone survive Title Case and Sentence case. Turn it off to convert every word.

  3. Copy the case you need

    Each row has its own copy button. Programming cases convert each line separately, so you can paste a list of names and convert them all at once.

Which case to use where.

UPPERCASE
LIMITED OFFER

Short labels and acronyms. Long passages in capitals are harder to read and can feel like shouting.

lowercase
limited offer

Hashtags, casual or stylized branding, and text you plan to recapitalize.

Title Case
How to Write a Great Headline

Headlines, book and article titles, and headings in styles that call for it.

Sentence case
How to write a great headline

Body text, buttons and menus, and headings in many style guides.

Capitalized Case
How To Write A Great Headline

Names and labels where every word should start with a capital.

camelCase
userFirstName

Variables and functions in JavaScript, Java and many JSON APIs.

PascalCase
UserFirstName

Class and type names, and React components.

snake_case
user_first_name

Variables and functions in Python and Ruby, and database columns.

CONSTANT_CASE
USER_FIRST_NAME

Constants and environment variables.

kebab-case
user-first-name

URL slugs, CSS class names and file names.

dot.case
user.first.name

Configuration and translation keys.

Many style guides, including the Google developer documentation style guide, recommend sentence case for headings and titles because it is easier to read and to apply consistently.

How Title Case works here.

  1. Capitalize the first and last word

    Always, even when it is a short word: “What It Is For”.

  2. Lowercase short minor words

    Articles, coordinating conjunctions and prepositions of four letters or fewer stay lowercase in the middle of a title: a, an, the, and, but, for, nor, or, so, yet, as, at, by, from, in, into, of, on, onto, over, per, to, up, upon, via, vs, with.

  3. Start again after a colon

    The first word of a subtitle is capitalized, as is the word after a dash, question mark or exclamation mark: “Content Design: A Practical Guide”.

  4. Treat each part of a hyphenated word alike

    Each part is capitalized unless it is a minor word: “A Step-by-Step Guide”, “Self-Hosted Fonts”.

  5. Leave acronyms alone

    With Keep acronyms on, words you wrote as SEO, NASA or iPhone are kept. If the whole text is in capitals, it is treated as plain text instead.

Style guides disagree about short words. AP and APA capitalize words of four letters or more, while Chicago and MLA lowercase prepositions of any length. If you write for a publication with its own style, check words like with, from and over before you publish.

Frequently asked questions.

What is title case?

Title case capitalizes the major words of a title, such as nouns, verbs and adjectives, and keeps short articles, conjunctions and prepositions lowercase unless they come first or last: How to Write a Great Headline.

What is the difference between title case and sentence case?

Title case capitalizes most words (A Guide to Better Writing). Sentence case capitalizes only the first word and proper nouns, as in a normal sentence (A guide to better writing).

Which words are not capitalized in title case?

Articles (a, an, the), coordinating conjunctions (and, but, or, nor, for, so, yet) and short prepositions (such as at, by, in, of, on, to) usually stay lowercase in the middle of a title. The first and last word are always capitalized. Style guides differ on longer prepositions such as with and from.

How do I convert text from all caps to normal case?

Paste the text and copy the Sentence case row. It lowercases everything, then capitalizes the first letter of each sentence and the word I. Text written entirely in capitals is not treated as acronyms, so every word is converted.

What is the difference between camelCase and PascalCase?

Both join words without spaces and start each new word with a capital. camelCase starts with a lowercase letter (userName) and is common for variables and functions. PascalCase starts with a capital (UserName) and is common for class names and components.

When should I use snake_case or kebab-case?

snake_case joins lowercase words with underscores and is the convention for variables and functions in Python. kebab-case joins them with hyphens and is used in URLs, CSS class names and file names. Hyphens are not allowed in variable names in most programming languages.

Does it work with accents and other languages?

Yes. Text cases keep accents and work with any alphabet that has capital letters, such as Greek and Cyrillic, and use your browser's language rules. The programming cases remove accents (café becomes cafe) and drop symbols, so the result is safe to use as an identifier.

Is my text stored anywhere?

No. Every conversion happens in your browser and your text is never uploaded or saved. Only the Keep acronyms setting is remembered on your device.

From the team behind these tools

Get the details right, on every page.

TechnoHelp is an independent web design and development studio. We write, structure and optimize content so your site reads well and ranks.

More free tools.

See all tools