---
title: "Khoj alternatives 2026: local and desktop search"
canonical: "https://xerj.org/compare/khoj-alternatives-2026"
updated: "2026-12-03"
---

# Best Khoj alternatives in 2026

SHORT ANSWER · UPDATED 2026-12-03
The best Khoj alternatives in 2026 are Paperless-ngx for a searchable archive of scanned documents, sist2 for self-hosted search over a large file share, fzf for picking files and lines interactively and fd for finding files by name. In one line, Khoj is this: self-hostable AI second brain that searches and chats over your documents and the web. The right swap depends on how you want to run it and which licence you need.
**Key number:** Khoj had 38,337 GitHub stars on 3 Dec 2026, latest release 2.0.0-beta.28, 25 Mar 2026.
Stars, licences, languages and releases for 9 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** The best Khoj alternatives in 2026 are Paperless-ngx for a searchable archive of scanned documents, sist2 for self-hosted search over a large file share, fzf for picking files and lines interactively and fd for finding files by name.

## Agent prompt

```text
Read https://xerj.org/llms.txt. I am comparing Khoj alternatives. Install XERJ, start a local node, run xerj autoindex on my project folder, connect xerj mcp, and show me three searches with file and line citations.
```

## Pick one in ten seconds

- Pick [Paperless-ngx](https://github.com/paperless-ngx/paperless-ngx) if you want a searchable archive of scanned documents.
- Pick [sist2](https://github.com/sist2app/sist2) if you want self-hosted search over a large file share.
- Pick [fzf](https://github.com/junegunn/fzf) if you want picking files and lines interactively.
- Pick [fd](https://github.com/sharkdp/fd) if you want finding files by name.
- Pick [qmd](https://github.com/tobi/qmd) if you want local hybrid search over Markdown knowledge bases.
- Pick [ripgrep-all](https://github.com/phiresky/ripgrep-all) if you want grep through PDFs and archives from the shell.
- Pick [DocFetcher](https://github.com/docfetcher/DocFetcher) if you want searching document contents on a desktop.
- Pick [XERJ](https://github.com/xerj-org/xerj) if an AI agent should search your local code, docs and logs over MCP.

## What Khoj does well

Self-hostable AI second brain that searches and chats over your documents and the web. It suits a personal AI over notes and documents. It runs as a self-hosted app, is written mainly in Python, and its licence is AGPL-3.0. Plan for this: a web app with its own server.

## How the Khoj alternatives differ

The alternatives split by how they run:

- **Self-hosted app:** Paperless-ngx, sist2.
- **Command-line tool:** fzf, fd, qmd, ripgrep-all.
- **Desktop app:** DocFetcher.

## Licences at a glance

- **Copyleft licences:** Khoj (AGPL-3.0), Paperless-ngx (GPL-3.0), sist2 (GPL-3.0), ripgrep-all (AGPL-3.0).
- **Permissive licences:** fzf (MIT), fd (Apache-2.0), qmd (MIT), DocFetcher (Apache-2.0).

## Most recent releases

Paperless-ngx shipped v3.5.1 on 18 Nov 2026. qmd shipped v2.9.0 on 17 Nov 2026. fzf shipped v0.75.0 on 7 Nov 2026. A recent release is a sign of active upkeep, so check the changelog for the features you rely on.

## Where XERJ fits next to Khoj

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`. It complements Khoj when an agent needs answers from files on your machine.

## How we checked

Stars, licences, languages and releases for 9 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. Descriptions summarise each project's own README or documentation. Star counts move daily, so treat them as a snapshot.

## Read next

- [Khoj vs Open WebUI (2026)](https://xerj.org/compare/khoj-vs-open-webui-2026)
- [Khoj vs AnythingLLM (2026)](https://xerj.org/compare/khoj-vs-anythingllm-2026)
- [XERJ vs Khoj for searching your own documents](https://xerj.org/compare/xerj-vs-khoj)
- [Paperless-ngx alternatives 2026](https://xerj.org/compare/paperless-ngx-alternatives-2026)
- [fzf vs fd (2026)](https://xerj.org/compare/fzf-vs-fd-2026)
- [fzf alternatives 2026](https://xerj.org/compare/fzf-alternatives-2026)
- [BM25 vs vector search](https://xerj.org/science/bm25)
- [What is agentic search? AI agents that search in a loop (2026)](https://xerj.org/science/agentic-search)

## FAQ

### What is the best Khoj alternative in 2026?

It depends on the job: Paperless-ngx fits a searchable archive of scanned documents, sist2 fits self-hosted search over a large file share, fzf fits picking files and lines interactively, fd fits finding files by name, and XERJ fits AI agents searching local files over MCP.

### Is Khoj open source?

Khoj is published under AGPL-3.0 and had 38,337 GitHub stars on 3 Dec 2026.

### Which Khoj alternatives can I self-host?

These run on your own machines: Paperless-ngx, sist2, fzf, fd, qmd, ripgrep-all, DocFetcher.

### Which languages are the Khoj alternatives written in?

C: sist2; Go: fzf; Java: DocFetcher; Python: Paperless-ngx; Rust: fd, ripgrep-all; TypeScript: qmd. The primary language is the one GitHub reports for each repository.

## Evidence

- [khoj-ai/khoj](https://github.com/khoj-ai/khoj): 38,337 stars, AGPL-3.0, Python, latest release 2.0.0-beta.28, 25 Mar 2026 (GitHub API and release page, checked 3 Dec 2026).
- [paperless-ngx/paperless-ngx](https://github.com/paperless-ngx/paperless-ngx): 48,915 stars, GPL-3.0, Python, latest release v3.5.1, 18 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [sist2app/sist2](https://github.com/sist2app/sist2): 1,344 stars, GPL-3.0, C, latest release v4.2.1, 26 Aug 2026 (GitHub API and release page, checked 3 Dec 2026).
- [junegunn/fzf](https://github.com/junegunn/fzf): 84,783 stars, MIT, Go, latest release v0.75.0, 7 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [sharkdp/fd](https://github.com/sharkdp/fd): 45,385 stars, Apache-2.0, Rust, latest release v10.5.2, 7 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [tobi/qmd](https://github.com/tobi/qmd): 31,830 stars, MIT, TypeScript, latest release v2.9.0, 17 Nov 2026 (GitHub API and release page, checked 3 Dec 2026).
- [phiresky/ripgrep-all](https://github.com/phiresky/ripgrep-all): 9,960 stars, AGPL-3.0, Rust, latest release v0.10.10, 9 Nov 2025 (licence read from [its licence file](https://github.com/phiresky/ripgrep-all/blob/HEAD/LICENSE.md)) (GitHub API and release page, checked 3 Dec 2026).
- [docfetcher/DocFetcher](https://github.com/docfetcher/DocFetcher): 68 stars, Apache-2.0, Java, latest release No GitHub release (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 |
|---|---|---|---|---|---|---|
| [Khoj](https://github.com/khoj-ai/khoj) | Self-hostable AI second brain that searches and chats over your documents and the web | Self-hosted app | Python | 2.0.0-beta.28, 25 Mar 2026 | AGPL-3.0 | 38,337 |
| [Paperless-ngx](https://github.com/paperless-ngx/paperless-ngx) | Document management system that OCRs and indexes scanned paperwork | Self-hosted app | Python | v3.5.1, 18 Nov 2026 | GPL-3.0 | 48,915 |
| [sist2](https://github.com/sist2app/sist2) | Lightning-fast file system indexer and search tool with a web UI | Self-hosted app | C | v4.2.1, 26 Aug 2026 | GPL-3.0 | 1,344 |
| [fzf](https://github.com/junegunn/fzf) | General-purpose command-line fuzzy finder | Command-line tool | Go | v0.75.0, 7 Nov 2026 | MIT | 84,783 |
| [fd](https://github.com/sharkdp/fd) | Simple, fast and user-friendly alternative to find | Command-line tool | Rust | v10.5.2, 7 Nov 2026 | Apache-2.0 | 45,385 |
| [qmd](https://github.com/tobi/qmd) | On-device search engine for Markdown notes and docs with BM25, vector search and reranking, plus MCP | Command-line tool | TypeScript | v2.9.0, 17 Nov 2026 | MIT | 31,830 |
| [ripgrep-all](https://github.com/phiresky/ripgrep-all) | ripgrep wrapper that also searches PDFs, e-books, Office documents, zip and more | Command-line tool | Rust | v0.10.10, 9 Nov 2025 | AGPL-3.0 | 9,960 |
| [DocFetcher](https://github.com/docfetcher/DocFetcher) | Open source desktop search application for documents on your computer | Desktop app | Java | No GitHub release | Apache-2.0 | 68 |
| [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 |
