Find and fix things across all of your code faster with Sourcegraph. Onboard to a new codebase, make large-scale refactors, increase efficiency, address security risks, root-cause incidents, and more.
Point Sourcegraph at the repositories you work with, stored in any code host — then start searching. Stay in flow and find your answer quickly with smart filters such as Non-test files, lang:java, repo:frontend, and more. Stop grep'ing your stale local clones and fighting with your code host's search to match “special” characters like .:=().
GitHubGitHub EnterpriseGitLabBitbucket ServerBitbucket CloudPhabricatorAWS CodeCommitAzure DevOpsPerforceMercurialSubversionCVSTFSGiteaGerritcgitRidiculously big monorepos500,000+ repositoriesAny combo of theseJavaPythonGoJavaScriptTypeScriptC#CC++SwiftObjective-CKotlinRubyScalaRustPerlDartErlangCOBOLClojureLispShellTerraformLuaGraphQLThriftProtobufYAMLJSONJsonnetRPHPElixirHaskellPowerShellOCamlCUDAPascalVerilogVHDLGroovyTclChromeFirefoxVS CodeJetBrainsVimEmacsAtomSublime TextDatadogLightStepSentryCodecovJiranpmSelf-hosted (you) Managed by us AWS Google Cloud Azure Other infraDocker container Kubernetes cluster Custom clusterSourcegraph is built by developers for developers, to help them solve the big code problems they face, all day every day. Here's how they're doing it.
Use it free for up to 10 developers. To get your company to upgrade to a paid plan, see the customers page (to make the case). Or schedule time with us for help.
CODE SEARCH
authWrite queries with regex, punctuation, symbols, and advanced syntax-aware pattern matching. Sourcegraph’s visual and interactive query builder constructs complex queries to find and filter code in ways IDEs and code hosts can’t.
CODE INTELLIGENCE
Find definitions, references, usage examples, and anything else in code, across package, dependency, and repository boundaries. You can navigate code in your web browser in any repository on any branch, instantly and without losing your local context.
BATCH CHANGES
Remove legacy code, fix critical security issues, and pay down tech debt. Use Batch Changes to compute diffs and create branches and pull requests across multiple repositories. With Sourcegraph, teams move fast and fix things, safely.
Quickstart: Run this to launch Sourcegraph locally:
See deployment documentation for information about Docker deployments, Kubernetes clusters, and other clusters.
Search open source code or your own public repositories now.