Skip to content

Free online tool

Case converter

Paste or type your text and pick a case: UPPERCASE, lowercase, Title Case, Sentence case, or camelCase, snake_case and kebab-case for code. The result updates as you type and keeps your line breaks, and nothing you type is uploaded.

Runs in your browser. Your text is never uploaded.

Runs in your browser. Your text isn’t uploaded or saved.

Convert to

How to change the case of text

  1. 1Type in the box, or paste text from a document, email or spreadsheet.
  2. 2Pick a case. The result updates straight away, and you can switch as often as you like.
  3. 3For code, pick camelCase, snake_case or kebab-case: each line becomes one name.
  4. 4Press Copy result and paste it wherever you need it.

Features

  • Seven cases: UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and kebab-case
  • Title Case that keeps short words such as “of”, “the” and “and” in lower case, as style guides do
  • Acronyms, brand names and web addresses kept as you typed them: NASA, iPhone, McDonald’s, https://…
  • Sentence case that capitalises the start of each sentence and the word “I”
  • Programming cases that split words at spaces, punctuation and capitals, so XMLHttpRequest becomes xml_http_request
  • Accented letters, Greek, Cyrillic and other scripts converted correctly, with line breaks kept
  • Free, no sign-up, and your text never leaves your browser

How the conversions work

Here is exactly what each case does to your text. Everything happens in your browser.

UPPERCASE and lowercase
Every letter is changed with your browser’s Unicode rules, so accented, Greek and Cyrillic letters change too, and ß becomes SS in upper case. Numbers, punctuation and emoji are left alone.
Title Case
Each word is lower-cased and then given a capital first letter, except these small words: a, an, the, and, but, or, nor, for, so, yet, as, at, by, in, of, off, on, per, to, up, via, vs. A word you typed with a capital after its first letter (NASA, iPhone, McDonald’s) is kept as typed, and so is a web address that starts with https:// or www., a domain with a path (bit.ly/3AbC) or an email address. A word in capitals (NASA) is converted after all when its sentence or line has no word in lower case, its line has more than three words in capitals for each one in lower case (“MESSI vs RONALDO: WHO IS BETTER”), or it’s one of three or more words in capitals in a row that include a common English word other than US, IT, WHO, AT and AM (“I WILL CALL YOU”), as when text is typed with Caps Lock on. A word that mixes cases (iPhone, YouTube) is kept even then, unless it was typed with Shift held too long: two capitals that can start an English word and then three or more lower-case letters (HEllo, THanks, MOnday, but not FFmpeg, MPhil or IPsec, whose capitals can’t, nor a well-known name such as OAuth, IDisposable, XAxis or the degree MArch, which is March next to a number or after a word such as “in”), or a common English word or name (THe, WHat, SEe, GOod, WOrk, JOhn), so IDs, TVs, GHz, MSc, MBps, OSes, ISet, ICar, TOut, BEng, GLib and MOhm are kept. A sentence or line with only one word in capitals (“WARNING:”) keeps it unless the whole text is in capitals. A small word still gets a capital when it starts or ends a line or sentence, follows a colon, or starts a hyphenated word (In-Depth). Apostrophes stay inside words (Don’t, It’s), and words joined by a full stop, such as example.com, count as one word, though an i on its own after the full stop of a longer word or a number is the word “I” (“Thanks.I”, “1.I”), while one after a single letter stays lower case (“A.i”, “9a.i”). An abbreviation of single letters and full stops, such as a.m., e.g. or U.S., also straight after a number (9a.m.), is left as you typed it, apart from a capital first letter when it starts a line or sentence (A.m. Radio), and its last full stop doesn’t end the sentence (“5 p.m. on the Dot”) unless you typed the next word with a capital and the text isn’t all in capitals (“5 p.m. The Next Day”). The small words are English only.
Sentence case
Everything is lower-cased, then the first letter of the text, of each line, and after . ! ? or … and a space gets a capital, also behind an opening bracket or quote, ¿, ¡, an emoji or keycap (1️⃣), or a Markdown *, _ or ~ that a matching mark closes later (“(The”, “¿Qué”, “👍 Great”, “*Really*”, but “*args”), as does the word “I” (I’m, I’ll). Words you typed with a capital after their first letter (NASA, iPhone), web addresses that start with https:// or www., domains with a path (bit.ly/3AbC) and email addresses are kept as typed, with the same exceptions for text typed in capitals or with Caps Lock on as in Title Case. A dash only counts as a list bullet, at the start of a line and with a space after it (“- Buy milk”), so a word joined to a dash (“-v”, “--help”) or after a dash in mid-sentence (“Really? — and then”) stays lower case. So does a list label in brackets, ( ), [ ] or { }: one letter, or a Roman numeral from i to c (1 to 100), such as “(a)” or “(iv)”. The full stops of an abbreviation of single letters, such as a.m., e.g. or i.e., also straight after a number (9a.m.), don’t end a sentence, so “5 p.m. on Monday” keeps its lower-case “on”. The last one does when you typed the next word with a capital and the text isn’t all in capitals, so “in the U.S. It is” keeps its “It”. Any other word with a full stop and a space after it, such as etc., is taken as the end of a sentence.
camelCase, snake_case and kebab-case
Each line becomes one name, and the line breaks are kept. Words are split at spaces, punctuation and symbols, and where the case changes: helloWorld becomes hello world, and XMLHttpRequest becomes xml http request. A word typed with Shift held too long, as Title Case finds it, isn’t split, so HEllo becomes hello, not h ello, while a name Title Case keeps is: ISet becomes i set. Apostrophes are dropped (don’t becomes dont), emoji and symbols are removed, and letters and digits in any script are kept.

Private by design

Your text stays with you

Everything runs in your browser. Nothing you type or paste is uploaded, logged or used for analytics, so it’s safe for code, contracts and private notes.

Works with any language

Accented letters, other scripts and emoji come through intact, and Windows, Mac and Unix line breaks are all understood.

Fast with long texts

Results update as you type. Long pastes are handled once you pause, so typing never stutters.

Frequently asked questions

What is Title Case?

Title Case capitalises the main words of a heading and keeps short ones in lower case, as in “The Lord of the Rings”. This converter keeps articles (a, an, the), short conjunctions (and, but, or, nor, for, so, yet) and short prepositions (as, at, by, in, of, off, on, per, to, up, via) in lower case, unless one is the first or last word of a line or sentence. Every other word starts with a capital.

What’s the difference between Title Case and Sentence case?

Title Case capitalises most words, as in a book or article title. Sentence case capitalises only the first word of each sentence and the word “I”, as in ordinary writing, which suits headings in a more relaxed style. Sentence case keeps acronyms such as NASA but turns names such as London into lower case, so check them afterwards.

What are camelCase, snake_case and kebab-case?

They’re ways to write several words as one name in code. camelCase joins the words and capitalises each one after the first (userName), snake_case joins them with underscores (user_name), and kebab-case joins them with hyphens (user-name), which is common in web addresses and CSS. Each line of your text becomes one name.

Does it keep acronyms and brand names?

Yes. Title Case and Sentence case keep a word you typed with a capital after its first letter, so NASA, iPhone, McDonald’s and macOS stay as they are. Web addresses that start with https:// or www., a domain with a path such as bit.ly/3AbC, and email addresses are left exactly as typed. In a sentence or line typed in capitals, or with Caps Lock on, the words in capitals are converted, so a heading in capitals comes out properly: “APPLE UNVEILS NEW iPhone” becomes “Apple Unveils New iPhone”. NASA in such a heading becomes Nasa, so fix those by hand. A line with only the odd word in lower case, such as “MESSI vs RONALDO: WHO IS BETTER”, counts as typed in capitals, and so do three or more words in capitals in a row that include a common word such as AND, THE or YOU: “thanks. I WILL CALL YOU TOMORROW” becomes “Thanks. I will call you tomorrow”, while “the NASA ESA JAXA team” keeps its acronyms. A single word in capitals, such as “WARNING:” before ordinary text, is kept. A word typed with Shift held too long, such as HEllo, THanks or THe, is fixed (one of four letters, such as GOod or JOhn, only when it’s a common English word or name), and camelCase, snake_case and kebab-case read it as one word, so “HEllo world” becomes hello_world in snake_case. Names whose two capitals can’t start a word, such as FFmpeg, IPsec and MPhil, well-known ones such as OAuth, IDisposable, XAxis and TOut, short ones that aren’t a common English word or name, such as ISet, ICar and BEng, and units and plural acronyms such as GHz, MOhm, MSc and IDs are kept, and camelCase, snake_case and kebab-case split those names where the case changes, as usual (ISet becomes i_set). A longer name that looks like such a typo and isn’t well known, such as the class name TEdit, needs fixing by hand. Abbreviations of single letters and full stops, such as U.S. and p.m., are also left as you typed them, apart from a capital first letter when one starts a line or sentence. UPPERCASE and lowercase change every letter.

Is my text uploaded or stored?

No. Everything happens in JavaScript in your browser, and your text is never sent to a server, logged or tracked. You can check by opening your browser’s network tab while you type. This tool doesn’t save your text either: it’s gone when you close or reload the page.

Is it free?

Yes. There’s no sign-up, paid plan or adverts, and no limit on how often you use it. Everything runs on your own device, so there are no servers to pay for.

More free text tools

Looking for something else? Browse all free tools.