Regex tester
Test JavaScript regular expressions with matches and capture groups. Time-limited for safety.
AvailableIn your browserInput: Text
How to use: Regex tester
- Type the pattern and flags (g, i, m, s, u, y, d).
- Paste the test text.
- Review the matches and captured groups.
What it accepts and what you get
- Input
- A JavaScript pattern and text up to 200,000 characters.
- Output
- A list of matches with positions and groups.
- Where your data is processed
- Your data is processed in your browser and is not sent to our servers.
Limitations and notes
- It uses JavaScript regular-expression syntax.
- It runs in a separate worker with a 1.5 s limit so a catastrophic pattern cannot freeze the page.
Related tools
- Available
JSON formatter & validator
Validate, pretty-print and minify JSON and find the exact error. Runs in your browser.
AvailableIn your browser - Available
URL encoder & decoder
Percent-encode and decode URLs and query strings, and inspect their parts.
AvailableIn your browser - Available
Word counter
Count words, characters, sentences and paragraphs instantly.
AvailableIn your browser - Available
CSV ↔ JSON converter
Convert CSV to JSON and JSON to CSV with a configurable delimiter. Runs in your browser.
AvailableIn your browser

