Markov chain text generator

Paste a text and get a new passage that sounds like it. The tool builds it one letter at a time.

Likeness to your text

Nothing you paste is sent anywhere. Your grimoire keeps saved pieces in this browser.

How it works

The tool records which letter follows each run of three, four or six letters in your text. It then writes a new passage by choosing every next letter the way your text did. Loose uses runs of three and makes stranger words. Close uses runs of six and stays near the original. Paste at least a paragraph. The result is about seven hundred characters.

Where it comes from

Hugh Kenner and Joseph O'Rourke described the method in BYTE in 1984 in an article called A Travesty Generator for Micros. The idea goes back to Andrey Markov, who counted letter pairs in Pushkin's Eugene Onegin in 1913, and to Claude Shannon, who built English-looking text from letter statistics in 1948.

How people use it

Feed it one author and it returns something with the author's habits and no sense. That makes it a quick way to hear a voice. Writers use the output as a prompt. Some people read the nonsense for chance meanings, the way others read tea leaves or open a book at random.

To try it on a story, open one, select a passage and choose Tools, then Magick. Browse the stories.

More word tools

All word tools