
About OpenGrok
OpenGrok is an open source engine for searching and browsing large source code trees. It indexes your code and its history, so you can find text, symbols and changes in one web interface.
What it does
OpenGrok reads a source tree, builds a search index, and lets you navigate the code in a browser. It cross-references symbols, so you can jump from a use of a name to its definition. It understands many file formats and can read history from several version control systems.
Key features
- Search across a whole source tree
- Cross reference for symbols and definitions
- Reads history from several version control systems
- Browser interface for navigating code
- Written in Java
Who it's for
OpenGrok suits engineering teams with large codebases that need fast search across many projects. It also suits anyone who wants a self-hosted code browser.
Pricing and good to know
The project is open source under the CDDL license and free to use. It needs Java 17 or later, a servlet container such as Tomcat, and Universal ctags. Because it is self-hosted, you run and maintain the server yourself.
Highlights
- Searches across a whole source tree
- Jumps from a symbol to its definition
- Reads history from several version control systems
- Browses code in a web interface
- Understands many programming languages and file formats












