PDF Object Count
Count live indirect objects in a PDF and compare types, object-stream entries and free slots. Review and save the local inventory.
Count Live PDF Objects and Free Slots
PDF Object Count: how to use it
- Open a local PDF or load the revision fixture.
- Compare live, parsed, free and compressed counts. Filter the inventory by object number, kind or type.
- Download JSON containing the complete current inventory and page resource counts.
Limits and notes
Use a nonempty PDF up to 25 MB with a terminal startxref and %%EOF. Read up to 32 recorded cross-reference sections and 24,000 rows. Unfiltered and Flate xref streams with common PNG predictors are supported. Other codecs, predictors or severe damage can stop the inspection. Parsed reports require unencrypted input, inspect up to 300 page-tree leaves, and decode bounded unfiltered or Flate object streams. Broken references and unavailable content can make the report partial.
How your privacy works →PDF Object Count: common questions
Is a free slot an output object?
A free row is an index slot and is counted separately. The live totals use current direct and compressed entries.
Is an object stream counted on top of the objects it contains?
Yes. The container is itself an indirect stream, and each live entry stored in it also counts.
Why can the declared count differ from parsed objects?
A live index entry can point to an object that is missing or cannot be parsed. The unavailable count records that gap.