regex101
FreeRegex sandbox with live matching, a full explanation tree for every token, a debugger that steps through backtracking, and quick reference for PCRE, JavaScript, Python and Go flavors.
Why we recommend regex101
regex101 turned regular expressions from write-only incantations into something you can actually understand: paste a pattern and the right-hand panel decomposes every token into plain English, while the debugger steps through the engine's matching and backtracking. The flavor switcher matters more than people realize — a pattern that works in PCRE silently fails in JavaScript, and regex101 makes those differences visible.
Best use cases
Best for: developing a non-trivial regex against real sample text before it goes into code, debugging catastrophic backtracking on patterns that hang in production, learning regex by reading the explanation tree, and sharing a saved pattern URL in code review instead of arguing in comments.
Honest limitations
The debugger only supports the PCRE flavor. Extremely long test strings slow the live matcher. And a green match in the sandbox does not guarantee your host language escapes the pattern the same way — final verification belongs in a unit test.
Are you the maker of regex101? Claim this listing →
More in Development Tools
Google's image compression tool — compare formats (WebP, AVIF, MozJPEG) side by side with live quality sliders. All processing is client-side, so images never leave your machine. A must-have for web developers.
Social front-end playground: write HTML, CSS and JavaScript in the browser with live preview, preprocessors and frameworks, then share pens and explore millions of community demos. Free accounts cover public work.
Cloud development environment for full projects: instant Node, React and framework templates, npm dependencies, live collaboration and shareable dev servers. Free tier covers public sandboxes and limited VM credits.
Instant dev environments that boot Node.js inside your browser tab via WebContainers — full npm installs and Vite dev servers with no remote VM. Free for public projects.
Browser IDE and hosting for dozens of languages with an AI agent that scaffolds and edits apps, real-time multiplayer editing, and one-click deployments. Free tier for trying and learning.
Visualizes JSON, YAML, CSV and XML as an interactive node graph so nested structures become readable at a glance. Open-source; free tier handles typical payloads in the browser.