Overview
Need to generate glitch text or strip noisy Unicode combining diacritics? Zalgo text exploits the Unicode standard by appending multiple nonspacing combining marks (category Mn, code points U+0300 through U+036F) to standard base characters. When rendered by font layout engines like HarfBuzz or DirectWrite, the stacked marks overflow vertical line bounds. Generate, adjust intensity, or strip diacritical clutter client-side.
Features
- Appends pseudo-random sequences of Unicode combining diacritical marks above, below, and across base characters.
- Provides adjustable intensity scaling (from subtle 1-mark accents to heavy 20-mark stacks).
- Strips existing diacritics from corrupt inputs using regex character class matching.
- Preserves whitespace and ASCII punctuation without breaking word layouts.
Unicode Diacritic Mechanics
The Unicode Consortium specifies Combining Diacritical Marks in the range U+0300 to U+036F. These characters have a advance width of zero:
1. Over-marks (such as U+0300 Combining Grave or U+0308 Combining Diaeresis) render above the preceding glyph. 2. Under-marks (such as U+0316 Combining Grave Below or U+0327 Combining Cedilla) render below the baseline. 3. Overlay-marks (such as U+0334 Combining Tilde Overlay) render through the center of the base glyph.
Because Unicode does not place a hard architectural limit on the number of nonspacing marks that can modify a single base character, font shaping engines attempt to position each mark relative to the previous anchor. This recursive attachment causes vertical glyph overflow.
Usage Guide
- Enter standard text into the input box to apply corruption.
- Adjust the intensity slider to control the density of stacked diacritics.
- Copy the generated string or inspect the stripped plain text output in the panel.
Rendering Engines and Security Considerations
Excessive combining mark stacking can degrade UI rendering performance. Modern applications (including Discord, Telegram, and web browsers) implement maximum line-height clipping or sanitize extreme diacritical runs to prevent denial-of-service or visual spoofing in user profile names.
Reversibility and Sanitization
Zalgo text is purely visual obfuscation. Because the underlying Latin base characters remain intact, a single Unicode normalization pass (NFD followed by stripping category Mn characters with a regular expression like \p{M}) completely restores the original plaintext.
Frequently asked questions
Why do some apps display empty squares instead of Zalgo marks?
If a system font lacks glyph definitions for specific combining code points in U+0300-U+036F, the rendering engine displays replacement fallback boxes (tofu).
Does Zalgo text encrypt message content?
No. The underlying character codes are unmodified. Any standard text parser or screen reader can still read the original base letters.
Summary
Zalgo text illustrates how zero-width combining marks interact with font shapers. For real cryptographic text obfuscation, explore AES encryption or Base64 encoding.