
regex101
Online regex tester and debugger with flavor selection and code generation
- #1 of 8 in best regex testers
- Free plan, paid upgrades
- Free to use
- Web
Opens the official site in a new tab. Check current plans and terms there; nothing is purchased on listme.name.
Ranked 1 of 8 in best regex testers
The most complete free editor, with many flavors, a debugger, a flavor converter, a code generator and unit tests on one page. Unlike RegExr, it covers flavors beyond JavaScript and PCRE, though its explanation is labeled Pro.
Best for Testing and debugging patterns across languages
About regex101
regex101 shows matches as you type and lists what each group captured, including named groups. The flavor selector covers PCRE2 (PHP), JavaScript, Python, Golang, Java, .NET (C#), Rust, POSIX ERE and POSIX BRE. A debugger helps investigate unexpected results, a converter adapts a pattern and its flags to another flavor, and a code generator writes the expression into code.
Results can be exported as JSON, JSON Lines, CSV or plain text, and unit tests can be written against an expression. The homepage labels its pattern explanation as a Pro feature, and it lists an AI assistant for building patterns. The site links no source repository, so it is not presented here as open source.
Key features
- Live matches and group capture
- Flavor selector
- Regex debugger
- Code generator
- Unit tests
Strengths
- Covers many flavors, including PCRE2, JavaScript, Python, Java and .NET
- Code generator and flavor converter in one editor
- Unit tests and exports to JSON, CSV or plain text
Limits
- Pattern explanation is labeled as a Pro feature
- The homepage links no source repository
Where regex101 ranks
How regex101 compares
| Product | Score | Price | Platforms | Regex flavors | Draws a diagram | Test suites | Code snippets |
|---|---|---|---|---|---|---|---|
| #1 | 92.0 | Free plan, paid upgrades | Web | PCRE2, JavaScript, Python, Java, .NET, Golang, Rust, POSIX | No | Yes | Yes |
| #2 | 84.0 | Free and open source | Web | JavaScript and PCRE | No | Yes | No |
| #3Debuggex | 82.5 | Free plan, paid upgrades | Web | JavaScript, Python and PCRE | Yes | Yes | Yes |
| #4 | 80.0 | Paid | Windows | Many, including PCRE, Java, JavaScript, Python, .NET | No | No | Yes |
| #5 | 78.0 | Free | Web | Not listed on the homepage | Yes | No | No |
The full comparison table for best regex testers has all 8 products.
Alternatives to regex101
All 7 alternatives
RegExrIs open source.- DebuggexVisual regex tester with railroad diagrams, unit tests and code snippets
RegexBuddyAlso runs on Windows.
iHateRegexRegex playground with railroad diagrams, notes and a pattern library
RegexperDraws regular expressions as railroad diagrams- PythexPython regex tester that runs the re module in the browser
Questions about regex101
- Is regex101 free?
- regex101 can be used without paying: Free to use; a paid Pro tier adds features such as the pattern explanation. Check the vendor’s pricing page for current limits.
- Is regex101 open source?
- No. regex101 is proprietary software; its source code is not public.
- Which platforms does regex101 support?
- regex101 is available on: Web.
- What is regex101 best for?
- Testing and debugging patterns across languages. In our ranking of regex testers it is number 1 of 8 with a score of 92.0.
- What are the best alternatives to regex101?
- The highest-ranked alternatives on listme.name are RegExr, Debuggex, RegexBuddy, iHateRegex.
Show this ranking on your site
If you make or maintain regex101, this badge links back to this page and shows its current rank. It updates when the ranking does.
<a href="https://listme.name/software/regex101"><img src="https://listme.name/badge/regex101.svg" height="28" alt="Ranked #1 of 8 regex testers on listme.name"></a>Articles that mention regex101
All articles- Guides · 4 min readHow to choose a regex testerPick a regex tester by flavor, diagrams, test suites, code snippets and price, with regex101, RegExr, Debuggex and Pythex compared.
- Comparisons · 4 min readregex101 vs RegExr: flavors, explanations and tests comparedCompare regex101 and RegExr on regex flavors, explanations, test suites, saved patterns, code output, ads and license to choose between them.