Regex Tester

Test JavaScript regular expressions against sample text with live match highlighting, match positions and capture groups. Runs in your browser.

Free No sign-up Runs in your browser
Input Test text
Matches

How to use the Regex Tester

  1. Type your regular expression and flags.
  2. Paste the text you want to test.
  3. Matches are highlighted live, with positions and capture groups listed below.

Private by design

Developer data is often sensitive: API responses, tokens, customer records, internal configs. This Regex Tester processes everything locally in your browser tab. There is no server round-trip, no logging and no storage of your input. Prefer a native app? Read about Regex Tester in DevT Pro.

Frequently asked questions

Is this Regex Tester free?

Yes. This Regex Tester is completely free to use with no sign-up, no limits and no ads inside the tool.

Is my data uploaded to a server?

No. The Regex Tester runs entirely in your browser using JavaScript. Nothing you paste is sent to DevT Pro or any other server.

Can I use the Regex Tester offline?

Yes. Regex Tester is also built into DevT Pro, a native app for Mac, Windows, iPad and Linux with 120+ developer tools that work fully offline. It is a $5.99 one-time purchase with no subscription.

Related free tools

Browse all 126 free tools

DevT Pro

Regex Tester, offline, plus 120+ developer tools.

Converters, formatters, encoders, validators, code generators and more in one native app. No internet, no account, no uploads.

$5.99 one-time · All 120+ tools · No subscription