JSON Formatter & Validator
Format, validate and minify JSON in your browser. Instant error messages, no upload, no sign-up.
All tools
Document & Invoice Editor Domain & IP Checker Image Converter Text Format Converter Online Code Editor Online SQL Editor Email & OTP Test Rig Encryption & Decryption Toolkit WiFi Network Sync Word & Character Counter JSON Formatter & Validator Password Generator Case Converter Lorem Ipsum Generator Color Converter Unit Converter Age Calculator EMI Calculator GST Calculator Image Resizer Unix Timestamp Converter URL Encoder & Decoder Regex TesterFree tool · Developer
Type a pattern and some text and see every match highlighted as you type.
Regular expressions describe text patterns compactly, and are used for validating emails, extracting numbers, cleaning data and search-and-replace. They are also famously easy to get wrong, which is why testing against real sample text saves time.
This tester uses your browser's JavaScript RegExp engine. Flags change behaviour: g finds all matches, i ignores case, m makes ^ and $ match at line breaks. Matches are highlighted in the text and listed with their position.
Type your regular expression without slashes.
Use g for all matches, i for case-insensitive.
Matches are highlighted and listed with their index.
JavaScript (ECMAScript). Other languages may differ in advanced features.
Check escaping, flags and whether the pattern is anchored with ^ or $.
No, matching runs in your browser.
Format, validate and minify JSON in your browser. Instant error messages, no upload, no sign-up.
Generate strong random passwords with the browser's cryptographic generator. Nothing is sent or stored.
Convert Unix epoch timestamps (seconds or milliseconds) to human dates and dates back to timestamps. Free online tool.
Encode or decode URLs and query strings with percent-encoding. Instant, private, runs in your browser.