- Home
- Regular Expression Testers
- regex101
regex101
What it is
regex101 is an online tool for building, testing, and debugging regular expressions. Its editor supports PCRE2, JavaScript, Python, Golang, Java, .NET 10.0, Rust, POSIX ERE, POSIX BRE, and legacy PCRE. Explanations break down how parts of a pattern match according to the chosen flavor, and a step-through debugger helps inspect matching. Results can be exported as JSON, JSON Lines, CSV, or plain text. Developer options include HTTP APIs, an MCP server, editor links, and a separately licensed parser package. The workspace API stores editor data, but it does not offer a remote matching endpoint. File loaders read text, bytes, and supported documents in the browser; saving or sharing workspace input can send it to the workspace service. The free plan includes core regex tools, one test string, and saved workspaces with an account. Pro costs €4.99 a month, billed yearly, and adds multiple test strings, substitution pipelines, benchmarking, formatting, and an ad-free workspace. A self-hosted Enterprise option is also listed.
For and against
For
- Supports ten listed regular-expression flavors.
- Explanations are tailored to the selected flavor.
- Matching can be inspected with a step-through debugger.
- Results export to four listed formats.
- Free plan includes saved workspaces with an account.
Against
- Free plan supports one test string.
- Workspace API does not provide remote matching.
- Saving or sharing workspace input can send it to the service.
The verdict
regex101 pairs pattern testing with flavor-specific explanations and exports. Review its workspace data handling and the one-test-string free plan before choosing a workflow.
Who it suits
It suits developers who want to construct and inspect regular expressions across multiple flavors. Teams needing a self-hosted deployment can consider the Enterprise option.
Plans and prices
Free
Core regex tools · one test string · saved workspaces with an account
Read 30 Sep 2026 · regex101.com
Pro
Multiple test strings · substitution pipelines · advanced benchmarking · regex formatting
Read 30 Sep 2026 · regex101.com
Enterprise
Self-hosted · one running instance per standard license · user count specified on invoice · optional feature add-ons
Read 30 Sep 2026 · docs.regex101.com
On the record
- API limitation
- The workspace API stores editor data and does not expose a remote matching endpoint.docs.regex101.com · read 30 Sep 2026
- Developer integrations
- Developer integrations include HTTP APIs, an MCP server, editor links, and a separately licensed parser package.docs.regex101.com · read 30 Sep 2026
- Enterprise data handling
- For self-hosted Enterprise, patterns, test strings, workspaces, and files are processed in the customer deployment, which regex101 ApS says it does not access.docs.regex101.com · read 30 Sep 2026
- Enterprise deployment
- The documented standard setup runs on Linux with Docker Compose and uses MySQL and Redis services.docs.regex101.com · read 30 Sep 2026
- Enterprise support terms
- The Enterprise agreement states a reasonable-effort initial response target of five Danish business days and says it is not a guaranteed SLA.docs.regex101.com · read 30 Sep 2026
- Explanations
- The site explains each part of a regular expression and how it matches, tailored to the selected flavor.regex101.com · read 30 Sep 2026
- File privacy
- File loaders read text, bytes, and supported documents locally in the browser; saving or sharing the resulting workspace input can send it to the workspace service.docs.regex101.com · read 30 Sep 2026
- Maker
- The maker is regex101 ApS; its terms list an address at Mimers Plads 2, 6. tv, 2220 Copenhagen.docs.regex101.com · read 30 Sep 2026
- Match exports
- Match results can be exported as JSON, JSON Lines, CSV, or plain text.regex101.com · read 30 Sep 2026
- Purpose
- regex101 is an online tool for building, testing, and debugging regular expressions.regex101.com · read 30 Sep 2026
- Regex flavors
- The editor lists PCRE2, JavaScript, Python, Golang, Java, .NET 10.0, Rust, POSIX ERE, POSIX BRE, and legacy PCRE support.regex101.com · read 30 Sep 2026
- Support
- Support includes community discussion, a public issue tracker for reproducible bugs, and email for account, purchase, or private support.docs.regex101.com · read 30 Sep 2026
The review
regex101 is a web-based workbench for building, testing, and debugging regular expressions. It is especially useful to developers moving between regex engines and to learners who want to understand how a pattern matches. Its flavor-specific explanations, debugging tools, and exports make it a capable workspace, but the free plan’s single-test-string limit can get in the way of broader checks.
Overview
Regex behavior depends on the engine interpreting a pattern, so regex101’s choice of flavor is central to its value. The editor supports ten options, and its explanations describe how each part of a pattern works in the selected flavor. That makes it more useful for investigating a difficult expression than a basic match checker. A step-through debugger and code generation extend the workspace from understanding a match toward applying a pattern in code.
Workspace data handling deserves attention. File loaders read text, bytes, and supported documents locally in the browser, but saving or sharing that workspace input can send it to the workspace service. The workspace API stores editor data; it does not offer a remote matching endpoint. Teams needing data to stay within their own deployment can consider self-hosted Enterprise, where patterns, test strings, workspaces, and files are processed in the customer deployment and regex101 ApS says it cannot access them.
Key features
- Flavor-specific editing and explanations: PCRE2, JavaScript, Python, Golang, Java, .NET 10.0, Rust, POSIX ERE, POSIX BRE, and legacy PCRE are supported. Selecting the target engine helps avoid treating behavior in one flavor as universal; this range is particularly practical for developers working across languages.
- Debugging and code generation: The step-through debugger helps inspect matching, while explanations break down the expression in its chosen flavor. Code generation provides a way to carry a pattern into code. Together these tools serve both learners and developers diagnosing patterns that are difficult to reason about.
- Match exports: Results can be exported as JSON, JSON Lines, CSV, or plain text. That gives users several formats for taking match output into other workflows, though exports do not change the one-test-string limit on the free plan.
- Developer integrations: Integrations include HTTP APIs, an MCP server, editor links, and a separately licensed parser package. The API’s role is narrower than remote regex execution: it stores workspace editor data rather than exposing a matching endpoint.
- Self-hosted deployment: Enterprise’s documented standard deployment runs on Linux with Docker Compose and uses MySQL and Redis. Keeping workspaces and inputs inside a customer deployment is a meaningful option for sensitive data, but it comes with deployment and infrastructure responsibilities.
Pricing
regex101 is freemium, with a free plan and a 7-day trial. The trial length is clear, but the terms provided do not establish which paid plan it covers, so it should not be treated as a substitute for comparing plan limits.
| Plan | Price and terms | What it includes |
|---|---|---|
| Free | free | Core regex tools, one test string, and saved workspaces with an account. |
| Pro | €4.99 a month (billed billed yearly) | Multiple test strings, substitution pipelines, advanced benchmarking, regex formatting, and an ad-free workspace. |
| Enterprise | Custom pricing; annual license, invoice-based billing | Self-hosted deployment, one running instance per standard license, user count specified on invoice, and optional feature add-ons. |
Free is a sensible starting point for learning or checking an individual case, but one test string limits its usefulness for comparing multiple inputs in a single workspace. Pro is the practical fit for recurring development work that needs multiple test strings or its additional tools; it is billed yearly despite the monthly price presentation. Enterprise is for organizations prioritizing self-hosting and deployment-level data control. Its standard license allows one running instance, and the invoice specifies the user count.
Support spans community discussion, a public issue tracker for reproducible bugs, and email for account, purchase, or private support. Enterprise agreements set a reasonable-effort initial response target of five Danish business days, not a guaranteed SLA.
Platforms
regex101 is available on the web and lists API, Linux, and self-hosted platforms. The Linux and self-hosted deployment details apply to Enterprise; the documented standard setup uses Docker Compose, MySQL, and Redis.
Who it's for
Choose regex101 if you need to build or debug expressions across different regex flavors, want an explanation of how a match works, or need to export results in common data formats. It also suits organizations that can operate a Linux deployment and want workspace inputs processed within their own environment. It is a weaker fit for people who need several test strings at no cost or expect its workspace API to run remote matching.
Pros and cons
- Pro — Ten supported flavors: A broad selection makes it useful for checking patterns against the engine a project actually uses.
- Pro — Explanations and a step-through debugger: These help users understand matching behavior, rather than only seeing whether a pattern succeeds.
- Pro — Multiple export formats: JSON, JSON Lines, CSV, and plain text cover several ways to reuse match results.
- Pro — Self-hosted Enterprise data handling: Patterns, test strings, workspaces, and files stay within the customer deployment, according to regex101 ApS.
- Con — Free permits one test string: Comparing cases in a single workspace requires Pro.
- Con — Workspace API is not a matching service: Users seeking a remote execution endpoint will need another approach.
- Con — Enterprise requires customer infrastructure: Its documented setup depends on Linux, Docker Compose, MySQL, and Redis.
Alternatives
For a broader comparison, see Regular Expression Testers.
- RegexPilot suits readers who want JavaScript and TypeScript engines free forever, or an all-21-flavor license for a one-time €19.
- RegexCraft is an option for readers seeking a free app for Linux, macOS, or Windows.
- Debuggex may fit web users looking for a regex visualizer and debugger with a free plan that includes two saved unit tests.
- RegexStudio is a web-based, open-source regular-expression workbench.
- The Regex Coach is a free option for Linux and Windows.
- RegexBuddy is a paid alternative with a single-user license priced at £44.95 once, excluding taxes, and free email technical support.
- RegEx Visualizer & Explainer is a free web option for JavaScript RegExp that requires no account and has no multi-language code export panel.
- RegexRegex is a free online tester that runs JavaScript checks in the browser, while checks in other listed languages require an explicit online run.
Verdict
regex101 is the right choice for developers and learners who need flavor-aware explanations, debugging, and exportable match results in one workspace. Its main advantage is the combination of engine selection and tools for understanding a pattern; its main drawback is the free plan’s one-test-string cap. Look elsewhere if you need free multi-case workflows, or if you expect an API that performs remote matching.