Grok your entire codebase
Code Search makes it easy to find code, make large-scale changes, and track insights across codebases of any scale.
Trusted by the world's largest dev teams
Find and fix code in any code host, language, or repository
- Onboard to new repositories and projects more quickly by searching and navigating code from Sourcegraph's web UI.
- Resolve vulnerabilities and incidents faster. Locate every instance of bad code using symbol, commit, and diff searches.
- Efficiently reuse existing code. Find code across thousands of repositories and multiple code hosts in seconds.
Automate large-scale code changes
- Find all occurrences of code to change with Code Search and make every change with a single, declarative spec file.
- Automatically track changeset lifecycle status via the Sourcegraph UI. See check state, reviews, and merge status to follow changesets to completion.
“There have been many instances when I know something exists, but I don't know where to start. Now I just go to Code Search, start searching, add some filters, and I'm always able to find it.”
James Griffin-Allwood
Staff Developer, 1Password
7 hrs/ mo.
Est time saved by each developer
3,900 hrs
Projected eng. time saved in 1 year
See why devs and their teams love using Code Search
"Sourcegraph helped me answer a question in like 5 seconds flat this afternoon. Normally I probably would have bugged a bunch of people, but the overview of “here is that snippet, and the list of repos using it” made it self-served."
Todd Turner
Platform Engineer, Nine
"Updating all of our repositories with Batch Changes saves time, is less error-prone, and gives us confidence that everything is going to plan."
Joe Bingham
Software Engineer, Workiva
"Sourcegraph lets us make informed decisions on how to evolve our codebase. For example, a library owner knows exactly how all other developers use their API, and can therefore make educated decisions on how to evolve it."
Chris Roderick
Applications & Services Section Leader, CERN