Regex Tester

Test regular expressions with live highlighting.

Live matching
Highlighted
Groups

How Regex Tester works

Regex Tester runs entirely as JavaScript on this page. What you type stays in the page and is not sent anywhere; reloading clears it.

Limits

Check it yourself

Open the Network tab of your browser's developer tools (F12) while you use the tool: no request carries your input. The page's Content-Security-Policy only allows our anonymous error counter (what it receives). Step-by-step: how to check that a tool doesn't upload your file.

Use it from code

The same job is available as a REST endpoint, /api/regex-test, and through the MCP server. Unlike this page, the API receives your input on our server; it is processed in memory and not stored. Anonymous calls are free within fair-use limits.

curl -X POST https://toolsthatdontupload.com/api/regex-test \
  -H "Content-Type: application/json" \
  -d '{"pattern":"\\d+","text":"abc123def456","flags":"g"}'

OpenAPI spec · MCP setup

Related tools

Text to Binary · Text to HTML · Unix Timestamp Converter · URL Encoder/Decoder · Base64 Encoder · All tools