>
BunchTool — PDF Bookmarks Generator
📤 Export ▾
📄 Export as .txt
📊 Export as .csv
⌨ Shortcuts
🔗 Share
↺ Reset
👁️ Outline Tree Preview
No PDF loaded
📂
Drop your PDF document here
or click to browse from device
Processing happens entirely inside browser RAM
Visual Bookmark Nodes
Related Tools

More free PDF tools


📄 PDF Tools

PDF Bookmarks Generator —
Create PDF Table of Contents Online

Generate structured, multi-level tables of contents and sidebar outline trees for your PDF files with our free PDF Bookmarks Generator. Drag and drop outline sections, configure 3 levels of nested bookmarks, assign colors or text styling (bold/italic), and link nodes directly to specific PDF pages. Use our interactive Visual Editor, paste outline lists in bulk, or run the client-side Heading Scanner to detect chapter titles automatically—all compiled in browser RAM with 100% privacy.

Build multi-level nested bookmark outlines (Level 1, Level 2, Level 3)
Automated text heading scanner detects chapter titles with PDF.js
Two-way synchronization between Visual Row Editor and Bulk Text Editor
100% private client-side execution — PDF files are never uploaded to remote servers
🔖
3 LevelsNested Outlines
Auto-ScanHeading Detection
100% LocalRAM Process
How It Works

Add bookmarks to PDF in three easy steps

Step 1
📂
Upload PDF Document

Upload your PDF book, ebook, or manual into the outline editor workspace.

Step 2
🛠️
Build Outline Tree

Build hierarchical bookmark tree nodes (L1, L2, L3) or scan headings automatically.

Step 3
⬇️
Generate & Download PDF

Click Export Outline to encode bookmark dictionary trees and save your bookmarked PDF.

Why BunchTool

Why generate PDF outlines on BunchTool?

🛠️
Visual Hierarchical Outline Builder

Drag, reorder, and nest bookmark nodes across 3 depth levels with custom text colors and bold or italic formatting options.

🔍
Smart Text Heading Auto-Scanner

Extracts text coordinates and font dimensions across pages to identify potential chapter titles, sections, and headings automatically.

📁
Local PDF Catalog Stream Compilation

Injects standard PDF outline dictionaries directly into client-side PDF catalog objects, guaranteeing sidebar navigation compatibility across Adobe Acrobat, Chrome, and Preview.

FAQ

Frequently asked questions

How do I create or edit PDF bookmarks online?
Upload your PDF, add bookmark section titles with target page numbers in the Visual Editor or Bulk Text Editor, arrange hierarchy levels, and click Generate & Download PDF to download your bookmarked file.
Will the generated bookmarks appear in Adobe Reader or browser PDF viewers?
Yes. The bookmarks are compiled as standard PDF catalog Outlines (/Type /Outlines). Once downloaded, the bookmarks will open in the navigation sidebar of Adobe Acrobat, Google Chrome, Apple Preview, and Edge.
Can I auto-scan headings from my PDF file?
Yes! Click Auto-Scan Headings to analyze text layers across pages locally. The tool detects large fonts, uppercase titles, and chapter keywords, allowing you to add them in one click.
What is the bulk text formatting syntax for bookmarks?
In Bulk Text mode, write one entry per line in the format: PageNumber | Title (for Level 1), PageNumber | - | Title (for Level 2), or PageNumber | -- | Title (for Level 3).
Are my uploaded PDF documents processed on a remote server?
No. All text layer scanning, DOM node manipulation, and outline dictionary compilation run 100% locally inside client browser RAM.
Detailed Guide

Understanding PDF Outline Dictionaries (/Outlines) & Hierarchical Data Streams

PDF document bookmarks (known officially as document outlines) are defined within the PDF Catalog dictionary under the key /Outlines. An outline dictionary consists of a doubly-linked tree structure of item dictionaries where each node contains pointers to its parent node (/Parent), preceding sibling (/Prev), next sibling (/Next), first child (/First), and last child (/Last).

Each bookmark node references its target destination via an explicit destination array /Dest [pageRef /XYZ left top zoom]. Optional presentation keys control visual display in PDF readers, including RGB text color arrays (/C [r g b]), font style flags (/F 1 for Italic, /F 2 for Bold), and expand/collapse count values (/Count).

Using client-side pdf-lib and PDF.js, our generator parses existing outline trees upon file upload, parses heading text layer coordinates, and injects clean indirect object references directly into the output byte stream without modifying original page vector contents.

Other Collections

Explore other useful categories

Explore 247 more free tools —
no login, no limits.

BunchTool covers PDF editing, text conversion, SEO analysis, calculators, design tools, unit converters and much more. All 100% free, all browser-based.

Browse All 247 tools →