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.
Every letter is its own piece in a box and flickers through random characters until its turn. Each waits one step longer than the one before, as the bars show.
All at once keeps every letter random until the very end, so nothing can be read. One by one locks the letters in reading order, so the words appear as they decode.
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.
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.
Your settings
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 GitHubWhat it is
The full explanation is in README.md.