A minimal PDF
The smallest complete file: a page, and shapes drawn on it.
The same document written twice, plainly and packed, with what each one weighs and what the packing saved.
Most of a PDF is lists of settings — one for the file, one for each page, one for each font, one for each clickable area. None of them is a block of data, so none of them is compressed, and each is written out in full. A file can instead gather them into blocks that are compressed together, and write the table saying where everything is as a block too.
The page you are reading was written that way, and it reports on a second document of twenty-four pages that was written both ways. The saving grows with the number of pages, because every page costs a handful of those lists. It is off unless you ask for it, and asking for it needs a file that says it is PDF 1.5 or later — a document that says less is refused rather than quietly written as something an older reader could not open at all.
The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.
The same document is written in each of these languages. Open the one you want to look at.
This document weighs 40,701 bytes.
The team wrote this example after measuring the documents above, so there is no earlier figure to set beside it. See every document measured.
The smallest complete file: a page, and shapes drawn on it.
Text set in a font the file carries inside it, cut down to the letters actually used.
A boarding pass carrying the IATA BCBP line a gate scanner reads.
A sheet of die-cut shelf labels, priced and barcoded, with cut marks in the margins.
A paragraph broken into lines, set four ways: left, right, centred, justified.
A word too wide for its column: left whole, or cut to the edge.