Alternating Case Converter: aLtErNaTiNg TeXt
Paste your text below and click aLtErNaTiNg cAsE. Letters switch between lowercase and uppercase, while spaces and punctuation are skipped so the pattern stays even across words.
Examples
this is an example
tHiS iS aN eXaMpLe
oh great, another meeting
oH gReAt, AnOtHeR mEeTiNg
What People Use Alternating Case For
Online, alternating caps have become shorthand for a mocking or sarcastic tone of voice, and they are a staple of meme captions. Because the style is deliberately awkward to read, it works best for a few words.
- Meme captions and sarcastic replies
- Playful usernames and social media posts
- Test data for checking that software handles mixed case
Accessibility and Readability
Mixed capitals are harder to read, and screen readers may stumble over them. Avoid the style for anything important, such as instructions, announcements or text people need to act on.
How to Generate Alternating Case in Code
These short versions count spaces as characters, so the pattern can shift between words. This tool counts letters only.
| Language | Code |
|---|---|
| JavaScript | [...text].map((c, i) => i % 2 ? c.toUpperCase() : c.toLowerCase()).join('') |
| Python | ''.join(c.upper() if i % 2 else c.lower() for i, c in enumerate(text)) |
Other Case Converters
Frequently Asked Questions
Alternating case switches between lowercase and capital letters, as in tHiS iS aN eXaMpLe. It is also known as studly caps or sarcasm case.
It usually signals sarcasm or a mocking tone, much like imitating what someone just said in a silly voice.
Yes. The result is plain text, so you can copy and paste it anywhere you can type.