Pagefind
lastmod 2026-04-01created 2026-04-012 edits
A search library for static sites, designed to work efficiently even on large websites while using as little of the user's bandwidth as possible
Runs without separate server infrastructure and is compatible with a wide range of website frameworks
Key features
- Installation based on static files
- Pagefind only needs the folder of static files generated by frameworks such as Hugo, Eleventy, Jekyll, Next.js, Astro, and SvelteKit, and in most cases needs no extra configuration
- After indexing, it generates a static bundle providing a search API and a default UI, and adds it to the site
- The built-in UI can be used right away with no extra configuration
- Pagefind makes even sites with tens of thousands of pages searchable in the user's browser, splitting the search index into chunks and loading only the parts it needs
- Keeps the total network request size under 300kB for 10,000 pages. On most sites it runs under 100kB
Feature summary
- Supports multilingual websites with no extra configuration
- A powerful filtering engine suited to knowledge bases
- Custom sort attributes, metadata tracking, and content weighting
- Can return specific sections within a page as search results
- Supports searching multiple domains with a single search index
- Using the NodeJS indexing library, you can index a variety of content such as PDFs, JSON files, and subtitles.
- All features are delivered with minimal network usage