Overview
Debuggex is an online tester for regular expressions that draws the expression as a diagram. As you type a pattern, it shows the pattern's structure as a visual flow, and a slider lets you step through a test string to see how far the match gets and where it fails. That makes it easier to understand someone else's regex or to find the part of your own that is wrong.
It supports the JavaScript, Python and PCRE flavours, has a built-in cheatsheet covering character classes, groups, lookarounds and anchors, and can produce a link to share an expression or an image of the diagram to embed in a Stack Overflow answer. It can also generate a code snippet to paste into a program.
The visualiser and debugger are free. A pricing page lists paid tiers that add private expressions, more unit tests per regex, plain-English explanations and a shared regex library, and those features need a login. The site looks unchanged for a long time: the footer carries a 2013 copyright and the Python and PCRE engines are still described as free while in beta, so treat the account and paid features with caution.
Categories
Features
- Draws a regular expression as a visual diagram while you type
- Slider for stepping through a match against a test string
- JavaScript, Python and PCRE flavours
- Built-in regex cheatsheet
- Shareable links to an expression
- Embeddable diagram image for Stack Overflow answers
- Code snippet generation
- Unit tests and a regex library for logged-in users
Privacy
The privacy policy says the site uses Google Analytics for anonymous usage statistics, does not sell or trade data to third parties without permission, and stores only your email address if you create an account.
Pros & Cons
Pros
- The diagram makes complicated patterns easier to read
- Core visualiser and debugger work without an account
- Three regex flavours in one place
- No advertising scripts were seen on the page
Cons
- The site appears not to have been updated for years; the footer is dated 2013
- Unit tests, the library and private expressions need a login or a paid tier
- Login is built on Mozilla Persona, so signing in may not work
- No support for flavours beyond JavaScript, Python and PCRE
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Regex101 Editor's PickRegex ToolsAn interactive regular expression tester with live explanations.
Freemium No Signup Web API -
Regex Tools · Regex101
Tests and debugs regular expressions with detailed match explanations.
Freemium No Signup Web -
Regex Tools · RegexPlanet
Tests regular expressions across many programming languages.
Free No Signup Web -
Regex Tools · Regex Tester
Tests and debugs regular expressions.
Free Web