05.12 · Text & Typography

Glitch Text

Text tears into red and cyan strips like a broken signal. Best for bold titles.

Watch it

It moves by itself. Pause it to look closely, or turn on slow motion to see each part of the movement.

GLITCH

Try it

Change a setting and see the difference as it moves.

Color split

How far the red and cyan copies sit from the word.

Speed

How fast the torn strips jump around.

Glitch strength

Stronger shakes more and tears more often.

More optionsFewer options

Holds still until you point at it or tap it.

Short words work best, up to 12 letters.

Copy the prompt

Paste it into an AI assistant such as ChatGPT, Claude or Cursor to build this in your own project.

Add a glitch effect to [your headline or short word]. Place two copies of the text behind it, one tinted red and one tinted cyan, shifted to either side, and show only thin horizontal strips of each copy, changing which strips show so the colors seem to tear away from the letters like a broken video signal. Every so often, nudge the whole word sideways for a moment and reshuffle the strips so the pattern never repeats. Keep it below a few flickers per second and avoid full-screen flashes. If it only glitches on hover, a tap should start and stop it on touch screens. If the visitor has reduced motion turned on, keep the word still. Match the settings listed below.

Replace the words in brackets with your own element. Your settings are added at the end.

Free and open source. If this helped, a star on GitHub helps other people find it.

Star on GitHub

What it is

The full explanation is in README.md.

Good for

  • Bold titles
  • Music and games
  • Error pages

Avoid on

  • Long text
  • Calm brands