Cody is now Generally Available, and Cody Pro is free until February 2024.

Read the blog
Sourcegraph - Code Intelligence Platform
Pricing
Search public code
Contact sales Login

Find, understand, and fix your code

Code Search, along with complementary tools, helps devs find, fix, and onboard to new code quickly.

Meet with a product expert
Uber logoGE logoQualtrics logoDropbox logoNutanix logoCanva logoIndeed logoPlaid logoReddit logoMercado Libre logoLyft logoDatabricks logoShipt logo

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.
Read how Nutanix used Code Search to mitigate Log4j vulnerabilities

CODE NAVIGATION

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.

BATCH CHANGES

Automate large-scale code changes

  • Find all occurrences of code to change with Code Search and programmatically make those changes by creating a declarative specification file.
  • Automatically track changeset lifecycle status, like check state, reviews, and merge status via the Sourcegraph UI so you can get the changesets merged.
Read how Indeed uses Batch Changes to accelerate development

CODE INSIGHTS

Track what really matters to you and your team

  • Make data-driven decisions using visualizations based on the power and accuracy of Sourcegraph Code Search.
  • Engineering teams can track migrations and deprecations, ensure removal of security vulnerabilities, track code smells and health, and much more.
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
  • 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
  • COBOL
  • 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.

Meet with a product expert
Sourcegraph - Code Intelligence Platform

Products

  • Cody
  • Code Search

Enterprise

  • Cloud
  • Pricing
  • Customer stories

Resources

  • Blog
  • Library
  • Changelog
  • Documentation
  • Podcast
  • Community

Company

  • About
  • Careers - We're hiring!
  • Contact
  • Handbook
  • Sourcegraph strategy
  • © 2023 Sourcegraph, Inc.
  • Terms
  • Security
  • Privacy