Code intelligence

Sourcegraph makes it easy to read, write, and fix code—even in big, complex codebases.

Free. Built on open source.

Sourcegraph is used by some of the largest companies in the world.
Learn about Sourcegraph Enterprise

Code search

Search all of your repositories across all branches and all code hosts.

Code search

Code intelligence

Navigate code, find references, see code owners, trace history, security, and more.

Code intelligence

Fix and refactor

Roll out large-scale changes to many repositories at once and track big migrations.

Fix and refactor

1.8M+ devs at the world's leading eng orgs are Sourcegraph customers

See how innovative companies are using Sourcegraph
Uber logoGE logoQualtrics logoDropbox logoNutanix logoCanva logoIndeed logoPlaid logoReddit logoMercado Libre logoLyft logoDatabricks logoShipt logo
Bryce Kalow, Senior Web Engineer at HashiCorp

“By its nature and capabilities, Sourcegraph can be a tool to reduce friction, speed up feedback loops, and improve developer velocity.”

- Bryce Kalow, Senior Web Engineer at HashiCorp
Ronnie Magatti, Team Lead & Principal Software Engineer at Neo Financial

“With Sourcegraph, developers are more productive and it’s clear that every team is getting 1% better every day.”

- Ronnie Magatti, Team Lead & Principal Software Engineer at Neo Financial
Justin Phillips, Software Engineer, Lyft

“During our decomp efforts, we also spent time to refactor our APIs. Many of these APIs were undocumented and lacked a formalized contract.

With the help of Sourcegraph, we were able to quickly look at all clients of an API and remove unused attributes that lived in different repositories, ultimately simplifying our APIs and speeding up developer iteration time.”

- Justin Phillips, Software Engineer, Lyft

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
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
  • 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?

All your tools

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

Deployment options

  • Self-hosted by you:

    • Kubernetes cluster
    • Amazon EKS or EC2
    • Google GKE
    • Microsoft Azure AKS
    • Docker Compose
  • Managed and hosted by us:

    • Docker Compose in GCP
Learn about deploying Sourcegraph

Cody AI

Working with Cody, Sourcegraph’s new AI coding assistant, is like a having a senior engineer as a personal assistant who can search and read your codebase to find answers to your questions.

Download Sourcegraph

For individual developers

Sourcegraph for Enterprise

Get in touch to learn how organizations use Sourcegraph at Scale: