Sourcegraph mesh branding
Sourcegraph mesh branding

Understand and search across your entire codebase

Address security risks, onboard to a new codebase, identify the root cause of incidents, promote code reuse, improve code health, and accelerate engineering velocity with Sourcegraph.

Over 1.8M engineers use Sourcegraph to build software you rely on

Learn how our customers use Sourcegraph
Uber logoGE logoQualtrics logoDropbox logoNutanix logoCanva logoIndeed logoPlaid logoReddit logoCloudflare logoMercado Libre logoLyft logoDatabricks logoShipt logo

How developers use Sourcegraph

Sourcegraph's code intelligence platform is built with features that help you understand, fix, and automate across your entire codebase.

code search

Find what you need: any code host, language, or repository

Use Code Search to find what you need, across thousands of repositories and multiple code hosts, in milliseconds.

  • Search for snippets, commits, dependencies, or errors across your entire codebase
  • Create code monitors to be alerted when known vulnerabilities or undesirable code is introduced
  • Access all of your team's code in one place; never get stuck searching one repository or code host at a time
Learn more about Code Search
code navigation

Navigate your codebase and your dependencies

Follow symbol definitions and references across packages, dependencies, and repositories seamlessly.

  • Traverse your entire codebase with cross-repository 'Go to definition' and 'Find references'
  • Navigate your code in your web browser to see any commit, on any branch, of any repository instantly
  • Follow dependencies across repositories with confidence using precompiled data for speed and precision
Learn more about Code Navigation
batch changes

Automate large-scale code changes

Batch Changes allows you to automate code changes across your entire codebase. Move fast and fix things safely.

  • Update legacy code, remove outdated patterns, and fix critical security issues across multiple repositories
  • Track changes across your codebase without maintaining spreadsheets of places that need to be updated
  • Automate fixing breaking changes introduced by library or package updates
Learn more about Batch Changes
code insights

Track what really matters to you and your team

With Code Insights, know how different initiatives in your codebase are progressing in real time so you can make data-driven decisions.

  • Track migrations, code smells, ownership, and versions with fully customizable dashboards
  • Ensure that security vulnerabilities and deprecated packages get completely removed from your codebase
  • Create visualizations that update automatically, provide historical trends, and pull directly from the source of truth: the code itself
Learn more about Code Insights

Works with your code, infrastructure, and tools

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

  • GitLab.com
  • GitLab Enterprise
  • GitHub.com
  • GitHub Enterprise
  • Bitbucket Server
  • Bitbucket Data Center
  • Bitbucket Cloud
  • Perforce
  • Any Git-based code host
Have a repository not covered here?

All your languages

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

Your most used tools

  • Chrome
  • Firefox
  • VS Code
  • JetBrains
  • Vim
  • Emacs
  • Atom
  • Sublime Text
See all integrations

Deployment options

  • Cloud:

    • Single-tenant Sourcegraph Cloud instance
  • Self-hosted by you:

    • Kubernetes cluster
    • Amazon EKS or EC2
    • Google GKE
    • Microsoft Azure AKS
    • Docker Compose
Learn about deploying Sourcegraph

Try Sourcegraph on your code.

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

Want to deploy yourself? Try our self-hosted solution.