Break down any regex into plain English, token by token.
Free online regex explainer and visualizer. Paste a regular expression and instantly see a color-coded, token-by-token breakdown of every part — character classes, quantifiers, capturing groups, lookaheads, lookbehinds, backreferences, Unicode properties, and anchors. Toggle flags to see how they change behaviour. Load preset patterns (email, URL, IPv4, date, password) to learn by example. Copy the full explanation as Markdown. Runs entirely in your browser — no data is sent to a server.
Keywords: regex explainer, explain regex, regex to english, regex breakdown, understand regex, regex visualizer, what does this regex do, regex parser, regex meaning, regex translator, regex description, regex documentation, regular expression explainer, regex cheat sheet, decode regex, regex reader
Tags: regex, regexp, explain, visualize, understand, breakdown, learn
Paste or type a regex pattern into the input field (between the `/` delimiters).
Toggle regex flags (g, i, m, s, u, v, d, y) using the inline flag buttons.
View the auto-generated token-by-token breakdown in the right panel.
Hover over tokens to see them highlighted in the pattern; expand/collapse nested groups.
Copy the explanation as Markdown, or load a preset pattern (email, URL, IPv4, etc.).
Recursive-descent parser — builds a nested AST covering character classes, quantifiers, groups, lookaheads/lookbehinds, alternations, backreferences, Unicode properties, and anchors.
Token-by-token plain English breakdown — every part of the regex explained in readable language.
Color-coded pattern visualization — each token type gets a distinct color for instant visual parsing.
Hover sync — hover a token row to highlight it in the pattern, or hover the pattern to highlight the row.
Nested group expand/collapse — drill into capturing groups, non-capturing groups, named groups, and character classes.
Complexity scoring (1–10) with badges: Simple, Moderate, Complex, Very Complex.
Summary generation — a one-line plain-English description of the entire pattern.
8 flag toggles with descriptions — g, i, m, s, u, v, d, y.
8 preset patterns across 5 categories (Common, Network, Dates, Security, Web).
Markdown export — copy the full explanation as formatted Markdown.
Error suggestions for common regex mistakes (unmatched parens, invalid quantifiers, etc.).
Client-side only — no regex patterns ever leave the browser.
Break down any regex into plain English, token by token.
Enter a regex above. The token-by-token explanation will appear in the right panel as you type.
. *metacharacters[abc]character class(abc)group(?=…)lookahead\d \w \sshortcuts^ $anchorsEnter a regex pattern to begin
Type or paste any regular expression in the left panel. Each token will be explained in plain English with colour-coded highlights.
Try a preset from the toolbar below ↓