Validate PDF Structure

Check header, xref, trailer, cross-reader page agreement and operator balance of a PDF file.

PremiumServer processing25 MB / file200 pages
Validate PDF Structure is a premium tool. Upgrade to unlock it, higher file limits and an ad-free experience.

About Validate PDF Structure

Validate PDF Structure inspects the file layout the way a strict reader would: the %PDF header version, the %%EOF marker, the startxref offset actually pointing at a cross-reference section or object, the trailer /Root catalogue, the page count agreement between pdf-lib and pdf.js as two independent parsers, and BT/ET plus q/Q operator balance in every page’s content stream. Encrypted documents are reported and their content streams skipped. The result is valid, valid-with-warnings or invalid, delivered as a ZIP with a JSON and a PDF report.

How to use Validate PDF Structure

  1. Upload the PDF.
  2. Run the check — no options are needed.
  3. Read the per-check results: header, EOF, startxref, trailer, page agreement, operator balance.
  4. Download the ZIP with the JSON and PDF report.

Supported formats, limits and processing

  • Input: PDF
  • Output: ZIP with JSON + PDF report
  • Processing: on our server using a sandboxed processing pipeline. Uploads are deleted after processing and results expire automatically.
  • Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.

Privacy and file handling

Server tools need the document on the server to run an external engine. Uploads are stored in a private temporary location, processed in an isolated job, and deleted when processing finishes. Results are available through an authorised, expiring link and are deleted automatically (default 60 minutes). Only file metadata, checksums and status are kept in the database, never the PDF itself. Passwords for Protect/Unlock are encrypted before being stored for the job.

Troubleshooting

status “invalid”
A structural defect was found (header, EOF, startxref, trailer). Repair the PDF and run the check again.
status “valid-with-warnings”
Operator imbalance or cross-reader page disagreement — most readers still render the file.
The document is encrypted; content streams are not scanned
Unlock the PDF first for the deep content checks.

Validate PDF Structure FAQ

Is this a PDF/A or PDF/X check?
No — this validates the file structure itself. Standards conformance is the separate Validate PDF/A, PDF/X & PDF/UA tool.
What does a warning mean?
Warnings (unbalanced operator pairs, cross-reader disagreement) usually mean the file was written by a quirky producer; most readers still render it.
What does invalid mean?
A structural defect such as a missing header, missing EOF, a broken startxref offset or an unparsable document.

Related tools

More Printing & Layout tools