Free Regex Tester — live match highlighting and capture groups

Test JavaScript regex patterns with live match highlighting as you type. See capture groups, toggle flags, get match count. No signup.

Launch the tool
freeregextester.app
Open Regex Tester →

Features

How it works

  1. Open freeregextester.app
  2. Type a regex pattern in the input
  3. Paste test text in the text area
  4. Watch matches highlight live, see capture groups

Common use cases

How it compares

RegExr is the gold standard with community-shared patterns and a massive cheatsheet. Regex101 supports multiple flavors (Python, PHP, Go, PCRE). Freeregextester is simpler — ad-free JavaScript regex testing on one page.

Privacy

Patterns and test text stay in your browser. Safe to test against sensitive data.

Frequently asked questions

Which regex flavor does Freeregextester use?

JavaScript regex (ECMAScript). Same as what runs in browsers and Node.js.

Can I test Python or PCRE regex?

Not directly. For Python or PCRE, use Regex101 which supports multiple flavors.

Does it support named capture groups?

Yes. ECMAScript named capture groups (?<name>...) work.

Can I test substitution?

Yes. Enter a replacement pattern and see the transformed output live.

Is there a regex cheatsheet?

A basic reference is included inline. For deeper reference, consult MDN's regex documentation.

Is my test data sent anywhere?

No. Testing happens entirely in your browser.