regex101
regex101.com
- Free plan
- Linux
- Web
- API
- Self-hosted
What regex101 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 show how each part of a pattern matches according to the selected flavor, and users can step through 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 does not provide a remote matching endpoint. File loaders process 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 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.
Who it suits
It suits developers and others who need to build, inspect, and debug regular expressions across several syntax flavors. The editor and export options can also help people who need to step through matches or use results in other tools.
Good to know, and what to watch
- Supports ten listed regex flavors.
- Explains pattern matching by selected flavor.
- Match results export to four formats.
- Includes step-through matching and code generation.
- Free plan includes saved workspaces with an account.
- Free plan includes one test string.
- Workspace API has no remote matching endpoint.
- Pro is €4.99 a month, billed yearly.
- Enterprise support response target is not a guaranteed SLA.
Plans
Every plan and priceEnterprise
Free
Pro
Free plan · 7-day trial
Getting started
- Open regex101 in a browser
- Choose the regex flavor for your pattern
- Enter a test string and build the expression
- Create an account to save workspaces
- Choose Pro for multiple test strings and advanced tools
- Use the documented Linux Docker Compose setup for Enterprise self-hosting
Limits to check
The Free plan is limited to core regex tools and one test string, with saved workspaces available through an account. Pro adds multiple test strings and other advanced features; Enterprise uses an annual self-hosted license with one running instance per standard license and user counts specified on the invoice.
The Club's review
regex101 is an online workbench for building, testing, and debugging regular expressions, suited to learners and developers working across regex engines. Its explanations, debugger, and export options make it more capable than a basic match checker, but the free plan’s one-test-string limit makes it a poor fit for comparing cases in one workspace.
Overview
Regex behavior varies by engine, so a pattern that works in one flavor may not behave the same way in another. regex101 lets users select a target flavor, inspect how each part of a pattern matches, and step through debugging. That makes it useful both for learning unfamiliar syntax and for diagnosing patterns used in software. It is less convenient when a workflow depends on keeping several test strings together: that requires Pro.
Key features
- Broad flavor support: The editor supports PCRE2, JavaScript, Python, Golang, Java, .NET 10.0, Rust, POSIX ERE, POSIX BRE, and legacy PCRE. This is valuable for checking engine-specific behavior across projects rather than treating regex as interchangeable between languages.
- Explanations and debugging: Flavor-specific explanations show how each component of a pattern matches, and the step-through debugger helps investigate why it behaves as it does. Code generation is useful when moving from a pattern to its use in code; these tools offer more than a pass-or-fail check.
- Export and integrations: Match results export to JSON, JSON Lines, CSV, or plain text, useful when results need to be handled elsewhere. Developer integrations include HTTP APIs, an MCP server, and editor links, plus a separately licensed parser package. The workspace API stores editor data but does not provide a remote matching endpoint, so it should not be mistaken for a hosted regex execution service.
- Local file handling and 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, so local loading alone does not mean the whole workflow remains local. In self-hosted Enterprise, patterns, test strings, workspaces, and files are processed in the customer deployment, which regex101 ApS says it does not access.
Pricing
regex101 uses a freemium model, with a free plan, a 7-day trial, and a paid Pro tier. The free plan costs nothing and includes core regex tools, one test string, and saved workspaces with an account. It is enough for learning or checking an individual case, but the one-string cap rules it out for users who routinely compare inputs in a single workspace.
Pro costs €4.99 a month, billed billed yearly. It adds multiple test strings, substitution pipelines, advanced benchmarking, regex formatting, and an ad-free workspace. Those additions make it the practical choice for regular debugging and refinement, particularly when comparing cases or testing substitutions; the annual billing term matters for anyone seeking a short monthly commitment.
Enterprise is an annual license with custom pricing and invoice-based billing. A standard license covers one running self-hosted instance, with the user count specified on the invoice; optional feature add-ons are available. Its Linux and Docker Compose setup uses MySQL and Redis. This tier fits organizations that need their regex work processed in their own deployment, not individual users looking only for additional test strings. The Enterprise agreement sets a reasonable-effort initial support response target of five Danish business days, not a guaranteed SLA.
Support options include community discussion, a public issue tracker for reproducible bugs, and email for account, purchase, or private support.
Platforms
regex101 is available on the web and lists API, Linux, and self-hosted platforms. The API’s role is workspace data storage rather than remote matching. Enterprise provides the documented self-hosted deployment, on Linux with Docker Compose, MySQL, and Redis.
Who it's for
regex101 is a strong fit for people learning regex, developers debugging patterns across multiple engines, and teams that need exportable match results or a self-hosted Enterprise deployment. Pro suits individual workflows that need multiple test strings and its added refinement tools. It is not the right choice for someone expecting the workspace API to run matches remotely, or for a user who needs multiple test strings but intends to stay on the free tier.
Pros and cons
- Pro: Ten named regex flavors, including older POSIX and legacy PCRE options, make engine-specific checking practical across varied codebases.
- Pro: Explanations, step-through debugging, code generation, and several export formats help users move from understanding a match to using or handling its results.
- Pro: Enterprise self-hosting keeps patterns, strings, workspaces, and files within the customer deployment, according to regex101 ApS.
- Con: Free users can work with only one test string, limiting comparison and multi-case debugging unless they upgrade.
- Con: The API does not expose a remote matching endpoint, which limits its use for applications seeking hosted regex execution.
- Con: Loading files locally does not prevent workspace data from being sent to the service if the input is saved or shared.
- Con: Enterprise has an initial response target rather than a guaranteed support SLA, which may not suit teams requiring committed response times.
Alternatives
Choose from the Regular Expression Testers directory if you want to compare more tools. RegexPilot is a better fit for someone who wants a free JavaScript and TypeScript option, or a one-time €19 license for all 21 flavors rather than regex101 Pro’s annually billed monthly price. RegexCraft is worth considering for a Linux, macOS, or Windows desktop option with a free Personal plan for personal, hobby, learning, or side projects.
AppTools Regex Tester suits readers seeking a free utility across mobile, desktop, and web platforms, with no sign-up or subscription. RegexRegex is a free web option if JavaScript checks in the browser are sufficient; Python, PHP, Java, .NET, and Perl checks require an explicit online run. Debuggex may suit readers who want a visualizer and debugger, with JavaScript and beta Python and PCRE engines on its free plan.
RegExr is a free web tool for learning, building, and testing regex. The Regex Coach is a free Linux and Windows alternative. Regex Shuttle is a free web option that advertises no account, limits, or ads.
Verdict
Choose regex101 if you need a capable, flavor-aware workspace that explains and debugs patterns, especially when exports or self-hosting matter. The main reason to look elsewhere is the Free plan’s one-test-string ceiling; Pro resolves that and adds useful workflow tools, but its €4.99 a month price is billed yearly.
The verdict
regex101 combines a multi-flavor editor, explanations, debugging, and export options. Its Free plan is limited to one test string, while Pro adds more workspace capabilities at €4.99 a month, billed yearly.
Questions people ask
Is regex101 free?
Yes. The Free plan costs nothing and includes core regex tools, one test string, and saved workspaces with an account.
How much is Pro?
Pro costs €4.99 a month when billed yearly.
Which platforms are supported?
The listed platforms are API, Linux, self-hosted, and web.
Does it support self-hosting?
Yes. Enterprise is self-hosted, with a documented Linux deployment using Docker Compose, MySQL, and Redis.
Can the API perform remote matching?
The workspace API stores editor data but does not expose a remote matching endpoint.
What export formats are available?
Match results can be exported as JSON, JSON Lines, CSV, or plain text.
What the maker publishes
- API limitation
- The workspace API stores editor data and does not expose a remote matching endpoint. source
- Developer integrations
- Developer integrations include HTTP APIs, an MCP server, editor links, and a separately licensed parser package. source
- 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. source
- Enterprise deployment
- The documented standard setup runs on Linux with Docker Compose and uses MySQL and Redis services. source
- 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. source
- Explanations
- The site explains each part of a regular expression and how it matches, tailored to the selected flavor. source
- 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. source
- Maker
- The maker is regex101 ApS; its terms list an address at Mimers Plads 2, 6. tv, 2220 Copenhagen. source
- Match exports
- Match results can be exported as JSON, JSON Lines, CSV, or plain text. source
- Purpose
- regex101 is an online tool for building, testing, and debugging regular expressions. source
- Regex flavors
- The editor lists PCRE2, JavaScript, Python, Golang, Java, .NET 10.0, Rust, POSIX ERE, POSIX BRE, and legacy PCRE support. source
- Support
- Support includes community discussion, a public issue tracker for reproducible bugs, and email for account, purchase, or private support. source
Checked against the maker's pages on 30 Sept 2026.