pagefind.html

Pagefind

Static-site search via WASM. Zero infrastructure. Perfect for Astro / Hugo / Eleventy sites.

VISIT PAGEFIND

Quick facts

  • CategoryEmbedded / static
  • EngineRust / WASM
  • PricingOpen source
  • LicenseMIT
  • Created2022
  • GitHub stars4.4k
  • Vector supportNo
  • Edge-readyYes

What it is

Pagefind generates a search index at build time and ships it as WASM the browser fetches on demand. Zero server, zero ops, free forever. Works with any static site generator (Astro, Hugo, Eleventy, Jekyll, Next.js export). Drop-in instant search.

Best for

  • Static / Jamstack sites with fewer than ~25k pages
  • Documentation, blogs, marketing sites where adding any service is overhead
  • Astro / Hugo / Eleventy / Jekyll deployments
  • Cost-zero search where infrastructure spend is not justified

When not to pick it

Skip Pagefind past ~25k pages — index size grows and browser fetch cost rises. Skip if you need server-side filtering, real-time updates, or per-user personalisation.

My take

Pagefind is the right answer for static site search at small-to-mid scale. Zero ops is the differentiator. Past ~25k pages, graduate to Typesense or Meilisearch.

Links

Compare Pagefind side-by-side

Similar tools you should also consider

If Pagefind is your pick — the next conversation is short

The 30-min call is where your search choice becomes a real architecture, a relevance-tuning plan, and a price range you can take to your stakeholders.