Unformat.online
More tools
Clean Text
Strip smart quotes, zero-width characters, non-breaking spaces, and invisible Unicode from any pasted text.
Markdown Viewer
Live split-view editor and renderer — edit on the left, preview on the right.
Format JSON
Prettify or minify JSON. Auto-fixes single quotes, trailing commas, and unquoted keys.
Format SQL
Format SQL for MySQL, PostgreSQL, BigQuery, T-SQL, and more — uppercase keywords, proper indentation.
Format YAML
Format and validate YAML. Catches indentation errors in Kubernetes, Docker Compose, and GitHub Actions files.
Format XML
Indent and pretty-print XML. Works with SOAP, RSS, Maven POM, Android manifests, and SVG.
FileSQL
Drop a CSV or JSON file and query it with SQL instantly — no upload, no server.
Text Diff Checker
Compare two texts, JSON payloads, or config files and see exactly what changed, line by line.
Log File Viewer
Open multi-gigabyte log files instantly — chunked indexing and virtual scrolling handle 10GB+ files without freezing your tab.
JWT Debugger
Decode JWTs instantly — view all claims, check expiry, and see the algorithm. Token never leaves your browser.
Shredder
Remove EXIF, GPS, and author metadata from images and PDFs. Redact secrets from text and log files.
SSL Certificate Checker
Check any domain's SSL/TLS certificate — expiry, issuer, and Subject Alternative Names.
Base64
Encode text or files to Base64, or decode Base64 strings and preview images inline.
UUID Generator
Bulk-generate cryptographically random v4 UUIDs using crypto.randomUUID(). Copy one or all at once.
URL Encode / Decode
Encode URLs or decode percent-encoded strings like %20, %3D, %26 — instantly.
CronScope
Paste a cron schedule and see every run on a 12-month calendar. Never misread a cron expression again.
Regex Tester
Test regex patterns against sample text with live-highlighted matches, or pick from a library of ready-made patterns — no regex knowledge required.

Regex Tester

Test a regex pattern against sample text with live match highlighting — or pick a ready-made pattern from the library below. No regex knowledge required. 100% client-side.

//i
0 chars
Matches
Matches will be highlighted here…

Common patterns

Log & Network

Identifiers

Text & Format

Sensitive Data

Full cheat sheet →

Live Match Highlighting

Type or paste a pattern and sample text — matches, capture groups, and errors update instantly as you type.

Ready-Made Pattern Library

IP addresses, timestamps, log levels, emails, URLs, UUIDs, and more — click to insert, no regex knowledge required.

100% Client-Side

Your pattern and test text are never uploaded anywhere — everything runs locally in your browser.

How to Test a Regex Pattern

  1. Don't know regex? Scroll to the pattern library and click a preset like “IPv4 Address” or “Email Address” — the pattern, flags, and a demo test string fill in automatically.
  2. Know what you're looking for? Type or paste your own pattern into the field at the top, then paste your own sample text into the left panel.
  3. Read the results. Matches highlight instantly on the right, with a full list below showing each match and any capture groups — click Copy on any one.

What Is a Regular Expression?

A regular expression (regex) is a small pattern language for describing the shape of text — “a run of digits,” “anything between two quotes,” “a word followed by an @ and a domain” — rather than an exact string. That makes it useful for searching, validating, and extracting data from things like log files, form input, and CSV columns without writing custom parsing code for each case. The tradeoff is that regex syntax is dense and easy to get subtly wrong, which is exactly what this tool's live highlighting and ready-made pattern library are for — see the results immediately instead of guessing.

Frequently Asked Questions

What is a regex tester?

A regex tester lets you try out a regular expression pattern against sample text and see exactly what it matches, without writing code — useful for building or debugging a pattern before using it in a script, a log search, or a form validator.

Do I need to know regex to use this?

No. The pattern library covers common needs — IP addresses, timestamps, log levels, emails, URLs, UUIDs, and more — with a hand-written plain-English explanation for each. Click one to insert it and see it work immediately.

Is my test data uploaded anywhere?

No. Your pattern and test text are processed entirely in your browser using JavaScript's built-in regex engine — nothing is ever sent to a server.

What do the Multiline and Dot matches newline flags do?

Multiline makes ^ and $ match the start and end of each line instead of only the start and end of the whole text — useful when testing against multi-line log dumps. Dot matches newline makes the . wildcard also match line breaks, which it doesn't by default.