Alternating case

Turn text into alternating case, starting with a lowercase or an uppercase letter. Spaces and punctuation do not take a turn.

0 characters · 0 words

All conversion happens on this device. Nothing is uploaded.

How to alternate letters

  1. Paste the text. The whole box is converted. This page does not honor a partial selection.
  2. Click aLtErNaTiNg to start with a lowercase letter, or AlTeRnAtInG to start with an uppercase letter.
  3. Copy the result. Undo lives on the diff page if you need to step back. This page replaces the box in place, like the home converter.

Only letters take a turn. Spaces, digits, punctuation, and emoji stay as they are and do not consume a step. Hello! starting lower becomes hElLo!. Starting upper becomes HeLlO!. The exclamation mark sits where it sat. A digit in the middle, as in A1B, leaves the 1 alone and the next letter continues the alternation from the letter before the digit.

What this is for, and what it is not

Alternating case is a deliberate pattern, usually for a joke, a username, or a one-line reaction. It is a poor choice for a headline, a button, or a paragraph someone has to read. The decision guide maps the four everyday styles. This page exists because people still ask for the pattern and because doing it by hand on a long line is how letters get missed.

It is not a style-guide transform. AP, Chicago, APA, and MLA do not define alternating case. Do not send a paper title through this button and then try to explain the capitals. It is also not the Caps Lock repair. Caps Lock produces long runs of uppercase, or the shifted-uppercase pattern where intended capitals come out lowercase. Alternating case forces a strict every-other-letter rhythm even when the source was already normal sentence case. If the paste looks like an accident, use Fix Caps Lock or swap case instead.

Letters outside the English alphabet do participate, because the test is "is this a letter" rather than "is this A through Z". An accented letter takes a turn and is uppercased or lowercased with the browser's ordinary case map. A character with no upper and lower form, such as most digits and most emoji, is copied through. The German eszett lowercases to itself and uppercases to SS in JavaScript, so a turn that uppercases ß can insert two characters and shift the length. Read the result if the source used that letter.

Edge cases

The pattern restarts at the beginning of the box, not at the beginning of each line and not at the beginning of each word. A space does not reset it. ab cd starting lower becomes aB cD: a lower, b upper, space skipped, c lower, d upper. If you wanted each word to start the same way, this button will not do that. Split the words and convert them one at a time, or accept the continuous rhythm.

Existing case is ignored. The button does not look at whether a letter was already upper. It lowercases or uppercases according to the position in the letter sequence. Running it twice is not a toggle back to the original. The second run alternates the already alternating text, which is usually a different pattern because the source case no longer matters. To get the original back, keep a copy, or run the conversion on the diff page where Undo can restore it.

A saved exceptions list still applies after the alternation. If NASA is on the list, those four letters are written back as NASA even in the middle of an alternating sentence. That breaks the rhythm on purpose. The list is for brands you do not want restyled. Remove the entry if you want the joke to cover that word too. The exceptions page explains the match rules, including why a brand inside a longer word is left alone.

Empty text stays empty. A string of punctuation stays punctuation, because there is no letter to change, and the status line still reports the conversion. Combining the result with bulk line mode alternates each line separately, and that bulk button always starts lower. Use this page when the starting letter has to be a choice, and when the paste should alternate across line breaks as one sequence.

Screen readers will spell or pronounce the result as the letters stand. A long alternating sentence is harder to hear than it is to type. Keep the pattern on short strings if the text might be read aloud. Do not use it to encode a message you hope a filter will miss. It is still the same words, and it is still plain text.

Frequently asked questions

Why did the space not reset the pattern?

Spaces are skipped so the letters stay in a single rhythm. A reset on each word would be a different tool. This one does not do that.

Can I start with an uppercase letter?

Yes. Use the AlTeRnAtInG button. The other button starts lowercase, which is the usual joke shape.

Does this fix a Caps Lock accident?

No. Caps Lock is a swap, or a swap of a mostly-uppercase line. Alternating case invents a new pattern. Use the Caps Lock page for the accident.

Will punctuation change?

No. Marks, digits, and emoji are copied. They also do not count as a turn, so the next letter continues the sequence.