Black Friday Sale · Save $40 every year on Phoenix Pro --:--:--
All tools

Case Converter

Paste your text, pick a case, copy the result. Convert to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more — instantly, in your browser.

Privacy first — your data never leaves your device Everything runs directly in your browser, not on our servers. Your text and files are never sent anywhere.
Your text
For writing
For code
For fun
0 Characters
0 Words
0 Lines
Add Case Converter to your website

This changes the widget’s labels. Title Case follows the selected English style guide.

Paste this in an HTML or Embed block, then preview your published page.

Sizing & credit

The widget fills its container’s width. Extra controls scroll inside this height.

Adds an optional script. It keeps the reserved space and grows when needed. Leave this off if your site blocks scripts.

Optional. The link is marked nofollow; removing it does not affect the tool.

Try the live preview

Sample text is for this preview only. Your installed widget starts empty.

Loading the converter…

Install it where people work

Paste the iframe into an HTML or Embed block. In React JSX, use className and referrerPolicy, and supply style as an object. The iframe alone works; add the optional sizing script once per page if your platform allows it.

Some WordPress.com and Webflow plans restrict custom embeds. In Wix, also increase the outer HTML element’s height if the widget is clipped. Test on your published page, not only in the editor.

Try a phone-sized page, keyboard navigation, Copy and Download. If your site blocks clipboard access, visitors can select and copy manually. If the widget is blank, check that your site allows frames from phcode.dev and that it has not removed the iframe.

For an app with a web view, test clipboard, downloads and opening links on the actual device. This is a web embed, not a native SDK.

Conversion runs inside the widget in the visitor’s browser. We do not upload or store its text, and the widget loads no analytics or advertising. Hosting still receives ordinary asset requests. The optional sizing helper exchanges only readiness and height messages.

The widget includes a small Phoenix Code footer. The separate credit link is optional. You do not need to promise a backlink, and embedding the tool does not promise a search-ranking improvement.

About this tool

How to Change Case: Paste, Pick a Style, Copy

Paste your text into the box above, choose a case, and the text is converted in place — there is no convert button to hunt for and no page reload. Copy the result with one click, or download it as a .txt file. If a conversion was not what you wanted, Undo restores your original text, which matters because case conversion is lossy: once a sentence is lowercased, the tool cannot know which words were proper nouns. Everything runs in JavaScript inside your own tab, so there is no upload, no length limit, and the page keeps working offline once it has loaded.

What a case converter does — and who uses one

A case converter changes the capitalization of text without you retyping it. Writers use one to fix a headline typed with Caps Lock on, or to switch a heading between Title Case and Sentence case. Developers use one to move a variable name between camelCase, snake_case and kebab-case. Anyone who has pasted a column of ALL CAPS names out of a spreadsheet has needed one.

Uppercase to Lowercase, Lowercase to Uppercase and ALL CAPS

The two most common jobs are the simplest. To convert uppercase to lowercase — undoing an accidental Caps Lock, or toning down text that was typed in all caps — paste it and press lowercase. To go the other way and convert lowercase to uppercase, press UPPER CASE. Capital letters, caps, all caps, upper case and uppercase all describe the same thing, so whichever phrase you searched for, these two buttons are what you came for. One caution on the downward direction: lowercase strips every capital, including proper nouns and the pronoun "I", so for a full paragraph Sentence case usually gives a better result than plain lowercase.

Case Styles Explained, With Examples

Each style below is a button in the tool. The same sentence is shown converted so you can see the difference at a glance.

Style "the quick brown fox jumps over the lazy dog" becomes
UPPER CASETHE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
lowercasethe quick brown fox jumps over the lazy dog
Sentence caseThe quick brown fox jumps over the lazy dog
Capitalize Each WordThe Quick Brown Fox Jumps Over The Lazy Dog
Title Case (AP)The Quick Brown Fox Jumps Over the Lazy Dog
camelCasetheQuickBrownFoxJumpsOverTheLazyDog
PascalCaseTheQuickBrownFoxJumpsOverTheLazyDog
snake_casethe_quick_brown_fox_jumps_over_the_lazy_dog
CONSTANT_CASETHE_QUICK_BROWN_FOX_JUMPS_OVER_THE_LAZY_DOG
kebab-casethe-quick-brown-fox-jumps-over-the-lazy-dog

Sentence case vs Capitalize Each Word

Sentence case capitalizes only the first letter of each sentence, exactly as you would write ordinary prose. This tool detects sentence boundaries rather than blindly splitting on every full stop, so abbreviations such as "Dr.", "e.g." and "U.S." do not start a false new sentence. Capitalize Each Word — also called Capital Case or Proper Case — capitalizes every word without exception, which is what spreadsheet functions like PROPER do.

Title Case Rules: Which Words Stay Lowercase

Title Case is not simply capitalizing every word. Short function words — articles, conjunctions and prepositions — stay lowercase unless they are the first or last word of the title, or they follow a colon. That is why "The Lord of the Rings" keeps "of" and the second "the" in lowercase. Style guides disagree about where to draw the line, so the tool offers four: pick AP, APA, MLA or Chicago from the selector and the conversion follows that guide's word list.

Is "is", "the", "to", "with" or "and" capitalized in a title?

"Is" is always capitalized: it is a verb, and only articles, conjunctions and prepositions are lowercased — a rule people get wrong because "is" is such a short word. "The", "a" and "an" are articles, so they stay lowercase unless they open or close the title. "And", "but", "or" and "nor" are coordinating conjunctions and stay lowercase. "To", "of", "in" and "at" are short prepositions and stay lowercase in every guide. "With" is where guides split: AP and APA capitalize prepositions of four letters or more, so they write "With", while MLA and Chicago lowercase every preposition regardless of length.

Title Case or Sentence case — which should you use?

Use Title Case for published titles: headlines, book and article titles, and anything following AP, APA, MLA or Chicago. Use Sentence case for interface copy, product documentation, error messages and most modern web writing — it is easier to read and it is what most contemporary design systems specify.

How to Change Case in Word, Excel and Google Docs

You do not always need a separate tool. In Excel and Google Sheets, use a formula in a helper column: =UPPER(A1) for capitals, =LOWER(A1) for lowercase, and =PROPER(A1) to capitalize each word. Copy the helper column and paste it back as values to keep the result. In Microsoft Word, select the text and press Shift+F3 to cycle through lowercase, Capitalize Each Word and UPPER CASE, or use Home > Change Case for the full menu including Sentence case. In Google Docs, use Format > Text > Capitalization for lowercase, UPPERCASE, Title Case or small caps. Where spreadsheets fall short is Sentence case and the developer styles — there is no built-in function for either, which is where pasting a column into this converter with "Convert each line separately" enabled is faster than writing a nested formula.

Programming Case Styles: camelCase, PascalCase, snake_case and kebab-case

Naming conventions are how code stays readable, and each ecosystem picked a different one. camelCase starts lowercase and capitalizes each following word (userFirstName) and is standard for variables and functions in JavaScript, Java and Swift. PascalCase, also called UpperCamelCase, capitalizes the first word too (UserFirstName) and names classes and components in most languages, including React. snake_case joins lowercase words with underscores (user_first_name) and is the Python and Ruby convention as well as the usual style for SQL columns. CONSTANT_CASE, sometimes called SCREAMING_SNAKE_CASE, is snake_case in capitals (USER_FIRST_NAME) and marks constants and environment variables. kebab-case joins lowercase words with hyphens (user-first-name) and is used for URL slugs, CSS class names and npm package names.

The converter reads word boundaries from both delimiters and existing capitals, so any of these styles converts cleanly into any other: paste myXMLParserV2, press snake_case, and you get my_xml_parser_v2 rather than one long run-together word.

Changing Case in Code: JavaScript, Python, CSS and SQL

For basic uppercase and lowercase conversion in a program, use your language's built-in functions. In JavaScript, text.toUpperCase() and text.toLowerCase() do the work, and it is worth knowing toLocaleUpperCase() exists for languages such as Turkish where the dotted and dotless i do not map the way English expects. In Python, use text.upper() or text.lower() for case conversion, text.capitalize() to capitalize the first character and lowercase the rest, and text.title() to capitalize each word. In CSS you can change how text is displayed without changing the underlying source text using text-transform: uppercase, lowercase or capitalize. In SQL, UPPER() and LOWER() are standard across engines. The "Show the equivalent code" button above shows examples for the selected case, with notes where their behavior differs from this converter.

Frequently Asked Questions

How do I convert uppercase to lowercase?

Paste the text into the box above and press the lowercase button. For a whole paragraph, consider Sentence case instead: plain lowercase removes every capital including proper nouns and the pronoun "I", while Sentence case puts the capital back at the start of each sentence.

Is there a keyboard shortcut to change case?

In Microsoft Word and Excel, select the text and press Shift+F3 to cycle through lowercase, Capitalize Each Word and UPPER CASE. Google Docs uses Format > Text > Capitalization. Both were checked against Microsoft's and Google's own documentation.

Is "is" capitalized in a title?

Yes, always. Only articles, coordinating conjunctions and prepositions are lowercased in Title Case. "Is" is a verb, so it is capitalized in every style guide — it just looks like it should be lowercase because it is short.

What is the difference between Title Case and Sentence case?

Title Case capitalizes the important words and leaves short function words lowercase, and it is used for headlines and published titles. Sentence case capitalizes only the first word of each sentence, like ordinary prose, and is standard for interface copy and documentation.

Will acronyms like NASA, API and iPhone survive conversion?

Yes. The "Keep these words as-is" field holds a list of words that every conversion leaves untouched, pre-filled with common acronyms and product names. Add your own product names, ticker symbols or internal abbreviations to the list and they will be preserved too.

Can I convert a whole list or a spreadsheet column at once?

Yes. Tick "Convert each line separately" and every line is treated as its own piece of text, which is what you want for a column copied out of Excel or Google Sheets, a list of filenames, or CSV fields. There is no row limit.

Is my text private?

Yes. The conversion runs in JavaScript in your own browser tab. Nothing is uploaded, stored or logged, and the page keeps working with your network disconnected once it has loaded — so it is safe for client lists, unpublished copy and material under NDA.

Last updated:

Build with Phoenix Code

Rename variables, classes and text across your whole project with project-wide search and replace, with code hints as you type.

Add Case Converter to your website