Skip to content
⚠ TESTING ENVIRONMENT You are viewing a testing copy of Tolioo. Changes here do not affect the live website.

PDF Structure Analyzer

Check how your PDF is built and whether it is healthy. Header, xref, trailer, catalog and compression in one report. Free and no signup.

  • 100% free
  • No Signup
  • Health score
PDF
file.pdf
0 MB
ADVERTISEMENT
Demo Ad 728 x 90

How to analyze a PDF structure

  1. 1

    Upload

    Add your PDF by dragging it in or browsing your device.

  2. 2

    Pick a mode

    Choose a quick check or a deep scan of packed objects.

  3. 3

    Read the report

    Review the health score, checks, layout and features.

PDF HEALTH CHECK GUIDE

PDF Structure Analyzer – Check PDF File Structure, XRef Table and Corruption Online

A PDF that opens fine today can still hide structural problems that break it tomorrow in a different reader, a printer workflow, an email scanner or an upload form. Our free PDF structure analyzer online checks the skeleton of your file and tells you whether it is built correctly. It examines the PDF header, the end-of-file marker, the startxref pointer, the cross-reference table or stream, the trailer, the document catalog, the object count, object streams, compression filters and optional features such as bookmarks, tagging and interactive forms. The result is a simple structure health score with a pass, warning or fail line for every check, so you can see at a glance whether a file looks sound. It works as a PDF file structure checker, a lightweight PDF validator online and a first-step diagnosis tool when you suspect a corrupted PDF. The analysis runs on our own server with no third-party service involved, it is strictly read-only, and the uploaded copy is deleted as soon as your report is shown.

Check the PDF XRef Table and Trailer

The cross-reference section is the index that lets a reader jump straight to any object. Our PDF xref checker confirms that the startxref pointer exists, that it lands on a real xref table or cross-reference stream, and that the trailer contains the catalog reference and size entry a reader needs to open the file.

Find Out If a PDF Is Corrupted

When a PDF says it cannot be opened or displays a repair message, the cause is usually a damaged header, a missing end marker, a broken xref offset or unbalanced objects. The health checks point to the exact area that fails, which tells you whether to re-export the file, re-download it or send it for repair.

See Compression and Object Streams

Learn which compression filters your PDF uses, such as FlateDecode for general data and DCTDecode for JPEG images, and how many objects are packed into compressed object streams. This is a quick way to understand how a PDF was produced and how modern its internal format is.

How a PDF File Is Organized: Header, Body, XRef Table and Trailer

Every PDF follows the same four-part layout. The header is the first line and declares the version, for example %PDF-1.7, usually followed by a comment line of high-value bytes that tells software the file contains binary data. The body is the main part and holds the numbered objects that make up pages, fonts, images and everything else. The cross-reference section lists the byte position of each object, and the trailer states where the document catalog starts and how many entries the file declares. The very last lines contain the word startxref, a number that points to the cross-reference section, and the %%EOF marker that closes the file.

A reader opens a PDF from the end, not from the beginning. It finds startxref, jumps to the xref, reads the trailer and only then loads the pages it needs. That is why damage near the end of a file, such as a truncated download, can make an otherwise complete document unreadable, and why a structure check that starts from the end of the file is so effective at explaining failures.

How to Check a PDF File Structure Online (Step by Step)

You do not need to open the file in a text editor or learn the PDF specification. Follow these steps to run a structure check on any PDF.

  1. Upload your PDF: Select a file from your computer, phone or tablet, or drop it into the upload area.
  2. Choose an analysis mode: Quick check scans the file as written. Deep scan also unpacks compressed object streams, which finds pages, fonts and annotations that modern PDFs hide inside them.
  3. Click Analyze PDF: The tool reads the file without changing it.
  4. Read the health score: The percentage shows how many structural checks passed.
  5. Review each check: Green lines passed, amber lines deserve attention and red lines point to real structural problems.

Files up to 20 MB are supported. Encrypted PDFs can still be checked at the file-layout level, but their compressed content stays locked, so the feature counts may be incomplete.

What Each Health Check Means

The report runs eight structural checks. The table below explains what each one looks for and what a warning usually tells you.

PDF structure health checks explained
Check What it verifies If it fails or warns
PDF header The file starts with a valid %PDF- version line Extra bytes before the header or a wrong file type
End-of-file marker The file finishes with %%EOF Truncated download or trailing junk data
startxref pointer A byte offset to the cross-reference section exists Readers must rebuild the index, which is slow or fails
Cross-reference section The offset lands on an xref table or xref stream Shifted bytes after editing or damaged file end
Catalog (/Root) The trailer references the document catalog A reader cannot find the page tree
Object balance obj and endobj markers match in count Cut-off or merged objects inside the body
Trailer /Size Declared size is larger than the highest object number Inconsistent index after manual or tool-based edits
Encryption The file is not password protected Content streams cannot be analyzed in full

A single warning is not always a disaster. Many real-world PDFs open perfectly well with one or two warnings, because readers are built to tolerate small deviations. Several red lines at once, however, are a strong sign that a file should be regenerated from its source.

Classic XRef Table vs Cross-Reference Stream

PDF files record object positions in one of two ways. Older files use a classic xref table, a plain text list with one 20-byte line per object. Files created for PDF 1.5 and newer often use a cross-reference stream, a compressed binary object that does the same job in less space and works together with object streams. The analyzer tells you which one your file uses, because the difference matters when you work with older software or strict validation rules.

Classic xref table compared with cross-reference stream
Feature Classic xref table Cross-reference stream
Introduced in PDF 1.0 PDF 1.5
Format Readable text lines Compressed binary stream
File size Larger for big documents Smaller
Works with object streams No Yes
Support in old readers Universal Needs a PDF 1.5 capable reader

Quick Check vs Deep Scan: Which Mode Should You Use?

Quick check reads the file exactly as it is written and is the fastest option. It is ideal for verifying the header, end marker, xref and trailer, which are the parts that decide whether a file opens at all. Deep scan goes one step further. Modern PDFs often pack many small objects, including page dictionaries, font dictionaries and annotations, into compressed object streams. These objects are invisible to a plain scan. Deep scan unpacks those streams so that the page count and the content element counts reflect the real document.

  • Use Quick check when you only care whether the file is intact and properly closed.
  • Use Deep scan when the page, font or annotation counts look too low, or when the file uses object streams.
  • Expect a longer wait on large files with deep scan, because compressed data must be unpacked.

Linearized PDF (Fast Web View) and Incremental Updates

A linearized PDF, also called a fast web view PDF, is reorganized so that the first page can be shown while the rest of the file is still downloading. This matters for PDFs published on websites and opened in a browser. The analyzer reports whether your file carries the linearization marker, which helps when you want downloads to feel instant for visitors.

The report also counts incremental updates. When a PDF is edited and saved without a full rewrite, the new data is appended to the end and a fresh xref and %%EOF are added. Each update leaves another trailer behind. A high update count means the file keeps older versions of its content inside, which makes it larger and can be a privacy concern if you believed earlier text was removed. Saving the document again as a new file normally resets the count.

Catalog Features: Bookmarks, Tagged PDF, Forms and Named Destinations

The document catalog is the root of the file, and its entries decide which advanced features exist. The analyzer lists the ones that matter most in daily work.

  • Interactive form (AcroForm): Shows whether the PDF contains fillable fields and how many form widgets were found.
  • Bookmarks (Outlines): Confirms that a long document has a navigation tree in the sidebar of a reader.
  • Tagged structure: Indicates the presence of a logical structure tree, which screen readers rely on for accessibility.
  • XMP metadata stream: Shows whether rich, standards-based metadata is embedded.
  • Named destinations: Reveals targets that links and table-of-contents entries can jump to.
  • Document language: Detects the language entry that assistive technology uses for pronunciation.

These indicators are a fast way to compare an exported PDF with what you intended. If you built an accessible, bookmarked report but the analysis shows no tags and no outline, the export settings need to be changed.

Common PDF Compression Filters Explained

Streams inside a PDF are stored with one or more filters. Knowing which ones are present explains how a file was created and what tools can read it.

PDF stream filters and what they are used for
Filter Used for Notes
FlateDecode Text, page content, general data The most common filter, lossless
DCTDecode JPEG photographs Lossy, small image data
JPXDecode JPEG 2000 images Appears in newer and scanned files
CCITTFaxDecode and JBIG2Decode Black and white scans Very compact for document scans
LZWDecode Older general data Seen in legacy files
ASCII85Decode and ASCIIHexDecode Text-safe encoding Rare in modern exports

Who Needs a PDF Structure Check? Common Use Cases

Structural problems affect more people than you might expect. Here are the situations where a quick analysis saves time.

  • Troubleshooting a PDF that will not open: Find out whether the header, end marker or xref is damaged.
  • Checking a download: Confirm a large file was not cut off before the end marker.
  • Validating generated PDFs: Test invoices, tickets and reports created by your application before releasing them.
  • Preparing files for upload portals: Verify version and structure when a system rejects a document without a clear reason.
  • Accessibility reviews: Check for tagged structure, language and bookmarks before publishing.
  • Teaching and learning: Understand how PDF files are assembled using a real example.

What To Do When the Analyzer Finds Problems

If the report shows red lines, start with the simplest fix. Open the original source file, such as the Word, design or spreadsheet document, and export a fresh PDF. If the original is not available, try printing the damaged PDF to a new PDF from a reader that opens it, which rebuilds the whole structure from scratch. For a truncated download, download the file again and compare the size. For an unusually high update count, save the document as a new file to remove old revisions. If the file still fails after these steps, a dedicated PDF repair utility is the next option.

Keep in mind that this tool diagnoses structure, it does not repair it. It also checks the framework of the file rather than the quality of the content, so a perfectly healthy structure can still contain a blurry scan or a spelling mistake.

PDF Structure Analyzer on Any Device, No Software Needed

The analyzer works in any modern browser on Windows, Mac, Linux, Android and iPhone. If you were looking for a PDF validator for Windows, a PDF corruption checker for Mac or a way to test a PDF on your phone, the steps are the same everywhere. Open the page, upload the file, choose a mode and read the report. There is no account, no installation and no watermark, and the analysis does not rely on any outside service.

Popular Searches This Tool Covers

People find the PDF Structure Analyzer by searching for PDF structure analyzer, check PDF health, PDF xref and trailer check, is my PDF corrupted, PDF header and catalog report and PDF compression check. All of these searches describe the same job, and this free online tool handles it with no signup, no watermark and no software to install, on Windows, Mac, Linux, Android and iPhone.

Tips for the Best PDF Structure Analyzer Results

A few small habits give you a better result and save you time.

  • Read the summary first: It tells you quickly whether the file is healthy.
  • Check the cross reference table: Problems here often stop a file from opening.
  • Note the PDF version: Older viewers may not handle new versions.
  • Look at compression: Uncompressed streams make files larger than needed.
  • Repair if needed: Use PDF Repair when the report shows errors.

Troubleshooting: Common PDF Structure Analyzer Problems

Most files work on the first try. If something does not look right, these quick fixes usually help.

  • The report shows warnings: Minor warnings are common, so fix only the ones that cause real problems.
  • The file is rejected: Keep it under 20 MB.
  • The file is encrypted: Remove the password first.
  • The structure is damaged: Try PDF Repair.
  • You do not understand a term: Use the Object Inspector for a friendlier view.

More Free PDF Tools You May Need

The PDF Structure Analyzer is often one step in a bigger document workflow. These related free tools make the rest of the job easier:

Free PDF Structure Analyzer Online: Fast, Private and Read-Only

This free PDF structure analyzer gives you a clear view of your file's foundation without technical knowledge. You get a health score, a list of pass and warning checks, the file layout, catalog features and compression details in one place, and your original document is never modified. Upload a PDF above to see how it is built. If you also need to inspect individual objects, convert pages to images or work with highlights and stamps, explore the other free PDF tools on our site.

ADVERTISEMENT
Demo Ad In-article
COMMON QUESTIONS

PDF Structure Analyzer FAQ

Quick answers about checking PDF structure, finding corruption and understanding the health report.

What does a PDF structure analyzer check?

It checks how the file is built: the header, the %%EOF end marker, the startxref pointer, the cross-reference table or stream, the trailer, the catalog reference, the balance of object markers and encryption. It also reports object streams, compression filters, incremental updates and catalog features such as bookmarks and tagging.

How can I tell if my PDF is corrupted?

Run the analyzer and look at the health checks. Red lines for the header, end marker, startxref or cross-reference section are typical signs of damage, such as an interrupted download or a bad save. Several failed checks together mean you should re-export or re-download the file.

What is the difference between Quick check and Deep scan?

Quick check reads the file as written and is fastest. Deep scan also unpacks compressed object streams, where modern PDFs store many objects, so page, font and annotation counts are more complete. Use deep scan if the quick numbers look too low.

What is an xref table in a PDF?

The cross-reference section is an index that stores the byte position of every object, so a reader can jump straight to what it needs. It can be a classic text table or, in newer files, a compressed cross-reference stream. The analyzer tells you which type your file uses and whether the startxref pointer reaches it.

Does this tool repair or edit my PDF?

No. It is read-only and only diagnoses the structure. Your original file is never changed and no new PDF is created. If the report finds serious problems, re-export the document from its source or use a dedicated repair tool.

Can I analyze a password-protected PDF?

The file layout checks still work, but the content streams of an encrypted PDF stay locked, so the page and feature counts may be incomplete. For the full result, remove the password first and upload the unlocked file. The maximum upload size is 20 MB.

Is it safe to analyze a PDF online?

The analysis runs on our own server without sending your file to any third-party service, and the uploaded copy is deleted as soon as your report is ready. We never save or store your files and you do not need an account. As with any online tool, avoid uploading highly sensitive documents unless you are comfortable with how they are handled.

ADVERTISEMENT
Demo Ad 970 x 250