Home/How Glitch Text Works
Free · No signup · Runs in your browser · 2 interactive demos · About 15 min read

How Glitch Text Works: The Unicode Technology Behind Zalgo & Cursed Text

A plain-English guide to the Unicode marks behind Zalgo text, with two live demos you can use free in your browser.

Last updated: Sources: Unicode code charts, UAX #15 and UAX #44

Glitch text works by stacking Unicode combining diacritical marks (characters from the U+0300 to U+036F block) onto ordinary letters. These marks were designed for accents in languages like French and Vietnamese, but glitch generators attach dozens per letter, causing the chaotic vertical stretching known as Zalgo or cursed text. The effect is pure Unicode. No fonts or special software required.

What Is Glitch Text?

Glitch text is plain Unicode text. It can be copied, pasted, and sent through any app that handles Unicode, though each app decides what it keeps. Its look comes from stacking combining diacritical marks on ordinary letters, far beyond how those marks were meant to be used.

It goes by many names: Zalgo text, cursed text, corrupted text, creepy text. Nothing is actually broken. If you just want to make some, use the glitch text generator or the corrupted text generator. The rest of this page explains why it looks the way it does, with two live demos.

What Is Unicode and Why Does Glitch Text Depend on It?

Unicode is the standard that gives every character in every writing system a unique number, called a code point. The letter "A" is U+0041, the Arabic letter "ع" is U+0639, and the emoji "🔥" is U+1F525. As of Unicode 18.0 (released September 2026), the standard encodes 172,808 characters.

Before Unicode, computers used competing encoding systems like ASCII, ISO 8859, and various national standards. ASCII only covered 128 characters, enough for English but useless for the thousands of characters in Chinese, Arabic, Hindi, or even accented European languages. If you sent a French document from a Mac to a Windows PC, accented characters might display as garbage.

What are code points, characters, and glyphs?

A code point is the unique number assigned to a character (written as U+ followed by hexadecimal digits). A character is an abstract unit of text. The letter "é" is one character, even though it can be represented by one or two code points. A glyph is the visual shape your device draws on screen. The same code point can produce different glyphs depending on your font and rendering engine.

Code point breakdown
"é" can be represented two ways:
Precomposed:
U+00E9 (one code point, LATIN SMALL LETTER E WITH ACUTE)
Decomposed:
U+0065 + U+0301 (two code points: "e" + COMBINING ACUTE ACCENT)

That second form (a base character plus a combining mark) is exactly the mechanism that makes glitch text possible. Unicode was designed to support this decomposed approach, and software that implements Unicode text is expected to draw combining marks, although how well it does so varies. Glitch generators simply take this legitimate feature and push it to an extreme.

What Are Combining Diacritical Marks?

Combining diacritical marks are Unicode characters in the U+0300–U+036F block that attach above, below, or through a preceding base character to modify its appearance. The block contains 112 characters including accents, tildes, dots, and hooks. Glitch text generators exploit these marks by stacking many of them onto a single letter, far exceeding their intended use.

These marks exist for legitimate linguistic reasons. Vietnamese uses up to two combining marks on a single vowel: one to modify the vowel shape and one for tone. Hebrew and Arabic use combining marks for vowel pointing. Musical notation, mathematical typography, and the International Phonetic Alphabet all depend on them. The Unicode specification defines precisely how these marks should be positioned, and MDN Web Docs covers how browsers handle Unicode normalization and text rendering. The W3C further defines how characters, code points, and glyphs relate in web standards.

How does stacking combining marks create glitch text?

A glitch text generator works by inserting multiple combining characters after each base character in your input text, in three steps:

  1. Take each letter of the text.
  2. Add combining marks after it, above, through or below, from the U+0300 to U+036F block.
  3. The device's text engine draws every mark on the same letter, which stacks them into the stretched look.

Where a French word might use one combining acute accent, a Zalgo generator inserts 5, 10, or even 30+ combining marks per letter. The rendering engine tries its best to draw all of them, and the result is the chaotic vertical stretching you see.

Unicode sets no hard limit on how many combining marks can follow a base character, so the effect is allowed. There is one related guideline: the Stream-Safe Text Format in Unicode Standard Annex #15 describes text with no run of more than 30 non-starters (combining marks, in practice), so that normalization software can work with small buffers. Apps and renderers are free to clip, ignore or reject longer runs.

Live Stacking Demo Interactive

Click "Add Mark" to attach one random combining character at a time. Watch the letter transform as marks accumulate.

A
Combining marks: 0

Beyond the primary block, additional combining characters appear in extended Unicode ranges: Combining Diacritical Marks Extended (U+1AB0–U+1AFF), Combining Diacritical Marks Supplement (U+1DC0–U+1DFF), and Combining Half Marks (U+FE20–U+FE2F). Most glitch generators primarily use the U+0300–U+036F range, the best-known block of combining marks, and it is the one this site uses.

What Are the Three Stacking Positions in Glitch Text?

Not all combining marks attach in the same position. The U+0300–U+036F block contains marks that render in three main zones relative to the base character: above, through the middle (overlaid), and below. The ratio you use in each position is what gives different glitch styles their look.

How the marks are sorted: I used each mark's Unicode canonical combining class from the Unicode Character Database: classes 230, 232 and 234 count as above, 220, 202, 233 and 240 count as below, and class 1 is an overlay that runs through the letter (see the combining class table in UAX #44). I computed the sort with the Python unicodedata.combining() function. The counts add up to all 112 characters in the block: 58 above, 47 below, 5 overlay, 1 attached on the right and 1 with no position.

Position Range Example Marks Sample Visual Effect
Above (58 marks) U+0300–U+0315, U+031A, U+033D–U+0344, U+0346, U+034A–U+034C, U+0350–U+0352, U+0357–U+0358, U+035B, U+035D–U+035E, U+0360–U+0361, U+0363–U+036F Grave, acute, circumflex, tilde, macron, overline, breve, dot, diaeresis, ring, double acute, X above, small Latin letters à́̂̃̄ Tall, heaven-reaching distortion, the classic "Zalgo rises" look
Through / overlay (5 marks) U+0334–U+0338 Tilde overlay, short stroke overlay, long stroke overlay, short solidus overlay, long solidus overlay a̴̵̶̷̸ Strikethrough corruption: makes text look "slashed" or "deleted"
Below (47 marks) U+0316–U+0319, U+031C–U+0333, U+0339–U+033C, U+0345, U+0347–U+0349, U+034D–U+034E, U+0353–U+0356, U+0359–U+035A, U+035C, U+035F, U+0362 Grave below, acute below, tack marks, hooks, cedilla, ogonek, dot below, ring below, bridge below, low lines a̖̗̘̙̜ Dripping, descending distortion, the "melting" or "void" look
Attached on the right (1 mark) U+031B Combining horn a̛ A small hook on the upper right of the letter, used in Vietnamese; it adds little height
No position (1 mark) U+034F Combining grapheme joiner a͏ Invisible; it draws nothing, so it adds to the character count without changing the look

How different ratios create different effects

A "classic Zalgo" effect uses heavy above stacking with moderate below, creating text that seems to erupt upward. A "dripping" or "void" style favors below marks, giving the impression that text is melting into darkness. A "static" or "interference" style uses mostly middle overlay marks for a corrupted-signal appearance. Some glitch generators, including the Zalgo text generator on this site, let you control each zone independently.

Effect recipes (illustrative)
Illustrative share of combining marks placed above, in the middle and below the letter for four effects
RecipeAboveMiddleBelow
Zalgo (erupt)70%10%20%
Drip (melt)15%5%80%
Static (noise)30%40%30%
Subtle (whisper)2 to 3 marks total, any position

Want to see ready-made versions of these effects? Browse the glitch text styles gallery, which previews 22 styles side by side. These recipes are illustrations of the idea, not the settings of any generator on this site. For comparison, the home page generator weights its Zalgo Classic preset at roughly 45% above, 9% middle and 45% below, and its Drip / Melt preset at roughly 4% above, 2% middle and 94% below. It also sorts marks into its own three lists, which differ a little from the combining classes used in the table above.

Why Glitch Text Looks Different Everywhere

If you've ever sent glitch text to a friend and they said "it looks different on my screen," they weren't imagining things. The same Unicode string can render differently depending on the operating system, browser, and fonts involved.

How do browsers and operating systems render glitch text?

Text with combining marks is drawn by a text layout and shaping engine, software that decides where to place each mark. That work is done by the operating system or the browser, and the engines differ. Each one makes its own decisions about how to stack, overlap, and clip combining marks, especially when there are far more marks than the system was designed to handle.

Fonts also play a role. Each system and app picks its own fonts, and fonts carry different glyph metrics and anchor points for combining marks. Some fonts handle large stacks by compressing them; others let them overflow. This is one reason the same Zalgo text can look taller or more compact from one device or app to another.

Rendering Comparison Your device

The glitched text below is the same Unicode string for everyone. How it looks depends on your device.

Your environment:

Browser rendering engines add another layer of variation. Blink (Chrome, Edge, Opera), WebKit (Safari), and Gecko (Firefox) each implement the CSS and text layout specifications slightly differently. Each engine can handle stacked combining marks a little differently, and the differences are most visible at high glitch intensities.

Why Does Glitch Text Use So Many Characters?

Glitch text is deceptively heavy. A two-letter word like "Hi" appears to take up two characters of space, but once glitched, it can contain dozens of Unicode code points. Each combining mark is a separate code point, even though it visually attaches to the preceding base character.

Size explosion (one sample run of the home page generator, Zalgo Classic)
Input:
"Hi" → 2 characters, 2 code points
Glitched (intensity 5):
"H̷̶̴̲̺͍͍̭̯͔̫ͮ̄ͫ͊̄̅͛i̺͉̙̺͙̥̹̫̩ͪ͊͒͛̑̂̂̑̀" → 2 visible letters, 38 code points
Glitched (intensity 10):
"H̶͈͕̫̭̻͓̱̰͍͚̩͕̠̦̐ͫ̔͋͛͐͒̈ͮ̒͐͒̃͒̍́͝͞ī̶̡̧̬̯͉͔͉̤̹̙͈͎̳͔̘͂ͩͦ͑̀ͦ̃̓̈́͗ͫ͗̉ͣ̂̀ͅ" → 2 visible letters, 69 code points

This matters for platform character limits. Twitter/X applies NFC normalization (one of four Unicode normalization forms that converts decomposed character sequences back into precomposed equivalents where possible) and then uses a weighted character-counting system. Most Latin, Cyrillic and combining characters (U+0000 to U+10FF) count as one; most other characters, including emoji, count as two. Combining marks stay at one each, and since the marks used in glitch text cannot be precomposed by normalization, each one still counts against the 280-character limit. On the home page generator, a 10-letter word at intensity 5 comes out near 190 characters, which is about two thirds of the 280 limit. Platforms count differently and most do not document how, so test before posting.

Use the inspector below to paste any glitch text and see exactly what's inside it: every base character, every combining mark, and the total code point count. For platform limits and how each app handles glitch text, see the guide to glitch text on social media.

Unicode Inspector Interactive

Paste any glitch text below to see every Unicode character hiding inside it.

Paste glitch text above to analyze its Unicode characters

Is Glitch Text Accessible to Screen Readers?

Glitch text creates a serious accessibility barrier. Screen readers (assistive technology used by people who are blind or have low vision) handle combining marks in different ways: many read marks one by one, for example "combining grave accent, combining acute accent…", while others skip them, and behavior varies by screen reader, voice and app.

Either way, heavy glitch text is hard or impossible for screen reader users to follow. A short glitched sentence can turn into a long, confusing string of mark names, or lose its letters in the noise.

How can you use glitch text responsibly?

If you use glitch text in social media bios, display names, or posts, consider providing a plain-text alternative. On platforms that support alt text or descriptions, include the unglitched version. Avoid using glitch text for critical information that everyone needs to read. And in any web content you control, use aria-label or aria-hidden attributes to provide screen readers with a clean alternative. WCAG (Web Content Accessibility Guidelines), the international standard for web accessibility, recommends providing text alternatives for any content that depends on visual rendering.

Accessible implementation
<span aria-hidden="true">H̸̛̗̽e̵̡̿l̴̻̈́l̸̩̚o̵̧̕</span>
<span class="sr-only">Hello</span>

Where Did Zalgo Text Come From?

Zalgo text traces back to July 27, 2004, when a user known as Shmorky posted edited comic strips on his personal website. The catchphrase "he comes" followed later. The edited strips were versions of syndicated newspaper comics, including Nancy and Archie, with the word "Zalgo" worked in and the characters distorted into something ominous. The entity Zalgo became a creepypasta archetype: an ominous force of digital corruption associated with the phrase "HE COMES."

Although Zalgo started on Shmorky's personal website, the meme spread to other forums and sites. Web developers realized they could replicate the visual distortion using Unicode combining characters rather than image editing, which made the effect available to anyone who could type into a text box. The phrase "Z̤͂a̢ḷ̠g̡̟o̗̟" became synonymous with digitally corrupted text.

From there, glitch text moved well past its horror-meme roots. The "glitchcore" and vaporwave aesthetics adopted corrupted text as a design tool. Social media users found it made display names and bios stand out. Today it shows up in gaming communities, digital art, music promotion, and branding, anywhere a sense of digital distortion or edge is useful.

Glitch text is one of several Unicode text effects that exploit the standard's creative flexibility. Vaporwave text uses fullwidth characters from the U+FF01–U+FF5E block, which is a completely different mechanism. Strikethrough effects use U+0336 (combining long stroke overlay), which is actually part of the same combining marks block. Upside-down and mirror text use Unicode's mathematical and letterlike symbol blocks. Each style works by a different mechanism, but all are made of standard Unicode, which is why they all copy and paste freely across platforms. The combining marks approach is the one that stretches text vertically, because it relies on the rendering engine drawing many marks on a single letter, which the others do not do.

How this page was built. Cedrick Reese wrote this page alongside the generator on this site. The live demos run in your browser: the stacking demo adds random combining marks from the Unicode Combining Diacritical Marks block (U+0300 to U+036F) one at a time, and the inspector splits whatever you paste into base characters and marks without sending it anywhere. Unicode facts come from the Unicode Consortium's code charts and its Unicode 18.0 announcement (blog.unicode.org, September 2026). The character-counting rules for X come from X's developer documentation and its open-source twitter-text configuration. The position table is sorted by each mark's Unicode canonical combining class (UAX #44), and the Stream-Safe limit of 30 comes from UAX #15. Counts such as the 45-character average for a 5-letter word come from simulating this page's own demo code, and the sample outputs come from running the home page generator. The Zalgo history follows Know Your Meme, which credits Shmorky.

Frequently Asked Questions

Is glitch text the same as a font?

No. Glitch text uses Unicode combining characters that are part of standard text encoding. It works in any text field without installing anything. A font is a separate file (OTF/TTF) that changes how characters are visually rendered and only works in applications that support custom fonts, like design software or word processors. When you paste glitch text, you're pasting actual Unicode characters, not changing the font.

What Unicode block do combining marks come from?

The primary block is Combining Diacritical Marks at U+0300–U+036F, which contains 112 characters. Extended blocks include Combining Diacritical Marks Extended (U+1AB0–U+1AFF), Combining Diacritical Marks Supplement (U+1DC0–U+1DFF), and Combining Half Marks (U+FE20–U+FE2F). Most glitch generators, including this site's, use the primary block.

Can I create glitch text programmatically?

Yes. In JavaScript, you can insert combining characters using String.fromCodePoint(). For example, String.fromCodePoint(0x0300) produces a combining grave accent. To glitch a string, iterate through each character and append random code points from the U+0300–U+036F range. Control intensity by varying how many marks you add per character.

Why does glitch text look different on my phone vs. my computer?

Phones and computers draw text with different text engines and default fonts, and apps and browsers add their own choices on top. Each one can handle the stacking and overflow of combining marks differently, which produces varying visual results from the same Unicode string. Which engine or font is involved depends on your operating system, browser and app.

Will glitch text break character limits on social media?

It can eat your limit faster than you'd expect. Twitter/X uses NFC normalization and weighted counting, but Zalgo-style combining marks can't be normalized away, so each one counts as one character. Using this page's rendering demo settings (3 to 6 marks above, 0 to 1 through and 2 to 4 below each letter), a 5-letter word came out near 45 characters on average (33 to 56 over 20,000 simulated words), not 5. Platforms count differently and most do not document how, so test before posting. Start at low intensity if you're posting within a limit.

Is glitch text accessible to screen readers?

Often not. A screen reader doesn't see the visual effect. It works from the raw characters, and many screen readers read combining marks one by one or skip them, depending on the reader and app. So "H̵e̸l̴l̵o̶" can turn into "H, combining short stroke overlay, e, combining tilde overlay…" for every letter. That is disorienting and often unlistenable. If you're placing glitch text anywhere that matters for accessibility, add aria-hidden="true" to hide it from screen readers and put the plain version in a visually-hidden <span> alongside it.

Is Zalgo text safe to use?

Mostly yes. Zalgo text is standard Unicode, so there is no malware or executable code, but very long strings with hundreds of combining marks per character can slow down text input fields in some apps, and apps have their own rules about what they accept.

Does glitch text work on Discord, Instagram, and TikTok?

It often does, since it is standard Unicode text, but each app has its own rules and they change. Styled text belongs in display names, profile names, bios, captions and messages. Usernames and @handles accept only a limited character set and reject styled Unicode (a Discord @username, for example, allows only a-z, 0-9, underscore and period). Some apps may shorten or reject heavy stacks of marks, and reports vary. See the guide to glitch text on social media for limits and details, and check the preview in your own app.

How do I remove glitch text or clean up Zalgo text?

To remove glitch text, paste it into a Unicode text normalizer or run a regular expression that strips combining characters in the U+0300–U+036F range. In JavaScript, use text.normalize("NFD").replace(/\p{M}/gu, ""). This also removes legitimate accents, so "café" becomes "cafe". The Zalgo text generator on this site also has a decoder that does this for you.

What is the difference between Zalgo text and glitch text?

Zalgo text is a specific style of glitch text named after an internet creepypasta character. It typically features heavy vertical distortion with combining marks stacked above and below each letter. Glitch text is the broader category that includes Zalgo, strikethrough effects, vaporwave styling, and other Unicode-based text transformations. All Zalgo text is glitch text, but not all glitch text is Zalgo.

Try It Yourself

Now that you know what's actually happening when glitch text renders, put that knowledge to use with the free generators on this site.