
About Pagefind
Pagefind is an open source search library for static websites. It indexes your built HTML and adds a search bundle to your output, with no server or hosted service needed.
What it does
After your static site is built, Pagefind runs an indexing step and adds a search bundle to the files. The index is split into chunks, so the browser only loads the parts it needs for a query. It includes prebuilt search interface components that work without configuration, plus a JavaScript API if you want to build your own search page.
Key features
- Works with any static HTML output
- Index split into small chunks
- Prebuilt drop-in search components
- Filters and sorting for results
- Multilingual sites with zero configuration
Who it's for
Pagefind suits developers and content teams who run static sites, documentation or large knowledge bases. It is a good fit for projects that want search without a backend, and for sites that need to stay fast for visitors on slower connections.
Pricing and good to know
Pagefind is MIT licensed and free to use. It runs at build time and in the browser, so you do not need a search server. Setup is a command line step added to your build process, and the project also provides Python and Node.js APIs for indexing. Search quality depends on how well your pages are structured and on the metadata you add.
Highlights
- Works with any static HTML output
- Index split into small chunks
- Prebuilt drop-in search components
- Filters and sorting for results
- Multilingual sites with zero configuration












