Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Zoekt

github.com

  • Free plan
  • Web
  • API
  • Self-hosted
7.0 Club score Visit github.com

What Zoekt is

Zoekt is a free, open-source search engine for source code. It supports substring and regular-expression searches, with Boolean operators for combining terms. Results use code-related ranking signals, including whether a match appears on a symbol. Searches can cover one repository or span many repositories in a large codebase. The project says its trigram indexing and syntactic parsing work well with a variety of programming languages. Zoekt can run through command-line tools or as indexserver and webserver services that sync repositories from a code host. The webserver can expose search through a web interface, a JSON API, and a gRPC API for structured queries and streaming results. The project documents indexing a GitHub organization and periodically fetching its repositories. Its container image includes Zoekt binaries, git, and universal-ctags. Zoekt is licensed under Apache-2.0 and is intended for self-hosted use. The design document describes public-facing HTTPS deployment without authentication and identifies repository credentials, TLS certificates, and query logs as sensitive data.

Who it suits

Zoekt suits teams that need to search one or many repositories and can operate self-hosted search services. It also supports command-line use and web or API-based searching.

Good to know, and what to watch

  • Supports substring, regex, and Boolean search.
  • Can search across many repositories.
  • Provides web, JSON, and gRPC search interfaces.
  • Apache-2.0 licensed and free.
  • Intended for self-hosted deployment.
  • Design document describes public HTTPS without authentication.
  • Shard content size is capped at 1G.

Free

Free

Open source

The verdict

Zoekt offers several ways to search source code, from command-line tools to web and API services. Teams deploying it publicly should account for the documented lack of authentication and the sensitive data identified in the design document.

What the maker publishes

API
The webserver can expose a JSON search API and a gRPC API for structured queries and streaming search results. source
Code host setup
The README documents indexing a GitHub organization and periodically fetching and indexing its repositories. source
Container
The project publishes a container image at ghcr.io/sourcegraph/zoekt containing Zoekt binaries, git, and universal-ctags. source
Index size limit
The design document says shard offsets use uint32 and caps content size per shard at 1G. source
Languages
The project says its trigram indexing and syntactic parsing work well for a variety of programming languages. source
License
The repository lists the Apache-2.0 license. source
Purpose
Zoekt is a text search engine intended for source code. source
Ranking
Search results are ranked using code-related signals, including whether a match is on a symbol. source
Repositories
It can search an individual repository or search across many repositories in a large codebase. source
Search
It supports fast substring and regular expression matching, with Boolean query operators. source
Security
The design document describes a public-facing deployment using HTTPS without authentication and identifies repository credentials, TLS certificates, and query logs as sensitive data. source
Security mitigation
The design document says seccomp-based sandboxing mitigates the risk from ctags processing indexed code. source
Ways to use it
Zoekt can be used through command-line tools or through indexserver and webserver services that sync repositories from a code host and search them through a web UI or API. source

Checked against the maker's pages on 7 Oct 2026.