JavaScript PDF Bookmark Library

Create, edit, and remove PDF outlines and bookmarks using JavaScript. PSPDFKit for Web offers developers an API for programmatic bookmark and document outline management, as well as a customizable UI for working with bookmarks.

Launch Demo

PSPDFKit SDKs are deployed in some of the world’s most popular applications, such as those made by Autodesk, Disney, UBS, Dropbox, IBM, and Lufthansa.

Key Capabilities

  • Create, edit, remove — Programmatically or by using the UI

  • Import and export — Manage bookmarks in XFDF or JSON files

  • Client-side — Edit bookmarks and outlines in the browser

  • Customizable UI — Configure and style the bookmarks sidebar

  • Extendable — Add annotation, editing, forms, and more

Guides for Bookmarks and Outlines

Introduction to Bookmarks and Outlines
Learn about the basics of PDF bookmarks and outlines

Create Bookmarks
How to create bookmarks and optionally link them to URIs

Edit Bookmarks
How to edit existing bookmarks

Remove Bookmarks
How to remove existing bookmarks

Detect Changes to Bookmarks
How to detect when a bookmark is created, updated, or deleted

Built-In Bookmarks UI
Learn about the built-in bookmarks UI and how to customize it

Create Outlines
How to create PDF outlines

Edit Outlines
How to edit existing PDF outlines

Remove Outlines
How to remove existing PDF outlines

Free Trial

Enjoy unlimited trial usage of all our products. Get guidance and tech support from developers who built the product, and get started within minutes.