Regex Tester, Debugger & Visualizer

Local only

Test, explain, visualize, secure, and benchmark regular expressions locally.

/

Regular expression

Enter a pattern, or paste a JavaScript regex literal with flags
0 pattern characters0 capture groupsLn 1, Col 1
Valid ECMAScript expression
Enter a pattern and test text to begin
Worker-isolated, local only

Test text · 0 lines

Type, paste, drop, or import text to test…
Ln 1, Col 10 characters0 bytes · UTF-8 · wrap on

Matches

0

Capture groups

0

Execution

0.00 ms

Test characters

0

Engine

Native ECMAScript

ReDoS risk

How to use it

  1. 01

    Enter a pattern and text

    Use raw ECMAScript syntax or paste a JavaScript literal, then add text manually or import a local document.

  2. 02

    Inspect every behavior

    Navigate matches and groups, preview replacements, run tests, inspect the AST, and generate a syntax diagram.

  3. 03

    Check safety and portability

    Run bounded ReDoS analysis, compare Native and RE2 behavior, benchmark safely, and generate code for eight languages.

Frequently asked questions

Are my patterns, test text, or files uploaded?

No. Evaluation, imports, visualization, tests, and analysis all run locally in your browser.

Which regex engines are supported?

Native mode follows your browser's ECMAScript RegExp implementation. RE2 Safe mode uses a linear-time engine and intentionally rejects unsupported backtracking features.

Why can a dangerous regex time out?

Some native expressions can trigger catastrophic backtracking. Nobuf runs untrusted evaluation in a disposable Worker and terminates it when the time limit is reached.

What is the difference between Native and RE2?

Native supports the full JavaScript feature set, including lookaround and backreferences. RE2 prioritizes predictable linear-time execution and omits features that require backtracking.

Keep working with other private browser utilities.

All tools

All processing happens locally in your browser.

© 2026 Nobuf

Nobuf

Fast, private utilities powered by your browser.