File tools that never upload your files
Regex tester
Write a regular expression and see at once what it matches in your test text: each match highlighted, with its position and captured groups. Testing runs in your browser, so your text never leaves your device.
5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.
How it works
- 1
Write the pattern
Type the regular expression and its flags, such as g, i or m.
- 2
Paste test text
Up to 100,000 characters.
- 3
Read the matches
Matches are highlighted and listed with position and groups.
Why work without uploading
JavaScript syntax
The same engine your browser and Node.js use, including named groups and lookbehind.
Never freezes
Tests run in the background and stop after one second, so a runaway pattern cannot hang the page.
Private
Logs and data you test against stay on your device.
Good to know
The flags d, g, i, m, s, u and y are supported. Each match is listed with its index in the text and the content of every capture group, which makes it easy to check what a replacement with $1 or a named group would produce.
Some patterns take exponential time on certain inputs (catastrophic backtracking). The tester runs each test off the main page and gives up after a second, telling you the pattern is too slow — a useful warning before such a pattern reaches production.
Patterns up to 1000 characters are accepted. Other regex flavours (PCRE, Python, .NET) differ in details; test there too if your code uses them.
Questions and answers
Which regex flavour is used?
JavaScript (ECMAScript), as in browsers and Node.js.
What if my pattern is very slow?
The test stops after one second and says so.
Is my text uploaded?
No. It is tested in your browser.
Related tools
- Compare two textsSee exactly what changed between two versions of a paragraph, a contract clause, a configuration or a piece of code. Paste both and the differences are highlighted. The comparison runs in your browser, so your texts never leave your device.
- JSON formatter and validatorMake an unreadable one-line API response readable, shrink a configuration file, or find the missing comma that breaks your JSON. The JSON is processed in your browser, so it never leaves your device — tokens and keys included.
- Word counterCheck an essay against its word limit, a meta description against its length, or a post against a character cap. Paste the text and every count appears at once. The text is counted in your browser and never leaves your device.
- Base64 and URL encoder and decoderDecode a Base64 string from an e-mail header or an API, encode credentials for a test, or fix a percent-encoded URL. Choose the encoding and the direction; the text is processed in your browser and never leaves your device.