Developer Tools
All tools

Regex Tester

Test JavaScript regular expressions live with highlighted matches, groups and replace preview.

Loading tool…

Private by design: your files are processed inside your browser and are never uploaded to our server.

About Regex Tester

Write and debug JavaScript regular expressions with live highlighting, capture groups and a replace preview.

How to use Regex Tester

  1. Step 1Enter your values or text in the tool above.
  2. Step 2The result updates instantly as you type.
  3. Step 3Copy or download the result.

Questions & answers

Which regex flavour is used?

JavaScript (ECMAScript), the same engine as browsers and Node.js.

Is Regex Tester free?

Yes. Every tool on this site is free to use, with no signup, no watermark and no daily limit.

Does it work on mobile?

Yes. It works in Chrome, Safari, Edge and Firefox on Android, iPhone, Windows and Mac.