Runs in your browserNothing uploadedNo account

Test a regular expression live

Type a JavaScript pattern, pick its flags and see every match light up in your text, with each group and named group listed and a replace preview. A mistake in the pattern is said in plain words, and a pattern that runs too long is stopped.

Runs in your browser — nothing you type or open is uploaded

Regex Tester

Type a JavaScript pattern, pick its flags and see every match light up in your text, with each group and named group listed and a replace preview. A mistake in the pattern is said in plain words, and a pattern that runs too long is stopped. It all runs in your browser: nothing you type, paste or open is uploaded or kept on a server, and no account is needed. Only the Markdown Editor keeps your draft, in this browser alone.

How it works

Three steps, all in this tab.

  1. 01

    Paste, type or open a file

    Your pattern, query, link, Markdown, YAML or JSON goes in the box, or drop a file on it. It is read here, in your browser.

  2. 02

    Set it up

    Pick the flags, the dialect, the indent or the style — the result follows every change as you type.

  3. 03

    Copy or download

    Copy the result with one click, or download it as a file: SQL, JSON, YAML, HTML, Markdown or, from the editor, a PDF.

Runs
In your browser
Uploads
None
Account
Not needed
Files
Read in the tab

Before you start

What happens to what you type.

Nothing leaves this page: these tools are code running in your browser.

Nothing leaves this tab
What you type and the files you open are read by code running in this page. There is no upload, so there is nothing for us to keep, read or delete.
Only your draft is kept
The Markdown Editor keeps your draft in this browser so a reload finds it again; nobody else can see it, and New removes it. The other tools keep nothing: copy what you need before you close the tab.
HTML that cannot run
The Markdown tools clean their HTML twice — links only to web, mail and phone addresses, no scripts, styles or frames — and show the preview in a frame where no script runs.

Looking for something else? All 1040 conversions have their own page.