Search your code. All of it.

code search

Onboard to a new codebase, understand code faster, and identify security risks with universal code search.

Find and fix code in any code host, language, or repository

  • Be more efficient by reusing high-quality code. Find code across thousands of repositories and multiple code hosts in seconds.
  • Resolve issues and incidents faster by pinpointing root causes with symbol, commit, and diff searches.
  • Discover every instance of vulnerable or buggy code in milliseconds and have complete confidence in what's in your codebase.

Move faster with Sourcegraph

Onboard 2.5x quicker

Search across every repository and code host to get to know the repository structure and learn from other developers' code.

Improve developer happiness and productivity

Get answers faster without waiting for context from teammates or dealing with stale local clones.

Mitigate security and compliance risks

Get alerts for vulnerabilities and then automate security fixes across your entire codebase.

At Criteo, developer happiness is our top priority-not just productivity. By providing them with the right tools, like Sourcegraph, we've found that increased productivity is a natural byproduct.

Francois Jehl, Senior Engineering Manager at Criteo
Criteo logoRead the case study

Understand your code and its dependencies

  • Onboard to codebases faster with cross-repository code navigation features like “Go to definition” and "Find references."
  • Complete code reviews, get up to speed on unfamiliar code, and determine the impact of code changes with the confidence of compiler-accurate code navigation.
  • Determine root causes quickly with precise code navigation that tracks dependencies and references across repositories.

Create evergreen documentation with Notebooks

  • Enable engineers to commit their first line of code faster through living documentation that references live code.
  • Resolve incidents quickly with web-based documentation that is collaborative and shareable.
  • Spend less time updating stale docs. Embed notebooks anywhere you can embed HTML, like your own internal docs tooling.

Works with your code, infrastructure, and tools

All your repositories + 2M open source (and counting)

  • GitLab Enterprise
  • GitHub Enterprise
  • Bitbucket Server
  • Bitbucket Data Center
  • Bitbucket Cloud
  • Phabricator
  • Gitolite
  • Gerrit (coming soon)
  • Perforce
  • CVS
  • Any Git-based code host
Request one

All your languages

  • Java
  • Python
  • Go
  • JavaScript
  • TypeScript
  • C#
  • C
  • C++
  • Swift
  • Objective-C
  • Kotlin
  • Ruby
  • Scala
  • Rust
  • Perl
  • Dart
  • Erlang
  • Clojure
  • Lisp
  • Shell
  • Terraform
  • Lua
  • GraphQL
  • Thrift
  • Protobuf
  • YAML
  • JSON
  • Jsonnet
  • R
  • PHP
  • Elixir
  • Haskell
  • PowerShell
  • OCaml
  • CUDA
  • Pascal
  • Verilog
  • VHDL
  • Groovy
  • Tcl
Request one

All your tools

  • Chrome
  • Firefox
  • VS Code
  • JetBrains
  • Vim
  • Emacs
  • Atom
  • Sublime Text
  • Datadog
  • Lightstep
  • Sentry
  • Codecov
  • Jira
  • npm
  • SonarQube
See more

Deployment options

  • Kubernetes cluster
  • Amazon EKS or EC2
  • Google GKE
  • Microsoft Azure AKS
  • Docker Compose
  • Docker Compose in GCP
Learn more

Try Sourcegraph on your code.

Experience code intelligence with a free trial for you and your team, or search millions of open source repositories.