Regex101

Editor's Pick Freemium

by —

Not yet rated
Platform
Web / API
Pricing
Freemium
Account required
Optional
Ads
Light
Last verified
20 hours ago
Developer
—
Official URL

Overview

Regex101 is an online tester and debugger for regular expressions. You type a pattern and some test text, and it highlights matches as you go and lists every capture group and named group.

It supports many regex flavours, including PCRE2 (PHP), JavaScript, Python, Go, Java, .NET, Rust and POSIX, which makes it handy for checking that a pattern behaves the same way in the language you are actually using. You can test substitutions, write unit tests for a pattern, save and share it by link, or browse a community library.

The core editor is free and works without an account. A Pro subscription adds an AI assistant, token-by-token explanations, the full debugger, regex diagrams, benchmarking, flavour conversion and an ad-free workspace; the free site carries a small sponsor slot.

Screenshots

Features

  • Live match highlighting with capture group and named group details
  • Supports PCRE2, JavaScript, Python, Go, Java, .NET, Rust and POSIX flavours
  • Substitution mode for testing replacements
  • Unit tests to check a pattern against expected results
  • Save and share patterns by link, or publish them to the community library
  • Quick reference of common tokens and a regex quiz
  • Workspace API with OpenAPI docs for reading and creating saved patterns
  • Pro adds an AI assistant, full debugger, railroad diagrams, benchmarking and flavour conversion

Privacy

See the official privacy policy. Patterns saved as public workspaces can be read by anyone with the link; private workspaces require signing in.

Pros & Cons

Pros

  • Test the exact regex flavour your language uses
  • Useful free editor with no sign-up
  • Shareable links make it easy to ask for help with a pattern
  • Documented API for saving and reading patterns from code

Cons

  • Several advanced tools, including explanations and the full debugger, are Pro features
  • The free site shows a sponsor ad
  • Free use is limited to two test strings and single-file loading

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools