regex101
Write, test and understand regular expressions in your browser.
Why you probably need it
Paste a regex and regex101 explains every part of it in plain English while highlighting matches live. It has saved more hours than anyone can count.
Quick facts
- Free
- Web
- Cool project
- Developer tools
About regex101
regex101 is an online tool for building, testing and understanding regular expressions. You type a pattern and it highlights matches in real time, while an explanation panel breaks down every part of the expression in plain English. It supports PCRE, JavaScript, Python and Go flavors, keeps a history of your patterns and lets you save and share them with a link. The community library has thousands of patterns for common tasks.
Pros & cons
- Real-time matching with explanations
- Supports multiple regex flavors
- Save and share patterns
- Web-only — no offline use
- Can be addictive to tinker with
- Community patterns vary in quality
Frequently asked questions
Is regex101 free?
Yes, regex101 is free to use, and you don't need to pay anything to get started. Just open regex101.com in your browser.
If that ever changes, regex101.com will have the details.
What are some alternatives to regex101?
Here are other developer tools worth a look, depending on what you need:
- DevToys: A Swiss Army knife of tiny dev utilities, all offline.
- F12: Inspect, restyle and pull assets from any web page with one shortcut.
- GitHub: The largest platform for code hosting, collaboration and CI/CD.
- httpbin: A simple HTTP request and response service for testing.
You can compare all 22 on the Developer tools page.
What platforms does regex101 work on?
regex101 works on the web. It runs in your browser, so there's nothing to install. Open regex101.com in any modern browser to get started. That means it works the same on Mac, Windows, Linux and Chromebooks, as long as you have a modern browser.
One limitation to know about: Web-only — no offline use.
You might also need
Argo CD Developer tools GitOps continuous delivery for Kubernetes. Open source Free
CircleCI Developer tools Cloud CI/CD that runs your tests and deploys on every push. SaaS Free plan + paid
Dagger Developer tools Programmable CI/CD engine that runs the same locally and in CI. Open source Free + paid cloud Maker of regex101? Claim this page