PDF versions
The current version of the format is PDF 2.0 (ISO 32000-2:2020). The version almost every file in circulation claims is 1.7 or lower, and 1.7 remains the safe target for anything that must open everywhere. A file states its version in its first line, %PDF-1.7, and the document catalog can raise it.
Version table#
| Version | Year | Acrobat | Added |
|---|---|---|---|
1.0 | 1993 | 1.0 (Carousel) | Pages, text, images, hyperlinks, bookmarks, thumbnails. |
1.1 | 1994 | 2.0 | Passwords and 40-bit RC4 encryption, device-independent colour, article threads, a binary file convention for smaller files. |
1.2 | 1996 | 3.0 | Interactive forms (AcroForm) and FDF, mouse events, sound and movie annotations, zlib/Flate compression, Unicode in annotations. |
1.3 | 2000 | 4.0 | Digital signatures, JavaScript actions, embedded file streams, ICC-based and DeviceN colour spaces, CID-keyed (composite) fonts, prepress support. |
1.4 | 2001 | 5.0 | Transparency, 128-bit RC4, tagged PDF for accessibility, XMP metadata, JBIG2 images, printer's marks. |
1.5 | 2003 | 6.0 | Object streams and cross-reference streams, JPEG 2000, public-key security handlers, optional content (layers), XFDF, XFA 2.02 forms. |
1.6 | 2004 | 7.0 | AES-128 encryption, OpenType font embedding, 3D artwork (U3D), XFA 2.2, NChannel colour. |
1.7 | 2006 | 8.0 | Further 3D support, multiple file attachments, XFA 2.4, more hash algorithms for signatures (SHA-384/512, RIPEMD-160). Published unchanged in substance as ISO 32000-1:2008 on 1 July 2008. |
1.7 Extension Level 3 | 2008 | 9.0 | Adobe additions outside the ISO text: AES-256 encryption (revision 5, later found weak), XFA 2.5 to 2.8, Flash and video rich media. Declared through the catalog's /Extensions dictionary, not the header. |
1.7 Extension Level 8 | 2011 | X | AES-256 with a stronger password algorithm (revision 6), XFA 3.3. Never published as a separate document. |
2.0 | 2017 | n/a | ISO 32000-2:2017, the first revision developed entirely inside ISO. AES-256 revision 6 standardized; UTF-8 text strings; associated files; page-level output intents; per-object black point compensation; PAdES-style signatures with long-term validation; structure namespaces for tagged PDF; Document Information dictionary deprecated except CreationDate and ModDate; XFA, Movie and Sound annotations and OPI deprecated; PostScript XObjects removed; the standard-14 font exemption removed, so every font is embedded. |
2.0 (2nd edition) | 2020 | n/a | ISO 32000-2:2020, published December 2020. Corrections and clarifications, updated normative references, a new Annex E on extending PDF and Annex Q on determining transparency. No new header value. |
The Extension Levels deserve a note. After 1.7 went to ISO, Adobe kept shipping features in Acrobat 9 and X and documented them as "PDF 1.7, Adobe Extension Level 3" and so on. The files still begin with %PDF-1.7; the extension is declared in the document catalog, as the next section shows. The ISO committee folded the useful parts (AES-256 above all) into PDF 2.0.
How a file states its version#
Three places can carry a version, and they take precedence in this order.
The header. ISO 32000-1 §7.5.2 requires the first line to be %PDF- followed by 1.N; PDF 2.0 files write %PDF-2.0. This is what head -c 8 shows and what most tools report.
The catalog. Since PDF 1.4 the document catalog may contain a /Version name, for example /Version /1.6. The specification says it applies when it is later than the header's version; the practical reason it exists is incremental updates, which append to a file without rewriting its first line, so a writer that adds a 1.6 feature to a 1.4 file can declare the new version without touching byte 5. Tools that only read the header will misreport such files.
The extensions dictionary. Also in the catalog, /Extensions lists developer-registered extensions with a base version and a level (ISO 32000-1 §7.12). Adobe's registered prefix is ADBE:
<< /Type /Catalog
/Pages 2 0 R
/Extensions << /ADBE << /BaseVersion /1.7 /ExtensionLevel 3 >> >>
>>A reader that does not know the extension is expected to ignore it and open the file as plain 1.7, which is the general rule for version numbers in PDF: new features are designed to be ignorable by older readers, and ISO 32000-1 explicitly allows a reader to attempt files newer than it understands.
What generators write#
The header a library emits is a claim, not a measurement. Several libraries write a low number by default and raise it only when a feature needs it; others write 1.7 regardless of what the file uses. Checked October 2026:
| Generator | Default header | Notes |
|---|---|---|
| pdf-lib 1.17.1 (JavaScript) | %PDF-1.7 | Always 1.7; object streams on by default, which is a 1.5 feature in any case. |
| PDFKit (Node.js) | %PDF-1.3 | pdfVersion option accepts 1.3 to 1.7 and 1.7ext3; the value also selects the encryption algorithm (RC4-40 for 1.3, AES-256 for 1.7ext3). |
| ReportLab (Python) | %PDF-1.3 | PDF_VERSION_DEFAULT = (1, 3); raised to 1.4 automatically when transparency is used. |
| Chromium print to PDF (Skia) | %PDF-1.4 | Verified with Chrome headless --print-to-pdf on this machine; qpdf reports "PDF Version: 1.4". |
| Acrobat, most office suites | %PDF-1.6 or 1.7 | Depends on the compatibility setting chosen at export. |
Two consequences. A %PDF-1.3 header from ReportLab does not mean the file lacks features that only 1.3 readers can handle; it means nothing in it required a higher claim. And a %PDF-1.7 header from pdf-lib does not mean the file uses any 1.7 feature. Treat the header as an upper bound on what the writer thought it needed.
Which version to target#
- Target 1.7 (ISO 32000-1) for general distribution. Every reader in use supports it, and it covers AES-128, transparency, layers, object streams, OpenType embedding and tagged PDF.
- Target 2.0 only when you need something it alone standardizes: AES-256 with the revision 6 password algorithm (also available as 1.7 Extension Level 8), associated files, UTF-8 strings, page-level output intents, or PDF/A-4 and PDF/X-6 conformance, which are built on 2.0. Reader support for 2.0-only features is still uneven, and some archival and government workflows reject unfamiliar headers.
- Target the version a standard requires when a profile is in play: PDF/A-1 is built on 1.4, PDF/A-2 and PDF/A-3 on ISO 32000-1, PDF/A-4 on ISO 32000-2; PDF/X-1a and X-3 on 1.3 or 1.4 depending on edition, PDF/X-4 on 1.6, PDF/X-6 on 2.0. The standards page covers the profiles themselves.
- Never write a header lower than the features you use. A file with object streams and a
%PDF-1.4header is malformed, and strict validators will say so.
Checking a file's version#
# the header
head -c 8 document.pdf # %PDF-1.7
# header and structure, with the effective version
qpdf --check document.pdf # PDF Version: 1.7
# the catalog, to see /Version or /Extensions if present
mutool show document.pdf trailer/RootThe PDF inspector on this site reports the header version and the catalog /Version entry for any file, in the browser. The file signatures reference explains the header bytes themselves and what readers tolerate before them.
Sources
- ISO 32000-1:2008, §7.5.2 File header, §7.7.2 Document catalog (Version entry), §7.12 Extensions dictionary free copy distributed by Adobe
- Library of Congress, Sustainability of Digital Formats, "PDF, Version 1.7 (ISO 32000-1:2008)"
- Library of Congress, Sustainability of Digital Formats, "PDF 2.0, ISO 32000-2"
- Wikipedia, "History of PDF" (version table)
- ISO 32000-2:2020 catalogue entry
- PDFKit documentation, "Getting started" (pdfVersion option)
- ReportLab source, reportlab/pdfbase/pdfdoc.py (PDF_VERSION_DEFAULT)
- pdf-lib API, PDFDocument