Text Reveal Generator
← SkillSafe

Make your headline reveal word by word

Type your heading, watch each word fade and rise into place, tune the timing, and copy the HTML, CSS, JS or React.

Plain text, **bold** and *italic*, or an HTML or JSX heading with <em>, <strong> and links. A new line starts a new line. Or drop an .html, .txt or .md file here or .

No headline handy? Try one:

How it works

  1. Start from your words. Type the headline, or paste the HTML or JSX heading you already have. <em>, <strong>, <mark> and links are kept; a pasted page uses its first heading.
  2. Watch it play. Each word is wrapped in its own span and given its place in the order, so it starts a moment after the one before. Press Replay to see it again.
  3. Tune it live. Pick a style, then the gap between words and how long each takes. More options cover letters or lines, rise, a mask, blur, start size, easing, delay and when it plays.
  4. Check it. The page adds up how long the last word takes to settle, counts the moving pieces, and flags link text hidden by a letter split, big rises and heavy blurs, and fixes most in one press.
  5. Copy it. HTML + CSS + JS that hides the words only once the script runs and plays when the heading scrolls into view, CSS-only code that plays on load, or a React component.

Questions

How do I make text appear word by word with CSS?
Wrap each word in a span with display: inline-block and a custom property --i holding its place (0, 1, 2 ...). Start each span at opacity: 0 and translateY(24px), and give it transition-delay: calc(var(--i) * 80ms). When the heading gets a class such as is-visible, set opacity: 1 and transform: none, and the words follow one another.
How do I start the animation when the text scrolls into view?
Use an IntersectionObserver on the heading. When it reports the heading is intersecting, add the is-visible class and stop observing it so it plays once. The code here does that, with a threshold you can set.
What timing looks good?
For a subtle editorial reveal: a 12-32 px rise, 500-900 ms per word, 60-100 ms between words, and the whole thing settled in under about 2 seconds. Letters suit a few short words; a paragraph reads better line by line.
Will the text stay hidden if JavaScript fails?
Not with this code. The words are hidden only after the script adds an is-armed class, so without the script the heading simply shows. People who turn on reduced motion also get the text at once, without movement.
Is it OK for screen readers and search engines?
Split by words or lines, the heading stays normal text with spaces between the words, so it reads and indexes as usual. Split by letters, the heading gets an aria-label with the whole text and the letters are hidden from screen readers.
Is anything uploaded?
No. Reading your text, the preview, the check and writing the code all happen in your browser. Only the optional AI step sends your headline, your description and the current settings, and only when you press its button.