Pagefind

Static site search.

Visit website ↗

Profile updated

Console’s review

· Reviewed by David Mytton

What we like

Zero config search for static sites. Builds the index after the static site build step. No server required. Supports custom sorts, filtering, weighting, and multi-language. Includes a pre-built UI with highlighting of search terms. Indexes HTML by default, but can be customized to add any files e.g. PDFs, JSON, etc.

Tradeoffs

Non-HTML files must be added individually through the custom index config.

Is Pagefind a fit?

Based on Console’s review published on 2023-11-09. Summary updated .

Who it’s for

Developers of static sites should consider this tool for search functionality

Why consider it

It provides zero-config search for static sites

Keep in mind

It requires individual configuration for non-HTML files

Console is a free weekly newsletter with short reviews of developer tools, covering strengths and tradeoffs. This review reflects Console’s assessment at publication on 2023-11-09. Features and limitations may have changed since the review date. Read our selection criteria and learn about Console.

Tech stack

Runs on
  • Browser
SDK support
  • JavaScript
  • Node.js
  • Python
Integrates with
  • HTML
Written in
  • Rust

Checked

Source and notes

implementation: rust. Source: https://pagefind.app/docs/. Quote: If you have [Rust and Cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) installed, you can build and install Pagefind from source, then run it with `--site` pointing to your output directory. integration: html. Source: https://pagefind.app/. Quote: Pagefind works with any static HTML output. All static site generators and website frameworks are supported, as long as the built HTML contains the content of the website. runs_on: browser. Source: https://pagefind.app/. Quote: The goal of Pagefind is that websites with tens of thousands of pages should be searchable by someone in their browser, while consuming as little bandwidth as possible. sdk: javascript. Source: https://pagefind.app/. Quote: After indexing, Pagefind adds a static search bundle to your built files, which exposes a JavaScript search API that can be used anywhere on your site. sdk: nodejs. Source: https://pagefind.app/docs/. Quote: The easiest way to run Pagefind is through one of the official wrapper packages. If you don't have Node or Python installed, or want to install Pagefind another way, see the [Installing Pagefind](/docs/installation/) guide. sdk: python. Source: https://pagefind.app/docs/. Quote: The easiest way to run Pagefind is through one of the official wrapper packages. If you don't have Node or Python installed, or want to install Pagefind another way, see the [Installing Pagefind](/docs/installation/) guide.

View research source ↗

Coverage may be incomplete. “Written in” describes implementation, not supported project languages.

Discover your next favorite tool

Independent devtool reviews and the latest betas, in your inbox every Thursday. Free.