Regex Tester

Test a JavaScript regular expression against sample text, see every match highlighted, and inspect capture groups.

Loading the tool

How to use Regex Tester

  1. Enter your pattern and flags.
  2. Paste the text to test.
  3. Review the highlighted matches and groups.

Privacy and limits

This tool runs in your browser. What you type is processed on your device and is not sent to our server.

Questions

Is Regex Tester free to use?
Yes. You do not need an account and there is nothing to pay.
Does it work offline?
Once the page has loaded, the tool does its work on your device. Some browsers need a connection only to load the page itself.