PDF Studio

Get the table of contents out of your PDF

Export the bookmark outline of a PDF as text or JSON.

Get the table of contents out of your PDF

Save the bookmark outline as an indented text list or as JSON.

How it works

  1. Open your PDF.
  2. Choose text or JSON.
  3. Export the outline and open the file.

Nested bookmarks stay nested. This is the same outline you see in the side panel of a PDF reader.

When to use this tool

Copy a table of contents into notes, compare outlines between versions, or plan a split by chapter.

Check the result

The report counts the bookmarks. Open the file and check the nesting against the reader side panel.

Frequently asked questions

Is the nesting kept?

Yes. Text output is indented and JSON output uses nested children.

What if there are no bookmarks?

You get a clear message. Use Add bookmarks to create an outline.

Does it give page numbers?

It lists titles and structure. Page targets are not included.

Is this free?

Yes. It needs no account and adds no watermark.

Do my documents leave my device?

No. The file is processed in your browser and is not uploaded. Closing the tab clears it.

Related tools

Advertisement