Regex Tester
Write and test JavaScript regular expressions with live match highlighting, capture groups and flags.
Loading Regex Testerโฆ
How to use Regex Tester
- Add your input. Paste or type your content into the input area.
- Pick any options. Choose the settings you need for Regex Tester, or keep the defaults.
- Copy the result. Copy or download the output. Everything happens in your browser.
Why use Regex Tester?
- Private by design: runs in your browser, nothing is uploaded
- Free with no sign-up and no watermark
- Fast, with no upload or download wait
- Works on phone, tablet and desktop
Common uses for Regex Tester
- Debug a validation pattern.
- Extract data from logs.
- Learn how regex flags behave.
Private by design
Regex Tester runs entirely in your browser. Whatever you type or paste is processed on your device and is never sent to our servers. Read our Privacy Policy for details.
Frequently asked questions
Which regex flavor does it use?
It uses your browser's JavaScript RegExp engine, so results match what you get in JavaScript and TypeScript code.
Is Regex Tester free to use?
Yes. Regex Tester is free, needs no account and never adds a watermark to your result.
Is my input sent to a server when I use Regex Tester?
No. Regex Tester runs in your browser and nothing you enter is sent to our servers.
Does Regex Tester work on my phone?
Yes. Regex Tester is fully responsive and works in the browser on Android, iPhone, tablets and desktop computers.
Related tools
Find and ReplaceFind and replace text, with optional case-sensitive and whole-word matching.JSON FormatterFormat, validate and minify JSON.Text Diff CheckerCompare two blocks of text and see a line-by-line diff.Base64 Encode/DecodeEncode text to Base64 or decode Base64 back to text.URL Encode/DecodeEncode or decode URL-safe text (percent-encoding).JWT DecoderDecode a JWT's header and payload. Does not verify the signature.
Explore more in Developer Tools or browse all tools.