Elestia Open Source Ratings
7.9

Pagefind

A strong pick. 1st of 10 search libraries and clients.

Pagefind is a Rust command-line tool that indexes a built static site into small chunks, plus a browser search API and UI that load only what each query needs. Today it is the strongest choice for full-text search on static sites, docs and blogs. It is not a general in-app record search library, and it has no typo tolerance.

Best for: Teams that build static sites, docs or blogs and want full-text search without a server, even on large or multilingual sites.

WebsiteGitHubnpm

Scores

Overall7.9

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 7.5, likely 6.5 to 8.0

It is clearly the best pick in this category for static-site search. It is light, scales to large sites, is actively developed and is the default of a major docs framework. It does not do the general in-app search job that Fuse.js, MiniSearch or the server clients do, and it has no typo tolerance. Its main risk is the small maintainer base.

GPT-6.2 Sol: 8.3, likely 7.2 to 9.2

Pagefind is a first choice for new static documentation sites because it turns built content into searchable pages with modest browser downloads and no search server. Recent fixes and production use make it a strong choice for that job. MiniSearch fits small in-memory collections that need fuzzy matching, and Meilisearch fits records that must be updated independently of the site build. Large-site build costs and the lack of typo tolerance keep Pagefind below the top of the broader search category.

Needed by many4.1

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Pagefind serves one clear niche in this category: search over pre-built static sites, such as docs, blogs and marketing sites. That group is large, but Pagefind cannot search app data at runtime the way Fuse.js, MiniSearch or the server clients can. It works with any static site generator, which keeps it from being narrower.

GPT-6.2 Sol: 4.2, likely 3.1 to 5.3

Static documentation, blogs, and knowledge bases are a clear niche across several frameworks. Pagefind can index custom records, but search still runs against a prebuilt index in the browser. Developer surveys show demand for site generators, but give little indication of how many sites need full-text search.

Helps a lot8.3

How well does it do the job for those who need it?

Claude Opus 5.5: 8.0, likely 7.0 to 8.5

For static sites, it does the job better than the peers that load the whole index. Chunked indexes, BM25 ranking, filters, metadata search, multilingual segmentation, a Web Worker and a ready-made UI make it complete. It has no fuzzy matching, and users find keyword ranking weak for semantic queries. One Hugo user found Fuse.js more accurate on a small site.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.4

On-demand index chunks, Web Worker search, and heading-level results make Pagefind particularly good at searching large static sites. Version 1.6.0 improves multilingual segmentation and fixes ranking and index-loading bugs. The documented CLI and typed Node API give coding agents clear integration examples, although agent reliability has no direct measurement here. Typo tolerance is still missing, and results from individual sites give limited evidence about performance across workloads.

Holds up over time7.5

Will it still be a good choice in two years?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It had 294 commits and 5 releases in the last year, with v1.6.0 out this month. Changes are careful: none were labelled breaking, and the old UIs remain supported. Risk comes from relying on one main maintainer and from unclear funding since it became independent of CloudCannon. Starlight's default use of it ties it to a growing ecosystem.

  • github commitsLastYear: 294 commits, 5 releases
  • github latestRelease: v1.6.0 on 2026-11-01
  • pagefind.app: Independent project, first built at CloudCannon; no current sponsor named
  • summary.ecosyste.ms/projects/372523: Liam Bigelow is the dominant committer

GPT-6.2 Sol: 8.0, likely 6.8 to 9.0

Pagefind had 294 commits and five GitHub releases in the past year, with stable 1.6.0 arriving in November. A reported Linux indexing regression was patched the following day, and the older search UIs stayed supported when the new one shipped. Community fixes and CloudCannon's development sponsorship help, while the size of the release team and the funding commitment remain unclear.

Used widely5.1

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

Downloads grew 15x in a year, from 0.97M to 14.7M per 4 weeks. That is far above the median ratio of 4.1. Much of this comes in through Astro Starlight, which installs it by default, so many installs are not direct choices. The ecosyste.ms dependents count of 48 repos is low, probably because most use is through generators or the CLI. Tens of thousands of sites likely use it.

  • npm downloadsLast4Weeks: 14.7M, against 0.97M a year ago
  • medianDownloadsRatio: Ratio of ~15 against a median of 4.1
  • dependents: 48 repos and 3 packages, low against peers
  • starlight.astro.build/guides/site-search: Starlight ships Pagefind as its default search
  • github stars: 5,570 stars

GPT-6.2 Sol: 4.2, likely 3.1 to 5.5

Four-week npm downloads rose 15.1× year over year, exceeding the 4.1× catalog median and every peer in the bundle. Starlight installs Pagefind automatically, and repeated builds inflate the count. Wappalyzer detects it on over a thousand live sites, while ecosyste.ms finds just 48 dependent repositories and three packages, well below most peers. A few thousand deployments is a reasonable estimate, with substantial uncertainty about how many teams chose Pagefind directly.

  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio, peers: 14.74 million versus 0.97 million downloads, the fastest growth among listed peers.
  • github stars, dependents, peers: 5,570 stars, 48 tracked repositories, and three tracked packages.
  • bluesky posts, hackerNews stories, peers: Eleven Bluesky posts lead this peer set, with little Hacker News discussion.
  • github.com/withastro/starlight/blob/main/packages/starlight/package.json: Starlight installs Pagefind as a regular dependency.
  • wappalyzer.com/technologies/search-engines/pagefind: Independent detection confirms use on over a thousand live sites.
Vouched for7.6

Who stands behind it being good?

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

Astro Starlight made it the default search, and Hugo's docs list it among their search tools. Codeberg's docs use it, and the project shows demos on MDN and Godot content. Independent write-ups recommend it over Lunr and Algolia for static sites. There is no survey data, and at least one notable docs team moved away from it.

GPT-6.2 Sol: 8.2, likely 7.1 to 9.2

Astro Starlight uses Pagefind by default, and Kubernetes and Git use it in production for their documentation. A user measured faster indexing after upgrading to 1.5.2, while Micro.blog reports that indexing can lengthen publishing for blogs with thousands of posts. These are concrete deployment results, though evidence from broad satisfaction surveys and repeatable cross-tool benchmarks is thin.

Safe8.2

How safe is it to depend on?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

The package has zero runtime dependencies and an MIT licence. It runs at build time and ships static files to the browser. Its one moderate advisory, a DOM-clobbering XSS, was fixed quickly in v1.1.1, and nothing new has appeared in 24 months. There is no Scorecard data, and the npm package installs prebuilt platform binaries, which leaves some risk in how releases are published.

  • advisories: 1 moderate advisory from 2024, fixed in v1.1.1
  • npm dependencies: 0 dependencies
  • github license: MIT
  • scorecard: No Scorecard data

GPT-6.2 Sol: 8.3, likely 7.2 to 9.3

The MIT-licensed npm wrapper has no regular dependencies and installs a first-party native binary for the platform. GitHub Actions publishes the wrapper and binaries with npm provenance. The sole reported moderate XSS advisory was patched in 1.1.1 by public disclosure, and the snapshot lists no advisories in the past two years. OpenSSF Scorecard coverage and the number of people with release access remain unverified.

Good

  • The index is split into chunks and loaded on demand, so the first load stays small even on sites with many thousands of pages.
  • It works with any static site generator, because it indexes the built HTML after the build.
  • Multilingual support, including CJK and Thai segmentation, works without extra setup.
  • It is actively maintained, and v1.5 and v1.6 added a web-component UI, Web Worker search and smaller indexes.

Bad

  • It has no fuzzy or typo-tolerant matching, so a misspelled query returns nothing.
  • It only searches an index built ahead of time, so it does not fit searching live app data or records in memory.
  • Keyword ranking struggles with semantic queries, and some docs teams have moved to vector search for that reason.
  • Work depends mostly on one lead maintainer, and since the project left CloudCannon, who funds it is not clear.

The numbers

npm downloads, 4 weeks
15M ×15 in a year
GitHub stars
5.6k
Commits, 12 months
294
npm version
1.6.0 Nov 2026
Versions, 12 months
3
Advisories, 24 months
0 of 1 ever
OpenSSF Scorecard
None
Licence
MIT

It is written in Rust. The package runs its command-line tool.

Read on 21 November 2026 from GitHub (Pagefind/pagefind), npm (pagefind), OSV and the OpenSSF Scorecard.

Search libraries and clients

  1. 7.9Pagefind
  2. 7.5Elasticsearch client
  3. 7.5Meilisearch client
  4. 7.4Fuse.js
  5. 7.2Typesense client
  6. 6.6MiniSearch
  7. 6.4uFuzzy
  8. 6.1FlexSearch
  9. 5.1Orama
  10. 3.8Lunr
Compare all 10 on six scores