---
title: "Orama vs Pagefind (2026): which search engine fits?"
canonical: "https://xerj.org/compare/orama-vs-pagefind-2026"
updated: "2026-12-04"
---

# Orama vs Pagefind in 2026

SHORT ANSWER · UPDATED 2026-12-04
Pick Orama for in-browser and edge search in JavaScript; pick Pagefind for search for static sites with no server. Orama is a library in your process written in TypeScript under Apache-2.0, while Pagefind is a command-line tool written in Rust under MIT.
**Key number:** Orama: 10,632 GitHub stars, Pagefind: 5,596 GitHub stars (3 Dec 2026).
Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers.

**TL;DR** Pick Orama for in-browser and edge search in JavaScript.

## Agent prompt

```text
Read https://xerj.org/llms.txt. I am choosing between Orama and Pagefind. Index this project with xerj autoindex, connect xerj mcp, and use xerj_search to find where my code would call either one. Cite file and line.
```

## Pick one in ten seconds

- Pick [Orama](https://github.com/oramasearch/orama) for in-browser and edge search in JavaScript.
- Pick [Pagefind](https://github.com/Pagefind/pagefind) for search for static sites with no server.
- Pick [XERJ](https://github.com/xerj-org/xerj) when an AI agent should search local code, docs and logs over MCP, with citations.

## Where Orama shines

JavaScript full-text, vector and hybrid search engine that runs in the browser or on the edge. It fits in-browser and edge search in JavaScript. Plan for this: index size is bounded by memory.

## Where Pagefind shines

Static search library that indexes a built website and serves search from static files. It fits search for static sites with no server. Plan for this: indexes built HTML output.

## Key differences

- **How it runs:** Orama is a library in your process; Pagefind is a command-line tool.
- **Language:** Orama is mainly TypeScript, Pagefind is mainly Rust.
- **Licence:** Orama uses Apache-2.0; Pagefind uses MIT.
- **Release cadence:** Pagefind shipped v1.6.0 on 1 Nov 2026; Orama's latest GitHub release is v3.1.18 from 19 Dec 2025.

## Where XERJ fits

XERJ is a new way for AI to search for data: one local Rust binary that indexes code, docs, logs and data with `xerj autoindex` and returns passages with file and line citations. `xerj mcp` is a stdio MCP server, and `xerj mcp --http` serves Streamable HTTP at `http://127.0.0.1:9330/mcp`, read-only unless you pass `--allow-writes`. A non-loopback bind needs `XERJ_MCP_TOKEN`. Use it next to Orama or Pagefind when an agent has to answer from files on your machine.

## How we checked

Stars, licences, languages and releases for 3 tools were fetched live from the GitHub API, GitHub release pages and the Hugging Face API on 3 Dec 2026. Hosted services link to their official sites and carry no invented numbers. We describe what each project says it does and avoid ranking one above the other in general.

## Read next

- [Orama alternatives 2026: search engines compared](https://xerj.org/compare/orama-alternatives-2026)
- [Pagefind alternatives 2026: search engines compared](https://xerj.org/compare/pagefind-alternatives-2026)
- [XERJ vs Pagefind for a folder of saved HTML](https://xerj.org/compare/xerj-vs-pagefind)
- [BM25 vs vector search](https://xerj.org/science/bm25)
- [Hybrid search 2026: BM25 plus vectors for RAG and AI agents](https://xerj.org/science/hybrid-search)
- [RRF formula: score = 1 / (k + rank), k = 60, Cormack 2009 paper](https://xerj.org/science/reciprocal-rank-fusion)

## FAQ

### Is Orama better than Pagefind?

Neither is better in general. Orama fits in-browser and edge search in JavaScript, and Pagefind fits search for static sites with no server. The 4-question picker on this page scores both for your workload.

### Are Orama and Pagefind open source?

Orama: Apache-2.0. Pagefind: MIT. Licences come from each repository on 3 Dec 2026.

### Which is easier to run, Orama or Pagefind?

Orama runs as a library in your process (index size is bounded by memory). Pagefind runs as a command-line tool (indexes built HTML output).

### Which has more GitHub stars, Orama or Pagefind?

Orama had 10,632 stars and Pagefind had 5,596 on 3 Dec 2026. Stars measure attention, so weigh them with the fit questions above.

## Evidence

- [oramasearch/orama](https://github.com/oramasearch/orama): 10,632 stars, Apache-2.0, TypeScript, latest release v3.1.18, 19 Dec 2025 (licence read from [its licence file](https://github.com/oramasearch/orama/blob/HEAD/LICENSE.md)) (GitHub API and release page, checked 3 Dec 2026).
- [Pagefind/pagefind](https://github.com/Pagefind/pagefind): 5,596 stars, MIT, Rust, latest release v1.6.0, 1 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [xerj-org/xerj](https://github.com/xerj-org/xerj): 23,588 stars, Apache-2.0, Rust, latest release v1.0.0-rc.105, 23 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).

## Comparison table

| Tool | What it is | Runs as | Language | Latest release | Licence | Stars |
|---|---|---|---|---|---|---|
| [Orama](https://github.com/oramasearch/orama) | JavaScript full-text, vector and hybrid search engine that runs in the browser or on the edge | Library in your process | TypeScript | v3.1.18, 19 Dec 2025 | Apache-2.0 | 10,632 |
| [Pagefind](https://github.com/Pagefind/pagefind) | Static search library that indexes a built website and serves search from static files | Command-line tool | Rust | v1.6.0, 1 Nov 2026 | MIT | 5,596 |
| [XERJ](https://github.com/xerj-org/xerj) | One local Rust binary that indexes code, docs, logs and data, and serves cited search to agents over MCP | Command-line tool | Rust | v1.0.0-rc.105, 23 Nov 2026 | Apache-2.0 | 23,588 |
