05.03 · Text & Typography

Scramble / Glitch Text

Random symbols lock into the real text, left to right. Best for tech headlines.

Watch it

It plays by itself. Turn on slow motion to see each part of the movement.

Try it

Change a setting and the animation plays again.

Random characters

What the letters flicker through before they lock.

Delay between letters

The wait before each next letter locks into place.

Flicker speed

Fast looks chaotic; slow lets you see each symbol.

More optionsFewer options

Short phrases work best. Letters show in capitals.

Copy the prompt

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

Add a scramble effect to [your headline or short phrase]. Each letter should start as a random character and keep flickering through random characters until it locks into the real letter. Lock the letters in reading order, from left to right, so the text becomes readable bit by bit, as if it is being decoded. Capital letters scramble most cleanly. Screen readers should hear the final text once, never the random characters. If the visitor has reduced motion turned on, show the final text immediately. 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

  • Tech headlines
  • Loading screens
  • Game titles

Avoid on

  • Long text
  • Calm brands