# Rebuilt from the PDF alone

A PDF that carries its source and a record of its checks can be rebuilt from nothing but itself. When this site was built, ours came back the same, byte for byte.

Address: https://intex.academy/notes/rebuilt-from-the-pdf

November 17, 2026

Trust in a document usually rests on whoever handed it over. A PDF that can be rebuilt from itself offers something firmer: take the file, rebuild it, and see whether the same file comes out.

Our PDFs carry a record of what our software checked about them, and a PDF built with its source carries the source as well. When this site was built, the PDF of our sample lecture notes was copied, alone, into an empty folder and rebuilt from what it carries. It came back as 71,058 bytes, the same bytes, and its record, worked out again from scratch, matched the record inside.

**sha256** `a9d47e54dda2304213074fb5759f62d02e7287e3cbc1d5c984472b3927b138c7`

It holds beyond one sample. On our test list of 100 LaTeX documents of six kinds, the 85 that build were built with their source, and every one of the 85 PDFs rebuilt from itself to the same bytes.

Two limits keep this honest. A document delivered to a university carries its record but not its LaTeX, so its record can be read but the PDF cannot be rebuilt from it. And a rebuild shows that the document is exactly what the software made, not that it is right; judging that is still a person's job. The record and the rebuild are on [A document that proves itself](https://intex.academy/proof).

More notes: [all notes](https://intex.academy/notes/), or follow them with the [Atom feed](https://intex.academy/notes/feed.xml).
