◐ Shell
reader mode source ↗
Skip to content
Code Search

Your code—and the world’s—is at your fingertips.

The image shows a computer screen with a code editor in dark mode, displaying a Rust programming language file named "vfmt.rs" from the GitHub repository "github.com/servo/rust-url." The left sidebar lists folders and files, while the main editor displays syntax-highlighted Rust code. Two floating panels on the right provide information about a class named "CodePoint" and search results for "impl CodePoint".

Search, navigate, and understand your
team’s code—and billions of lines of
public code.

Fast, relevant results

Code search understands your code—and brings you relevant results with incredible speed.

A power user's dream

Search using regular expressions, boolean operations, keyboard shortcuts, and more.

More than just search

Dig deeper with the all-new code view—tightly integrating browsing and code navigation.

Way more than grep.

GitHub code search can search across multiple repositories and is always up to date. It understands your code, and puts the most relevant results first.

Meet the all-new code view.

Dig deeper into complex codebases with tightly integrated search, code navigation and browsing.

What developers are saying

Code search makes it effortless to quickly find what I'm looking for in my code, or across all of GitHub
Keith Smiley
Keith SmileySoftware Engineer
Code search turns what would've been a ~10 minute grep search into a 2 second UI search
Marco MontagnaPlatform Engineer