---
title: "JavaScript PDF search library: Fast & accurate | Nutrient SDK"
canonical_url: "https://www.nutrient.io/guides/web/search/"
md_url: "https://www.nutrient.io/guides/web/search.md"
last_updated: "2026-05-23T00:08:18.187Z"
description: "Discover the secrets to unlocking powerful search capabilities on the web. Learn how to enhance your browsing experience with our comprehensive guide."
---

# JavaScript PDF search library

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

[Try for Free](https://www.nutrient.io/sdk/web/getting-started.md)

[Launch Demo](https://www.nutrient.io/demo/pdf-search-ui)

## 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

## Guides for search

**[Text search](https://www.nutrient.io/guides/web/features/customized-search.md)**\
How to customize the text-search implementation or provide your own

**[Annotation search](https://www.nutrient.io/guides/web/search/annotation-search.md)**\
How to search for specific annotations within a PDF document

**[Built-in search UI](https://www.nutrient.io/guides/web/search/built-in-ui.md)**\
Learn about the built-in search UI and how to customize it

**Call to Action**

Start your free trial for unlimited access and expert support.

[Learn More](https://www.nutrient.io/sdk/web/getting-started/other-frameworks/javascript.md)
---

## Related pages

- [Search PDFs in our JavaScript viewer](/guides/web/search/built-in-ui.md)
- [Search PDF annotations](/guides/web/search/annotation-search.md)
- [Search text in PDFs using JavaScript](/guides/web/features/customized-search.md)

