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.
Related tools
- PDF page labels & viewer preferences: Set Roman and Arabic /PageLabels ranges, prefixes, PageLayout and PageMode.
- Reorder PDF pages: Put the pages of a file in a new order.
- Merge PDF: Join several files into one, in the order you choose.
- Split PDF: Save pages or ranges of a file as new files.
- Add page numbers to PDF: Number the pages, or add a header or footer, where you choose.
- Compress PDF: Make a file smaller, or at or under a size you type.