JSON Formatter
Format, minify, and validate JSON with optional key sorting.
- On your device
- No signup
Private on your device
Your information stays on your device and is not uploaded.
Format, minify, and validate JSON with optional key sorting.
Format SQL queries for readability.
Format or minify HTML markup on your device.
Pretty-print or minify JavaScript in one panel—switch modes on the same input.
Compare two pieces of text and highlight changes.
Count words, sentences, characters, and paragraphs with reading time estimates.
Compare two JSON documents and list structural differences.
Format, minify, and validate XML with readable indentation.
Enter a JavaScript regular expression, choose flags, and paste sample text to see live matches with indices, capture groups, and highlighted text. Matching works on your device.
1. Enter a regex pattern. 2. Enable flags such as global or ignore case as needed. 3. Paste or type a test string. 4. Review highlighted matches and the match list with groups. 5. Copy matches from the results panel if needed.
Example: pattern \d+ on text Order 42 and 7 finds 42 and 7 as separate matches with the global flag enabled.
Tests a regular expression against sample text in real time. Toggle flags (global, ignore case, multiline, dotAll, unicode) and inspect matches with captured groups highlighted.
Results are based on the inputs you provide and may not cover every edge case. This tool is for general use and is not professional advice.
Your data stays on your device and is not uploaded.
FAQ
Patterns use JavaScript regular expressions, including flags for global, ignore case, multiline, dot all, and unicode.
Yes. Numbered and named capture groups are listed for each match, along with the match index and length.
No. Your information stays on your device and is not saved.
This tool is one step in a longer job. Jump straight to your step or open the full workflow guide.
Page last reviewed: