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.

0 characters0 without spaces0 words0 sentences0 lines

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.

LanguageCode
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