SearXNG for Mere Mortals
Every search you type into a big search engine is remembered, profiled, and sold as attention. SearXNG is the open-source answer you run yourself: a search page on your own machine that owns no index of the web, keeps no history of your questions, and answers by asking the other engines live and merging what they say — a metasearch, with the profiling left out. This guide explains how the asking works, how to install it, the two layers of settings that shape it, the JSON API it keeps switched off until you say otherwise, and exactly where its privacy promise ends.
The lab behind this guide ran the real thing:
SearXNG 2026.10.19+8137186, installed from the
project's own source on the build machine and
searched with, live, over the real internet — a
neutral question about sharpening a kitchen knife,
asked in HTML, JSON, CSV, and RSS, with engines
enabled, disabled, and watched while they refused.
What the lab could not do, it did not fake: the
build machine has no container runtime, so the
Docker install is documented from the project's own
material rather than run; the instance never left
localhost, so public-instance hardening and the
rate limiter are labelled documented-only wherever
they appear; and the machine's shared, much-abused
internet address earned CAPTCHAs and rate limits
that the transcripts report beside the results,
because that mixture is what a metasearch honestly
looks like on a bad day. criteria.md keeps the
full ledger of what was run and what was only read.
What this guide covers
- What SearXNG is — the mental model: no index, no accounts, no history; a searcher of search engines — and what it is not (a crawler, a VPN, anonymity itself)
- The moving parts — one Python program, one settings file, 261 engine definitions, and the optional Valkey, limiter, and morty: what each holds, what breaks when each stops
- Installing — Docker, manual-from-source (the lab's route, run for real), and the installer script; knowing the install is whole
- First run — your own settings file, the secret key you must replace, starting the server, and a first search that failed instructively
- Everyday searching — categories, language, time ranges, bangs and shortcuts, and reading the page's own list of who didn't answer
- Preferences — the settings that live in your browser as cookies (the lab counted 22), what they control, and the two-layer rule between cookie and file
- Settings and engines —
the admin's file, the
/configinventory, and switching an engine off, proven with an A/B test - The JSON API and other formats — why JSON answers 403 out of the box, what the reply actually contains, and what CSV and RSS are for
- Privacy — what your own instance hides, from whom, and the three things it does not hide at all
- Running it for a household — one instance for the whole house, and the public-instance machinery (limiter, Valkey) this guide documents but did not run
- Backing up and updating — the one-file backup, and an update routine with smoke checks
- The neighbours — Google and Bing direct, DuckDuckGo, Startpage, Brave, public instances, Mojeek, Kagi: what each trades
- Limits — no index, no guarantees; scraping is a truce; addresses have reputations; a household tool, stated plainly
- Troubleshooting — the empty results page, the 403, the engines that vanish, the preferences that won't stick
- Glossary — the terms, collected in one place
What it doesn't cover
Running a public instance end-to-end — TLS, reverse proxies, limiter policy, abuse duty — which is operating a service, not using a tool, and gets this guide's warnings rather than its tutorials. Search-engine optimisation, crawling or building an index, and the internals of any upstream engine. And programming against the JSON API beyond the curl level of chapter 8.
How to use this guide
Read chapter 1 for the model and chapter 2 before
installing anything — knowing which part is which
turns the first empty results page from a mystery
into a named problem. Chapter 4's failed first
search is worth reading even if yours works: it
teaches the log-first habit every later chapter
leans on. Households should not skip chapter 10's
cautions before widening the bind address, and
chapter 11's one-file backup takes ninety seconds
to set up while the instance is still young. The
lab's transcripts live in searxng-lab/transcripts/;
its notes are examples/lab-notes.txt.
Part of the series
This guide is one of the For Mere Mortals guides: plain-language guides to the tools programmers and makers use.
Related guides:
License
The writing in this guide is licensed under CC BY 4.0. Code examples and lab scripts are licensed under the MIT License.