trydevtools
HomeCategoriesAbout
⌘ K
json
text
markdown
encoding
converters
web
color
time
images
regex
formatters
utilities
trydevtools

750+ developer utilities. Everything runs in your browser — no accounts, no uploads, no tracking.

All tools·About·FAQ·Privacy·Terms·Contact
JSON
  • JSON Formatter
  • JSON Validator
  • JSON Minifier
  • + 20 more →
Text
  • Word Counter
  • Character Counter
  • Case Converter
  • + 51 more →
Markdown
  • Markdown Editor & Preview
  • Markdown to HTML
  • HTML to Markdown
  • + 91 more →
Encoding
  • Base64 Encoder
  • Base64 Decoder
  • Image to Base64
  • + 81 more →
Converters
  • XML to JSON
  • TOML to JSON
  • SQL Insert to JSON
  • + 56 more →
Formatters
  • HTML Formatter
  • CSS Formatter
  • JavaScript Formatter
  • + 49 more →
Web
  • HTTP Status Codes
  • MIME Type Lookup
  • User-Agent Parser
  • + 46 more →
Color
  • Color Picker
  • Color Converter
  • Contrast Checker
  • + 40 more →
Time & Date
  • Unix Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • + 36 more →
Images
  • PNG to JPG
  • JPG to PNG
  • PNG to WebP
  • + 78 more →
Regex
  • Regex Tester
  • Regex Debugger
  • Regex Explainer
  • + 79 more →
Utilities
  • Password Generator
  • Random Number Generator
  • Random Picker
  • + 116 more →
© 2026 TryDevTools. All rights reserved.Crafted for the open web
trydevtools
HomeCategoriesAbout
⌘ K
json
text
markdown
encoding
converters
web
color
time
images
regex
formatters
utilities
trydevtools

750+ developer utilities. Everything runs in your browser — no accounts, no uploads, no tracking.

All tools·About·FAQ·Privacy·Terms·Contact
JSON
  • JSON Formatter
  • JSON Validator
  • JSON Minifier
  • + 20 more →
Text
  • Word Counter
  • Character Counter
  • Case Converter
  • + 51 more →
Markdown
  • Markdown Editor & Preview
  • Markdown to HTML
  • HTML to Markdown
  • + 91 more →
Encoding
  • Base64 Encoder
  • Base64 Decoder
  • Image to Base64
  • + 81 more →
Converters
  • XML to JSON
  • TOML to JSON
  • SQL Insert to JSON
  • + 56 more →
Formatters
  • HTML Formatter
  • CSS Formatter
  • JavaScript Formatter
  • + 49 more →
Web
  • HTTP Status Codes
  • MIME Type Lookup
  • User-Agent Parser
  • + 46 more →
Color
  • Color Picker
  • Color Converter
  • Contrast Checker
  • + 40 more →
Time & Date
  • Unix Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • + 36 more →
Images
  • PNG to JPG
  • JPG to PNG
  • PNG to WebP
  • + 78 more →
Regex
  • Regex Tester
  • Regex Debugger
  • Regex Explainer
  • + 79 more →
Utilities
  • Password Generator
  • Random Number Generator
  • Random Picker
  • + 116 more →
© 2026 TryDevTools. All rights reserved.Crafted for the open web
trydevtools
HomeCategoriesAbout
⌘ K
json
text
markdown
encoding
converters
web
color
time
images
regex
formatters
utilities
/./
home/categories/regex
/./
/regex

Regex Tools

Test, build, explain, convert and benchmark regular expressions.

82 tools7 popularruns locally
Regex Tools82 tools indexed
/
Sort
View
Regex Tester
popular

Live regex tester with match highlighting and group capture.

regex-testeropen
Regex Debugger

Step through regex exec() calls with timings and group captures.

regex-debuggeropen
Regex Explainer
popular

Token-by-token plain-English explanation of any regex pattern.

regex-explaineropen
Regex Visualizer

Color-coded nested tree visualization of a regex pattern.

regex-visualizeropen
Regex Tree Viewer

Plain-text ASCII tree view of a regex pattern, ready to copy.

regex-tree-vieweropen
Regex Flag Tester

Compare the same regex pattern across every flag side-by-side.

regex-flag-testeropen
Regex Match Counter

Count matches in text or an uploaded file with frequency stats.

regex-match-counteropen
Regex Performance Benchmark

Benchmark two regex patterns side-by-side with iteration sweeps.

regex-performance-benchmarkopen
ReDoS Detector

Spot regex patterns vulnerable to catastrophic backtracking.

redos-detectoropen
Regex Anchor Visualizer

See where ^, $ and word boundaries land in your sample text.

regex-anchor-visualizeropen
Regex Builder
popular

Visually build regex patterns from named building blocks.

regex-builderopen
Regex from Samples

Infer a regex pattern from example strings that should all match.

regex-from-samplesopen
Regex Escape

Escape literal text so special regex characters lose their meaning.

regex-escapeopen
Regex Unescape

Strip backslash-escapes from a regex pattern to reveal the literal text.

regex-unescapeopen
Regex Group Renamer

Convert numbered capturing groups into named groups.

regex-group-renameropen
Regex Simplifier

Apply safe rewrites to shrink a regex without changing what it matches.

regex-simplifieropen
Regex Diff

Compare two regex patterns structurally and by behaviour on sample text.

regex-diffopen
Inverse Regex Generator

Generate random strings that match a given regex pattern.

inverse-regex-generatoropen
Regex Replace
popular

Apply a regex with replacement template, with $1, $2, $<name> support.

regex-replaceopen
Bulk Regex Replace

Apply many regex replacement rules in sequence to the same text.

bulk-regex-replaceopen
JS ↔ PCRE Regex Converter

Translate regex syntax between JavaScript and PCRE.

js-pcre-converteropen
JS ↔ Python Regex Converter

Translate regex syntax between JavaScript and Python re.

js-python-converteropen
JS ↔ Java Regex Converter

Translate regex syntax between JavaScript and java.util.regex.Pattern.

js-java-converteropen
JS ↔ .NET Regex Converter

Translate regex syntax between JavaScript and .NET.

js-dotnet-converteropen
JS ↔ Go Regex Converter

Translate regex syntax between JavaScript and Go's RE2 regexp package.

js-go-converteropen
JS ↔ Ruby Regex Converter

Translate regex syntax between JavaScript and Ruby's Onigmo engine.

js-ruby-converteropen
JS ↔ Rust Regex Converter

Translate regex syntax between JavaScript and Rust's regex crate.

js-rust-converteropen
JS ↔ Perl Regex Converter

Translate regex syntax between JavaScript and Perl.

js-perl-converteropen
POSIX ↔ PCRE Regex Converter

Translate regex syntax between POSIX BRE/ERE and PCRE.

posix-pcre-converteropen
Regex Flavour Detector

See which engines (JS, PCRE, Python, Java, .NET, Go, Ruby, Rust) accept a pattern.

regex-flavour-detectoropen
Regex to JavaScript

Generate JavaScript code snippets from a regex pattern.

regex-to-javascriptopen
Regex to Python

Generate Python re module code from a regex pattern.

regex-to-pythonopen
Regex to PHP

Generate PHP PCRE code (preg_match, preg_replace, preg_split) from a regex.

regex-to-phpopen
Regex to Java

Generate Java Pattern/Matcher code from a regex.

regex-to-javaopen
Regex to Go

Generate Go regexp code (RE2) from a regex pattern.

regex-to-goopen
Regex to Ruby

Generate Ruby regex code (.match, .scan, .gsub, .split) from a pattern.

regex-to-rubyopen
Regex to C#

Generate C# System.Text.RegularExpressions code from a regex.

regex-to-csharpopen
Regex to Rust

Generate Rust code with the regex crate from a pattern.

regex-to-rustopen
Regex to Perl

Generate Perl regex code (qr//, =~, s///) from a pattern.

regex-to-perlopen
Regex to Bash / grep / sed

Generate Bash, grep, sed, and awk one-liners from a regex pattern.

regex-to-bashopen
Regex to PowerShell

Generate PowerShell regex code (-match, -replace, [regex]::Matches) from a pattern.

regex-to-powershellopen
Regex to SQL

Generate PostgreSQL, MySQL, and SQLite regex queries from a pattern.

regex-to-sqlopen
Regex Split

Split text using a regex as the delimiter.

regex-splitopen
Regex Extract Groups

Extract capture groups from every match as JSON.

regex-extract-groupsopen
Regex Extract to CSV

Turn regex capture groups into a downloadable CSV.

regex-extract-to-csvopen
Regex Find All

Find every match and tally how often each unique value appears.

regex-find-allopen
Regex Remove Matches

Delete every regex match from the text.

regex-remove-matchesopen
Regex Keep Matches

Discard everything except what your regex matches.

regex-keep-matchesopen
Regex Cheatsheet
popular

Searchable reference of regex tokens, anchors, quantifiers, and groups.

regex-cheatsheetopen
Regex Flag Reference

Every JS regex flag explained with a live before/after example.

regex-flag-referenceopen
Regex Character Classes

Reference for \d \w \s, sets, ranges, and Unicode property classes.

regex-character-classesopen
Regex Flavour Matrix

Feature × engine matrix comparing JS, PCRE, Python, Java, .NET, Go, Ruby, Rust.

regex-flavour-matrixopen
Email Validator
popular

Validate email addresses against a basic or RFC-style regex.

email-validatoropen
URL Pattern Validator

Validate URLs against a strict http(s) or any-scheme regex.

url-pattern-validatoropen
IPv4 Validator

Validate IPv4 addresses and break them into octets.

ipv4-validatoropen
IPv6 Validator

Validate IPv6 addresses including compressed :: forms.

ipv6-validatoropen
MAC Address Validator

Validate EUI-48 MAC addresses with colons or hyphens.

mac-address-validatoropen
UUID Validator

Validate UUIDs (v1–v5) and detect the version.

uuid-validatoropen
Phone Number Validator

Validate phone numbers against E.164 or US formats.

phone-validatoropen
Credit Card Validator

Detect card brand and verify the Luhn checksum.

credit-card-validatoropen
Hex Color Validator

Validate hex colors and preview RGB(A) channels with a swatch.

hex-color-validatoropen
ISBN Validator

Validate ISBN-10 or ISBN-13 with format and check-digit verification.

isbn-validatoropen
Email Regex Builder

Build a custom email-validation regex from a checkbox form.

email-regex-builderopen
URL Regex Builder

Build a URL-matching regex by toggling schemes, hosts, and required parts.

url-regex-builderopen
IPv4 Regex Builder

Build an IPv4-matching regex with optional CIDR and strict-octet checks.

ipv4-regex-builderopen
Date Regex Builder

Build a regex for common date formats with strict month/day ranges.

date-regex-builderopen
Time Regex Builder

Build a regex for 12- or 24-hour time with optional seconds and milliseconds.

time-regex-builderopen
Credit Card Regex Builder

Generate a credit-card regex from selected brand checkboxes.

credit-card-regex-builderopen
Password Regex Builder

Build a password-policy regex using lookaheads for required character classes.

password-regex-builderopen
Slug Regex Builder

Build a URL-slug regex with separator, length, and start-character options.

slug-regex-builderopen
Hex Color Regex Builder

Build a hex color regex supporting any combination of 3/4/6/8-digit forms.

hex-color-regex-builderopen
Username Regex Builder

Build a username regex with length, allowed characters, and separator rules.

username-regex-builderopen
Glob to Regex

Convert shell glob patterns to regex.

glob-to-regexopen
Regex to Glob

Best-effort conversion of a regex into a shell glob.

regex-to-globopen
Gitignore to Regex

Convert .gitignore rules into regexes and test paths.

gitignore-to-regexopen
.htaccess Rewrite Tester

Test Apache RewriteRule patterns against a URL.

htaccess-rewrite-testeropen
Nginx location Tester

Test nginx location blocks against request URLs.

nginx-location-testeropen
robots.txt Tester

Check whether a URL is crawlable by a given user-agent.

robots-txt-testeropen
Log Line Parser

Parse log lines with a custom named-group regex.

log-line-parseropen
Nginx Log Parser

Parse nginx access logs in combined format.

nginx-log-parseropen
Apache Log Parser

Parse Apache access logs (CLF and Combined).

apache-log-parseropen
Regex Library
popular

Browse a copyable library of common regex patterns.

regex-libraryopen
82 shown·82 total
indexed locally · 0ms network
FAQ

About Regex tools

Quick answers to the questions developers ask most.

JavaScript regex (ECMAScript). Most features carry over to Python, Go, and Java — but check the cheatsheet for engine-specific syntax.
No. Everything runs in your browser. Patterns and test strings never leave the page.
Yes. Every regex tool is completely free — no account, no subscription, no upsells.
Never. Every tool processes data entirely in your browser using JavaScript. Open your browser's network tab while using any tool — you'll see zero outbound requests.
Explore more

Other categories

Switch context — 11 more toolsets ready to go.

{ }
JSON
23 tools
Aa
Text
54 tools
M↓
Markdown
94 tools
01
Encoding
84 tools
⇄
Converters
59 tools
{ }
Formatters
52 tools
</>
Web
49 tools
◐
Color
43 tools
⏱
Time & Date
39 tools
▣
Images
81 tools
⌘
Utilities
119 tools
trydevtools

750+ developer utilities. Everything runs in your browser — no accounts, no uploads, no tracking.

All tools·About·FAQ·Privacy·Terms·Contact
JSON
  • JSON Formatter
  • JSON Validator
  • JSON Minifier
  • + 20 more →
Text
  • Word Counter
  • Character Counter
  • Case Converter
  • + 51 more →
Markdown
  • Markdown Editor & Preview
  • Markdown to HTML
  • HTML to Markdown
  • + 91 more →
Encoding
  • Base64 Encoder
  • Base64 Decoder
  • Image to Base64
  • + 81 more →
Converters
  • XML to JSON
  • TOML to JSON
  • SQL Insert to JSON
  • + 56 more →
Formatters
  • HTML Formatter
  • CSS Formatter
  • JavaScript Formatter
  • + 49 more →
Web
  • HTTP Status Codes
  • MIME Type Lookup
  • User-Agent Parser
  • + 46 more →
Color
  • Color Picker
  • Color Converter
  • Contrast Checker
  • + 40 more →
Time & Date
  • Unix Timestamp Converter
  • Timezone Converter
  • Cron Expression Parser
  • + 36 more →
Images
  • PNG to JPG
  • JPG to PNG
  • PNG to WebP
  • + 78 more →
Regex
  • Regex Tester
  • Regex Debugger
  • Regex Explainer
  • + 79 more →
Utilities
  • Password Generator
  • Random Number Generator
  • Random Picker
  • + 116 more →
© 2026 TryDevTools. All rights reserved.Crafted for the open web