Validate PDF Structure
Check header, xref, trailer, cross-reader page agreement and operator balance of a PDF file.
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
- Upload the PDF.
- Run the check — no options are needed.
- Read the per-check results: header, EOF, startxref, trailer, page agreement, operator balance.
- 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?
What does a warning mean?
What does invalid mean?
Related tools
More Printing & Layout tools
N-up PDF (Multiple Pages per Sheet)
Place 2, 4, 6, 8 or 16 pages on each sheet with configurable paper size, orientation and borders.
Create Booklet
Impose pages in saddle-stitch booklet order for folded printing.
Add Printer Marks
Add crop and registration marks around trimmed page content for commercial printing.
Prepare PDF for Printing
Run a print preflight — bleed, embedded fonts, image DPI, transparency, annotations — then write TrimBox/BleedBox, expand the media box and add crop and registration marks.