Alternating Case Generator
Paste or type your text and every other letter switches between lowercase and capitals, for example "this is what you sound like" becomes "tHiS iS wHaT yOu SoUnD lIkE".
0 words 0 characters 0 lines
Continue with this text: UppercaseFancy textUpside-down text
Your text stays in your browser: nothing is uploaded or stored on a server.
How to make alternating caps
- Type or paste your text into Your text, press Open file to load a .txt file, or press Example to try the sample sentence.
- Under Start with, choose lowercase (aLtErNaTiNg) or uppercase (AlTeRnAtInG). Lowercase is selected by default.
- The Result box updates as you type. Press Copy to put it on the clipboard or Download .txt to save it as a file.
- To work on the result further, press Use as input, or pick a tool under Continue with this text such as upside-down text. Undo brings back the previous input.
The two starting options
The only option decides the case of the very first letter. Every letter after that takes the opposite case of the one before it.
| Start with | First letter | Example output |
|---|---|---|
| lowercase (aLtErNaTiNg) | small | tHiS iS wHaT yOu SoUnD lIkE |
| uppercase (AlTeRnAtInG) | capital | ThIs Is WhAt YoU sOuNd LiKe |
The case of your original text does not matter. “I LOVE MONDAYS”, “i love mondays” and “I Love Mondays” all give i LoVe MoNdAyS with lowercase first, because each letter is set to small or capital by its position, not changed relative to what it was. For the same reason, running the tool again on its own result gives the same text back, and switching the option simply swaps every letter.
How the pattern is applied
The generator walks through your text one character at a time and keeps a single switch for the whole text:
- Only letters with a capital and a small form count. Such a letter gets the current case and flips the switch. Spaces, tabs, line breaks, punctuation, apostrophes, digits, symbols and emoji are copied unchanged and do not flip it, and neither do letters from scripts without capitals, such as Chinese, Japanese, Arabic or Hebrew:
日本語 abcwith lowercase first gives日本語 aBc. - The pattern does not restart. It continues across words, sentences, lines and empty lines. In
hElLo WoRlDthe “W” is a capital because “o” before the space was small. - Accented letters are letters.
café crèmebecomescAfÉ cRèMe; the accents stay on their letters. An accent typed as a separate combining mark rides along with its letter and does not use up a turn. - Other alphabets work too. Greek, Cyrillic and other scripts with capital letters alternate the same way. Each letter is converted on its own, so a Greek word ending in Σ gets the middle form σ rather than the final form ς in a lowercase position.
- Letters never change length. A letter whose other case would be more than one character is left as it is but still takes its turn. The German ß would become “SS” as a capital, so in an uppercase position it stays ß:
straßewith uppercase first givesStRaße. The same applies to the ligature fi in an uppercase position and to the Turkish İ in a lowercase position. - The result is the same in every browser. The conversion does not depend on your browser’s language, so a Turkish-language browser does not turn “i” into “İ”.
Worked examples
| Before | Lowercase first | Uppercase first |
|---|---|---|
Sure, that will definitely work |
sUrE, tHaT wIlL dEfInItElY wOrK |
SuRe, ThAt WiLl DeFiNiTeLy WoRk |
I can't believe it's not butter |
i CaN't BeLiEvE iT's NoT bUtTeR |
I cAn'T bElIeVe It'S nOt BuTtEr |
Room 101, floor 3 |
rOoM 101, fLoOr 3 |
RoOm 101, FlOoR 3 |
Ünïcödé 123 abc |
üNïCöDé 123 AbC |
ÜnÏcÖdÉ 123 aBc |
Line breaks are kept and the pattern carries over from one line to the next. With lowercase first:
Before:
Sure, that will definitely work.
Great idea!
After:
sUrE, tHaT wIlL dEfInItElY wOrK.
gReAt IdEa!
“work” ends with a capital K, so “Great” on the next line starts with a small g.
Alternating case vs inverse case
The two are easy to mix up, and the case converter offers both:
| Style | Rule | “Hello World” becomes |
|---|---|---|
| Alternating, lowercase first | Every other letter is a capital, whatever the input | hElLo WoRlD |
| Alternating, uppercase first | The same, starting with a capital | HeLlO wOrLd |
| Inverse (iNVERSE) | Each letter switches to the opposite of its current case | hELLO wORLD |
Use inverse case to fix text typed with Caps Lock on by mistake, where every letter is the wrong way round. Use alternating case when you want the zigzag look.
When people use it
- Mocking or sarcastic replies. Quoting someone back in alternating caps is the usual way to signal a sarcastic tone in chats, comments and meme captions.
- Meme captions and image text. Generate the caption here, copy it, and paste it into your image editor or meme maker so you do not have to press Shift on every other key.
- Playful usernames, titles and bios. Alternating caps uses normal letters, so it works anywhere plain text works, unlike the Unicode styles from the fancy text generator, which some apps and fonts cannot display.
- Test data. Developers paste mixed-case strings into forms and search boxes to check that comparisons ignore case.
Alternating caps is hard to read in long passages, so keep it to a phrase or a sentence. For headlines and normal writing, use the title case converter instead.
Questions
What is alternating case?
Alternating case writes letters in turn as lowercase and capital, like "aLtErNaTiNg" or "AlTeRnAtInG". It is also called alternating caps, studly caps or "mocking text", after the Mocking SpongeBob meme where it is used to repeat what someone said in a sarcastic voice.
How do I make the mocking SpongeBob text?
Type or paste the sentence you want to mock. The result box shows it in alternating caps straight away, starting with a lowercase letter; press Copy and paste it into your post, chat or meme caption.
Does the pattern restart at every word?
No. The pattern runs across the whole text and only letters move it forward, so "hello world" becomes "hElLo WoRlD", not "hElLo wOrLd". Spaces, punctuation, digits and line breaks are kept and skipped.
Can I start with a capital letter?
Yes. Under Start with, pick "uppercase (AlTeRnAtInG)". Your choice is remembered the next time you open the tool in the same browser.
How do I turn alternating caps back into normal text?
Paste it into the sentence case converter to get normal sentences back, or into the lowercase converter for all small letters. Names and acronyms then need fixing by hand, because the original capitals are gone.
Is my text sent anywhere?
No. The conversion runs in your browser. The text is kept only in this tab, so it is still there if you open another tool, and it is cleared when you close the tab.