If you’ve ever opened up PDF in a text editor you will know how difficult it can be to discern what is going on inside, especially if the file contains a lot of objects and streams.
There are a few tools out there that there for the budding PDF developer to look at the internal structure of a PDF, one of the major ones is of course Adobe Acrobat however if there are some other great free and commercial tools for looking at the internal structure of PDFs.
Previously (in 2010!) Mark mentioned PDF CanOpener as a useful tool, although it has a price tag that may be considered hefty ($195) for those just curious about PDFs.
The tool I have recently found and, find rather useful, is called PDFXplorer by O2 Solutions. It is a small, Windows only, freeware application that allows you to explore the internal structure of a PDF as it is laid out in a tree. Turning this:
It lists each of the objects attributes in a neatly laid out table, has a good navigation tab that lets you easily move about the PDF, and also allows you to view and save streams and text data within the PDF file.
Overall you should consider making use of a tool like this if you develop with the PDF format or want to view the internals of PDF files. I am still on the look out for even more useful PDF tools, especially those that are on different platforms, do you know of any that are useful?
This post is part of our “Understanding the PDF File Format” series. In each article, we discuss a PDF feature, bug, gotcha or tip. If you wish to learn more about PDF, we have 13 years worth of PDF knowledge and tips, so click here to visit our series index!
Latest posts by Lyndon Armitage (see all)
- It’s as Easy as Pi to make MagPi into HTML5 on your Pi - October 9, 2013
- Making a jQuery PDF Viewer - August 20, 2013
- Check if a PDF is valid using the HTML5 File API - July 11, 2013
- Save time, Test your Code Part 2 - June 26, 2013
- Save time, Test your Code Part 1 - June 18, 2013