AI Regex Toolkit
Generate from English, explain in English, test live, diagnose ReDoS, export to any language.
Gemini 3.1 Flash-LiteFree · no signup
About this tool
The AI Regex Toolkit is the first product in the tooled.dev portfolio. It combines four things that, until now, lived in separate apps:
- AI generation: describe the pattern in plain English, get a working regex with test cases and explanation in one round-trip.
- AI explanation: paste any regex and get a token-by-token breakdown, including the tricky bits like greedy quantifiers and lookarounds.
- Live testing: every keystroke is matched against your input with color-coded captures and a hard timeout that defeats catastrophic backtracking.
- ReDoS diagnosis: we statically scan for the most common denial-of-service shapes and tell you how to fix them — the same class of bug that took Cloudflare down for 27 minutes in 2019.
Why we built it
The two leaders (regex101 and regexr) are unmaintained or under-resourced, mobile UX on every existing tool is poor, and none combine AI generation with strong testing in a single page. We aim to be the calmest, fastest, most accurate regex environment on the web — with a CLI and MCP server right behind it.