🔖 Professional PDF Bookmark & TOC Editor

Detect and edit a PDF's existing outline, build unlimited nested bookmarks with page destinations, zoom and styling, auto-generate a table of contents, import/export and preview — 100% in your browser.

📤 Drag & drop your PDF file here or click to choose

🔖 Give any PDF a clickable table of contents

The Professional PDF Bookmark & TOC Editor lets you add, detect and fully edit the navigation panel — the bookmarks or "outline" — inside a PDF, so readers can jump straight to any chapter or section in Adobe Acrobat, a browser viewer or any other reader. It goes far beyond a flat list: build an unlimited nested tree, choose exactly where each bookmark lands (page, position and zoom), style the titles, auto-generate a whole table of contents from the document's headings, import and export your outline, and preview pages with thumbnails — all locally in your browser, with the file never uploaded.

✨ Features

Detect existing outlineReads a PDF's current bookmarks into an editable tree so you can refine rather than start over.
Unlimited nestingParent and child bookmarks at any depth, with indent/outdent and reorder.
Full operationsAdd, edit, delete, duplicate, move up/down, add child — with undo/redo history.
Precise destinationsPage number plus destination type (fit width/height/actual/custom) and position.
StylingBold, italic and colour for each bookmark title.
Auto-TOCGenerate bookmarks from detected headings, font sizes and chapter/section numbering.
Import & exportJSON, CSV, XML and TXT so you can reuse or edit outlines elsewhere.
Preview & validateThumbnails, live page preview, and checks for empty, duplicate or out-of-range entries.

⚙️ How it works

When you open a PDF, the tool loads it with two engines: PDF.js reads the existing outline (resolving each bookmark to a page), renders page thumbnails and extracts text for the auto-TOC, while pdf-lib is used to write the finished outline back into the file. You edit the bookmark tree on screen — titles, pages, nesting, destinations and styles — and when you are done, the tool builds a proper PDF outline dictionary, preserving the document's existing content and metadata, and hands you the updated file. Nothing is rasterised and the original pages are untouched, so the result is a clean PDF with working navigation.

🌳 Bookmark tree

The heart of the tool is an editable tree. Each row is a bookmark with a title and target page; the indentation shows its level. Use Indent and Outdent to make a bookmark a child of the one above or promote it back up, and Move up/down to reorder within a level. Add child creates a sub-bookmark, Duplicate copies a branch, and Delete removes it. Every change is recorded so Undo and Redo always have your back.

📑 TOC editor

Building a table of contents by hand is optional. The Auto-TOC feature scans the document's text with PDF.js, measures font sizes, and treats the larger, heading-like lines — and lines that match chapter or section numbering such as "Chapter 3" or "2.1" — as bookmarks, assigning each to the page it appears on and nesting sub-headings under their chapters. You can then tidy the result in the tree, rename entries, adjust levels and fix any page that needs a nudge.

🧷 Nested bookmarks

Real documents have structure — parts, chapters, sections and sub-sections — and this editor represents all of it. There is no depth limit: a section can contain sub-sections which contain their own points, and the collapsible tree keeps even a large outline manageable. When you export, the nesting is written as a genuine hierarchical PDF outline, so readers see expandable triangles in their bookmark panel exactly as they would in a professionally produced document.

🔁 Import & export

Your outline is portable. Export it as JSON (full structure with levels and styles), CSV (a simple spreadsheet of title, page and level), XML or a plain indented TXT list. You can edit these files elsewhere and import them back, or reuse one document's outline as a template for another. This makes it easy to standardise the table of contents across a series of reports or manuals.

👁️ Preview

A preview panel renders the current page and a strip of page thumbnails. Click any thumbnail to jump to that page, or click a bookmark's page field to preview exactly where it points — a quick way to confirm each destination is correct before you export. The validation panel flags empty titles, duplicate titles and pages that fall outside the document.

🔒 Security

Everything is client-side. Your PDF is read, edited and rewritten entirely in your browser with pdf-lib and PDF.js; no page, bookmark or byte is uploaded to a server, shared with analytics or processed by any AI service. It works offline once loaded, and closing the tab clears everything from memory — safe for confidential reports, manuscripts and legal documents. / यह टूल पूरी तरह browser-आधारित है, कुछ भी अपलोड नहीं होता।

🎯 Benefits

🧰 Related Tools

ℹ️ About This Tool

The Professional PDF Bookmark & TOC Editor is a free, browser-based tool for managing the navigation structure of a PDF — the bookmarks, also known as the outline or table of contents, that appear in the side panel of a PDF reader and let a person jump instantly to a chapter or section. A long PDF without bookmarks is genuinely hard to use: readers are left scrolling or guessing at page numbers, and there is no sense of the document's shape. This editor fixes that. It started as a simple tool that added a flat list of bookmarks and has grown into a full outline-management workspace that can detect what is already there, build a deeply nested structure, generate a table of contents automatically, and export the whole thing for reuse — all without your file ever leaving your device.

The tool is built on two complementary engines. PDF.js, the open-source viewer that powers PDF rendering in modern browsers, is used to read the document: it extracts the existing outline and resolves each bookmark to a real page, renders the thumbnails and current-page preview, and pulls out the text — complete with font sizes — that powers the automatic table-of-contents feature. pdf-lib, a pure-JavaScript PDF library, is used to write: it takes the tree you have built and constructs a correct, hierarchical PDF outline dictionary inside the file. Because the original page content is never touched, the exported PDF keeps its exact appearance and metadata and simply gains — or updates — a working bookmark panel.

Editing happens in an interactive tree. Every bookmark is a row with a title and a target page, and its indentation shows where it sits in the hierarchy. You can add a bookmark, add a child beneath the selected one, duplicate a branch, delete it, and move it up or down among its siblings; indent and outdent turn a top-level entry into a sub-section or promote it back. There is no limit on nesting depth, so the outline of a book with parts, chapters, sections and sub-points is represented faithfully, and a collapsible display keeps even a very large tree readable. Crucially, every action is captured in a history stack, so unlimited undo and redo mean you can experiment freely without fear of losing work.

Where a bookmark actually takes the reader is more nuanced than a page number, and the editor exposes that control. For each bookmark you choose a destination type — fit the page width, fit its height, show it at actual size, or use a custom zoom — and a position, so a bookmark can land at the top of a page, its middle, or a precise point. This is exactly the level of control that professional documents use to make navigation feel deliberate rather than approximate. You can also style each title in bold or italic and give it a colour, which readers' bookmark panels display, helping to visually separate parts from chapters or highlight important entries.

For long documents, creating dozens of bookmarks by hand would be tedious, so the tool can generate a table of contents automatically. The Auto-TOC feature reads the document's text through PDF.js, measures the font size of every line, and treats the larger, heading-like lines as bookmarks — nesting smaller sub-headings beneath larger ones — while also recognising common chapter and section patterns such as "Chapter 5" or "3.2". Each detected heading is linked to the page it appears on. The result is a first draft of the outline that you can refine in the tree, which turns an hour of manual work into a few seconds followed by light editing. Your outline is also fully portable: export it as JSON to keep every detail, as CSV for a quick spreadsheet edit, or as XML or an indented TXT list, and import any of those back to restore or reuse a structure across documents.

Confidence and correctness are supported throughout. A live preview renders the current page beside a scrollable strip of thumbnails; click a thumbnail to preview that page, or click a bookmark's page to jump to its destination and confirm it points where you intended. A validation panel continuously checks for the mistakes that break navigation — empty titles, duplicate titles and pages that fall outside the document — so you catch them before exporting. When you are ready, you can either add your new bookmarks to whatever the PDF already contains or replace the existing outline entirely, and the finished file downloads immediately. Because all of this runs in the browser, it is private by design: confidential manuscripts, board reports and legal bundles are processed only on your machine, the tool keeps working offline once loaded, and it handles large documents — hundreds or thousands of pages, and long outlines — without uploading a single byte. It is a small addition to a PDF, but a working table of contents is often the difference between a document people struggle with and one they can actually use.

ℹ️ इस टूल के बारे में (हिंदी में)

The same guide in Hindi / यही जानकारी हिंदी में।

Professional PDF Bookmark & TOC Editor एक फ्री, ब्राउज़र-आधारित टूल है जो किसी PDF की navigation संरचना — bookmarks, जिन्हें outline या table of contents भी कहते हैं — को प्रबंधित करता है। ये bookmarks PDF reader के साइड पैनल में दिखते हैं और व्यक्ति को सीधे किसी अध्याय या सेक्शन पर पहुँचा देते हैं। bookmarks के बिना एक लंबी PDF सच में इस्तेमाल करना कठिन है: पाठक scroll करते रह जाते हैं या page numbers का अंदाज़ा लगाते हैं। यह editor इसे ठीक करता है। इसकी शुरुआत bookmarks की एक सादी सूची जोड़ने वाले साधारण टूल के रूप में हुई थी और यह एक पूरा outline-management workspace बन गया जो मौजूदा bookmarks पहचान सकता है, गहराई से nested संरचना बना सकता है, table of contents स्वतः बना सकता है, और पूरी चीज़ export कर सकता है — बिना आपकी फ़ाइल कभी अपलोड किए।

टूल दो पूरक engines पर बना है। PDF.js — वही open-source viewer जो आधुनिक ब्राउज़रों में PDF दिखाता है — दस्तावेज़ पढ़ने के लिए उपयोग होता है: यह मौजूदा outline निकालता है और हर bookmark को असली page से जोड़ता है, thumbnails तथा current-page preview render करता है, और वह text (font sizes सहित) निकालता है जो automatic TOC feature को चलाता है। pdf-lib — एक pure-JavaScript PDF library — लिखने के लिए उपयोग होता है: यह आपके बनाए tree को लेकर फ़ाइल के अंदर एक सही, hierarchical PDF outline dictionary बनाता है। चूँकि मूल page content कभी नहीं छुआ जाता, exported PDF अपनी बिल्कुल वही दिखावट और metadata रखती है और बस एक working bookmark panel पाती है।

संपादन एक interactive tree में होता है। हर bookmark एक row है जिसमें title और target page होता है, और उसका indentation दिखाता है कि वह hierarchy में कहाँ है। आप bookmark जोड़ सकते हैं, चुने हुए के नीचे child जोड़ सकते हैं, किसी शाखा की नक़ल कर सकते हैं, हटा सकते हैं, और siblings के बीच ऊपर-नीचे कर सकते हैं; indent और outdent एक top-level entry को sub-section बना देते हैं या वापस promote कर देते हैं। nesting की कोई गहराई-सीमा नहीं है। सबसे अहम, हर क्रिया एक history stack में दर्ज होती है, इसलिए असीमित undo और redo का मतलब है कि आप बिना डर के प्रयोग कर सकते हैं।

bookmark पाठक को वास्तव में कहाँ ले जाता है यह page number से अधिक बारीक है, और editor यह नियंत्रण देता है। हर bookmark के लिए आप एक destination type चुनते हैं — page की चौड़ाई fit करें, ऊँचाई fit करें, actual size दिखाएँ, या custom zoom — और एक position, ताकि bookmark किसी page के top, middle या किसी सटीक बिंदु पर पहुँचे। आप हर title को bold या italic में style कर सकते हैं और उसे एक रंग दे सकते हैं, जिसे पाठकों के bookmark panels दिखाते हैं।

लंबे दस्तावेज़ों के लिए दर्जनों bookmarks हाथ से बनाना थकाऊ होगा, इसलिए टूल table of contents स्वतः बना सकता है। Auto-TOC feature PDF.js के माध्यम से दस्तावेज़ का text पढ़ता है, हर पंक्ति का font size मापता है, और बड़ी, heading-जैसी पंक्तियों को bookmarks मानता है — छोटी sub-headings को बड़ी के नीचे nest करते हुए — और "Chapter 5" या "3.2" जैसे सामान्य patterns भी पहचानता है। हर पहचानी गई heading उस page से जुड़ती है जहाँ वह दिखती है। आपका outline पूरी तरह portable भी है: इसे JSON, CSV, XML या indented TXT के रूप में export करें, और किसी को वापस import करें।

पूरे समय भरोसा और शुद्धता का समर्थन है। एक live preview current page को thumbnails की scrollable पट्टी के साथ render करता है; किसी thumbnail पर क्लिक करके उस page को preview करें, या किसी bookmark के page पर क्लिक करके उसके destination पर जाएँ। एक validation panel navigation तोड़ने वाली ग़लतियों की जाँच करता रहता है — खाली titles, duplicate titles और दस्तावेज़ से बाहर के pages। तैयार होने पर आप अपने नए bookmarks को मौजूदा में जोड़ सकते हैं या पूरे outline को बदल सकते हैं, और तैयार फ़ाइल तुरंत download हो जाती है। चूँकि यह सब browser में चलता है, यह डिज़ाइन से निजी है और बड़े दस्तावेज़ भी बिना अपलोड संभालता है।

❓ Frequently Asked Questions

Is this tool free?

Yes, completely free with no account, no signup and no limits. / हाँ, यह पूरी तरह मुफ़्त है।

Is my PDF uploaded to a server?

No. It is edited entirely in your browser with pdf-lib and PDF.js; nothing is uploaded. / नहीं, सब कुछ आपके ब्राउज़र में ही होता है।

What are PDF bookmarks?

A clickable outline (table of contents) shown in a reader's side panel that jumps to sections. / reader के साइड पैनल में clickable outline।

Can it detect existing bookmarks?

Yes. It reads a PDF's current outline into an editable tree. / हाँ, मौजूदा outline पढ़ता है।

Can I create nested bookmarks?

Yes, with unlimited depth — use Indent/Outdent and Add child. / हाँ, असीमित nesting।

How do I reorder bookmarks?

Select one and use Move up/down; Indent/Outdent change the level. / Move up/down और Indent/Outdent से।

Can I set where a bookmark lands?

Yes — page number plus destination type (fit width/height/actual/custom) and position. / हाँ, page, destination type और position।

Can I style bookmark titles?

Yes — bold, italic and colour per bookmark. / हाँ, bold, italic और रंग।

What is Auto-TOC?

It scans the document's text and font sizes to generate bookmarks from headings automatically. / headings से bookmarks स्वतः।

Does Auto-TOC always get it right?

It is a heuristic; review and tidy the result in the tree, as no headings are guaranteed. / यह अनुमान है; tree में जाँचें।

Can I import and export the outline?

Yes — JSON, CSV, XML and TXT, and import any of them back. / हाँ, JSON/CSV/XML/TXT।

Does it preserve the original PDF?

Yes. Page content and metadata are untouched; only the outline is added or updated. / हाँ, मूल content नहीं बदलता।

Can I replace existing bookmarks?

Yes. Tick "Replace existing bookmarks" to rebuild the outline from scratch. / हाँ, replace विकल्प से।

Is there undo/redo?

Yes, with a full history of your edits. / हाँ, पूरा undo/redo।

Does it validate my bookmarks?

Yes — it flags empty titles, duplicate titles and out-of-range pages. / हाँ, यह ग़लतियाँ दिखाता है।

Can I preview pages?

Yes — a page preview and clickable thumbnails help you confirm destinations. / हाँ, preview और thumbnails।

Does it handle large PDFs?

Yes — hundreds or thousands of pages and long outlines, all in the browser. / हाँ, बड़ी PDFs भी।

Does it work offline?

Once the page and its libraries have loaded, yes. / हाँ, लोड होने के बाद offline।

Is it mobile friendly and accessible?

Yes, it is responsive and the controls are labelled and keyboard-operable. / हाँ, मोबाइल-अनुकूल और सुलभ।

Does it use any AI?

No. Heading detection is a simple font-size heuristic, with no AI. / नहीं, इसमें कोई AI नहीं है।

Why don't my bookmarks appear in my reader?

Make sure the bookmark/outline panel is open in your reader; some default to hidden. / अपने reader में bookmark panel खोलें।

Can I use one PDF's outline for another?

Yes. Export it as JSON and import it into another document. / हाँ, JSON export/import से।

🛠️ Troubleshooting