VectorBlender Beta

Inspect PDF Objects and Content Stream

To inspect a PDF's internal structure, open the file in VectorBlender: the Stream view shows the drawing operators linked both ways to what they draw, and the Objects view lists every object in the document, filterable by layer. It runs entirely in your browser and your file never leaves your computer. A free account unlocks the tool; nothing to install.

See how a PDF page is really made. Read its drawing operators, list every object on it, and click from an operator to what it draws, or from something on the page to the operators behind it. It's free with an account, and runs in your browser.

Open a PDF Register Free

How to see a page's content stream

  1. Open the PDF in VectorBlender and sign in with your Google account.
  2. Open the Stream tab in the inspector.
  3. Read it as an outline and as text. The outline shows the operators as a tree, and the text below it is the stream itself, coloured, with Find and a line number to go to. Rest the pointer on a row of the outline to read all of its text.
  4. Click an operator to see what it draws, or right-click something on the page and choose Show in Stream.

Three views of a page

Stream

The operators that draw the page: set a colour, move to a point, show some text. Collapse, filter and search them.

Objects

Every text block, image, shape, form, shading and annotation on the page, front to back, with its layer. Filter by name or by layer, and click to select one.

Document

Title and dates, the XMP metadata, and every font and colour with what uses it.

Reading a content stream

A few operators cover most of a page:

Operator What it does
q Q Save and restore the graphics state
cm Move, scale or turn what follows
rg RG / k K Set the fill or stroke colour, in RGB or CMYK
m l c h Build a path: move, line, curve, close
f S W Fill, stroke or clip to the path
BT ET Begin and end text
Tf Td Tj TJ Choose a font, move, show text
Do Draw an image or a form
BDC EMC Begin and end marked content, such as a layer

What it's for

Debugging a generator

See what your code really wrote, next to how it draws.

Finding a hidden object

Look for what turns up in search but doesn't show on the page.

Checking a redaction

Look for the words in the stream, and not only under the box. See Redact a PDF.

Learning PDF

Click through a real page instead of reading the specification first.

Questions

Can I edit the stream by hand?

No. The stream is for reading. Change the page with the editing tools, and the stream follows.

Does it show the file's other objects, such as the xref table?

No. It shows the page: its streams, objects, fonts and layers. For the file's raw structure, use a command-line tool such as qpdf or mutool.

Can it show the stream of a damaged PDF?

If the page opens, usually yes.

Is it free for commercial use?

Yes. A free account has all three tabs.

Related tools

Try it on your own PDF

It runs in your browser: nothing to install, and the file stays on your computer.

Open a PDF Register Free Read the Guide