// 2026-08-05 · Weird & Wonderful · by Bob Smith

monkeys.zip: The Infinite Monkey Theorem, Actually Running

monkeys.zip is a live simulation of the infinite monkey theorem, with thousands of virtual monkeys hammering keys and being checked against the works of Shakespeare.

Screenshot of monkeys.zip
monkeys.zip: what you'll see when you land there

monkeys.zip took a philosophy-seminar thought experiment and put it into production. Thousands of virtual monkeys, each producing a stream of random characters, run continuously against the complete works of Shakespeare, and the site keeps score of how far they have gotten.

Spoiler: not far. Gloriously, mathematically, permanently not far. Watching it is the point.

What is monkeys.zip?

The infinite monkey theorem is one of those ideas that everybody half-knows. Give a monkey a typewriter and infinite time and it will eventually produce Hamlet. It is a real result in probability, usually deployed to illustrate that “almost surely” and “in your lifetime” are extremely different things.

Most people encounter it as a joke. monkeys.zip encounters it as an engineering problem.

The site runs a swarm of simulated monkeys, each emitting random keystrokes, and continuously checks that output against the Shakespearean corpus. It tracks the aggregate: how many characters have been typed in total, how many monkeys are working, and, most compellingly, the longest sequence anyone has ever matched. That last number is the heart of it. It creeps upward with agonizing slowness, and every increment represents an amount of randomness that is genuinely difficult to hold in your head.

What makes it more than a gag is the confrontation with scale. A handful of matching characters feels like progress. Then you learn that each additional character makes the feat roughly twenty-something times harder, and the “progress” collapses into a rounding error. The simulation is not approaching Shakespeare. It is standing at the bottom of a staircase that goes up forever, having climbed two steps very energetically.

There is also a nice bit of internet history in the domain itself. .zip was one of the newer top-level domains, and using it for a page about compressing infinite time into a browser tab is a decent joke in its own right.

Underneath all of it is a genuinely good piece of science communication. You can read that a probability is 10 to the negative several-hundred and feel nothing. Watching a counter tick past astronomical numbers while the longest match stubbornly refuses to grow teaches the same lesson in a way your gut actually accepts.

What can you do on monkeys.zip?

  • Watch the counters run. Total characters typed, monkeys at work, and the current record. They update live and the numbers get silly fast.
  • Check the best match so far. The longest matching Shakespeare fragment ever produced is the site’s headline achievement, and it is usually shorter than a tweet.
  • Do the math yourself. Take the current record length, work out the probability of one more character, and enjoy the moment where the exponent stops feeling like a number.
  • Leave it open in a tab. It keeps running. Come back in a week and see whether the record moved. It usually has not.
  • Use it to explain probability. It is a far better teaching aid than a chalkboard for anyone who does not intuit exponential decay.
  • Appreciate the presentation. The whole thing is deliberately absurd, right down to the monkeys, and takes its own absurdity completely seriously.

Tips to get the most out of it

Look at the record before the totals. The big total-characters number is impressive and meaningless. The record match is small and devastating. Reading them in that order is the whole experience.

Compare the numbers to something physical. Atoms in the observable universe. Seconds since the Big Bang. Both are laughably small next to the odds of a single Shakespearean line appearing by chance, and making that comparison is the moment the joke turns into a lesson.

Do not root for the monkeys. They are not going to do it. Nothing is going to do it. Enjoying the site requires making peace with that early.

Bring it up when someone says “given enough time”. The theorem is invoked constantly in arguments about evolution, AI and randomness, almost always by people who have not looked at the actual magnitudes. This site has the magnitudes.

Revisit it occasionally rather than staring at it. Nothing meaningful changes in five minutes. Checking in once a month and finding the record has grown by one character is far more satisfying.

Read up on the real-world attempt. In 2003, researchers gave actual macaques a keyboard. They produced several pages consisting largely of the letter S, and then used the keyboard as a toilet. The simulation is more productive.

If you like monkeys.zip, also try…

More experiments with too much time on their hands in Weird & Wonderful, and the numbers get bigger in Data & Research.

Frequently asked questions

What is monkeys.zip?

monkeys.zip is a live web experiment that runs the infinite monkey theorem as an actual simulation. Virtual monkeys generate random characters continuously, and the output is compared against the complete works of Shakespeare to find the longest matching passage produced so far. The site displays running counters and the best matches found.

Is monkeys.zip free?

Yes. It is a free browser experiment with nothing to buy and nothing to install. You open the page and watch the simulation, which keeps running whether or not you are looking at it.

What is the infinite monkey theorem?

It is a probability thought experiment stating that a monkey hitting typewriter keys at random for an infinite amount of time will almost surely eventually type any given text, including the complete works of Shakespeare. It is used to illustrate how events with vanishingly small probability become near-certain over unbounded time.

Will the monkeys ever finish Shakespeare?

No. The probability of randomly producing even a single full sonnet is so small that the numbers involved dwarf the age and size of the observable universe. The point of the site is not to succeed but to make the scale of that impossibility visible and oddly entertaining.

Visit monkeys.zip →

← All posts · Browse the directory