Find code in GitHub using Grep
Grep is a tool that has been built by the team over at Vercel (thanks for the free hosting) and is designed to let you find code snippets in public GitHub repositories FAST.

Grep is a tool that has been built by the team over at Vercel (thanks for the free hosting) and is designed to let you find code snippets in public GitHub repositories FAST.
Usage
Aside from finding what you're looking for, you might also want insight into how code is used across public projects.
- Checking the usage of a dependency — copy and paste the dependency from your project and see how other developers are using it
- Finding security holes — as an ethical hacker, you might look for public repositories that are oversharing API keys and give their maintainers a nudge
The UI allows you to filter by
- Repository
- Path
- Language
The search itself supports regular expressions, case matching, and whole-word matching.
Need help with something similar?
Turn the rough edge into a simpler system.
I help teams with technical architecture, DevOps, CI/CD, performance, replatforming, and practical AI process improvement.
Start a conversation