JavaScript PDF Search Library

Search across PDF pages and annotations for matching text using JavaScript. PSPDFKit for Web offers developers an API for programmatic full-text search, as well as a customizable UI for searching and highlighting relevant matches.

Launch Demo

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

Key Capabilities

  • Full-text search — Programmatically or by using the UI

  • Annotation search — Find specific PDF annotations

  • Headless — Programmatically search PDFs without the UI

  • Customizable UI — Style the search form to match your look & feel

  • Extendable — Add annotation, extraction, redaction, and more

Text Search
How to customize the text-search implementation or provide your own

Annotation Search
How to search for specific annotations within a PDF document

Built-In Search UI
Learn about the built-in search UI and how to customize it

Free Trial

  • Unlimited trial usage

  • Guidance and tech support from developers

  • Get started