Random Historical Document Generator

Draw a random landmark document from 42 that shaped history -- Hammurabi's code to the UN Charter -- each with its date and what it changed.

What is a primary source?

A primary source is a document created at the time being studied by someone connected to it: a charter, a treaty, a letter, a court record. Historians rank it above secondary accounts written later, but not because it is neutral -- every document was written by someone with a purpose, and reading it means asking who wrote it, for whom, and what they wanted. Survival is heavily skewed towards the literate and powerful, so peasants and slaves appear mostly through the records of others. The most consequential documents are often the plainest in form, since a land grant or a tax roll can outweigh a chronicle written to flatter.

About this generator

This generator draws from a curated list of 42 landmark documents across six kinds -- Ancient & Classical, Medieval, Founding Charters, Treaties & Accords, Books & Manifestos, and Speeches & Proclamations -- from the Code of Hammurabi and the Rosetta Stone to the UN Charter and 'I Have a Dream.'

Every result here is drawn using crypto.getRandomValues() -- the Web Crypto API's cryptographically secure randomness -- instead of Math.random(), so it's genuinely unpredictable, not just statistically random. Learn more.

What people use it for

Students of history, law, and politics use it to meet the primary sources everything else cites. Teachers use it for document-based lesson prompts, quiz setters mine the dates and famous lines, and the curious use it to learn what Magna Carta or the Treaty of Tordesillas actually said.

How it works

Generate draws one document at random using the site's cryptographically secure randomness, guaranteed not to repeat whatever result is currently showing in single-result mode. Each single result shows the document's date beneath its name plus a short story of what it says and what it changed; the Kind filter narrows the pool.

What's inside

A sample of what this generator can draw, spread evenly across the full list:

Common questions

Are books and speeches really 'documents'?

The list takes the historian's broad view: anything written or spoken whose text itself changed history -- so On the Origin of Species and the Gettysburg Address stand beside treaties and constitutions, each in its own filterable kind.

Can I read the originals?

Almost all survive and most are viewable -- Magna Carta in the British Library, the Declaration of Independence in Washington, the Rosetta Stone in the British Museum -- and nearly every text in the list is freely readable online.

What's the oldest document in the list?

The Epic of Gilgamesh, from around 2100 BC -- the oldest surviving great work of literature, complete with a flood story a thousand years older than the biblical one.

Related Generators

Ancient Site · Invention · Historical Mystery

All History & Time generators

Browse all generators