
Regulex
A JavaScript regular-expression visualization project for diagrams of supported pattern syntax.

About Regulex
Regulex is a JavaScript project that parses regular expressions and draws them as diagrams. It parses a pattern into an abstract syntax tree and visualizes the supported pattern syntax. The project states that it runs in pure JavaScript without a backend. Its README also describes the graph being embedded on other sites through an HTML iframe element.
The parser reports detailed error messages, and in most cases it points to the exact position of a syntax error. Octal escapes are not supported. The project treats decimal escapes as back references, and it throws an error for invalid back references or for decimal escapes inside a character set. The README describes the project as under reconstruction. The project is open source under the MIT license and is listed as free.
Key features
- Parses JavaScript regular expressions into an abstract syntax tree
- Visualizes supported regular expression syntax as diagrams
- Written in pure JavaScript with no backend required
- Graph can be embedded on other sites through an HTML iframe
- Detailed syntax error messages, often pointing to the error position
- Installable with npm for Node.js; browser bundle can be built locally
- Runs in pure JavaScript with no backend required
- Open source under the MIT license
- Listed as free to use
- The README states that the project is under reconstruction
- Octal escapes are not supported; decimal escapes are treated as back references
- Invalid back references and decimal escapes inside character sets cause an error
Regulex at a glance
- Website
- github.com/CJex/regulex
- Category
- Development › Developer Tools
- Type
- Online tool
- Pricing
- Free
- Open source
- Yes
- Last checked
- Oct 9, 2026 · Online when checked
- Listed
- Oct 9, 2026
Guides for Developer Tools
Regulex alternatives
Tools and sites you could use instead, ranked by how closely they match.
A browser-based regular-expression tester for entering patterns and examining matches.
A Ruby-focused online regular-expression editor for checking patterns against sample text.
Regular expressions can be tested and shared in iHateRegex, a playground with diagrams and notes.
Interactive scientific visualization in Python is supported by VisPy, a library that uses OpenGL for rendering.
Handle tasks such as JSON formatting, text comparison, and regular expression testing with DevToys, a desktop toolkit.
regex101 tests and debugs regular expressions with live matches, explanations, and support for several regex engines.
Featured in
8 sites8 Best Regex Testing Tools for Matching and Understanding Patterns
I'd choose regex101 for most regex testing, RegExr for learning JavaScript patterns, and CyberChef when matching is one…
Popular in Developer Tools
Well-known listings from the same topic.
Regulex FAQ
Can the regex diagram be embedded on another website?
How is Regulex installed for Node.js?
How does Regulex handle octal escapes?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.















