Skip to content
PurePDF HQ
Color theme

Edit PDF bookmarks and table of contents

Read and edit a PDF’s sidebar bookmark tree (/Outlines), nest chapters and sections, or insert a printable Table of Contents page at the start of the document on your device.

Runs pdf-lib in your browser, a 214 KB download the first time you edit bookmarks. Open-source licenses

How to edit PDF bookmarks

Choose your PDF file above, pick whether to update the sidebar outline, insert a printable Table of Contents page at the start, or clear existing bookmarks.

Enter one bookmark per line as Page: Title (for example, 1: Introduction, or indent with two spaces for nested sub-sections), then select Apply bookmarks.

The list starts with the file’s own bookmarks, every level and page. Change only the lines you want; left as it is, or emptied, the outline stays exactly as it was.

Nested outlines and printable Table of Contents

Each top-level line becomes a root bookmark in the PDF’s /Outlines tree pointing to that 1-based page. Each two spaces of indent nest a line one level deeper, under the bookmark above it.

When you choose Add Table of Contents page, a clean A4 or document-sized contents page is added at page 1 with dot leaders and shifted page numbers.

Private, on-device bookmark editing

Your PDF and bookmark titles stay inside your browser tab using pdf-lib. Nothing is uploaded to any server.