JSON Formatter
Format, minify, and validate JSON text in your browser.
Test JavaScript regular expressions, inspect match positions and capture groups, and preview text replacements as you type.
Updates as you type or change an option
Test JavaScript regular expressions, inspect match positions and capture groups, and preview text replacements as you type.
Enter a pattern without enclosing slashes, its flags and some test text. Use g for all matches, i to ignore case and m for multiline anchors. Replacements support JavaScript syntax such as $1 and $.
Expressions run in a separate worker and stop after 1.5 seconds. Limits are 100,000 text characters, 4,000 pattern characters and fewer than 2,000 matches. Narrow the input if results become too large.
Format, minify, and validate JSON text in your browser.
Convert Unix seconds or milliseconds into local, ISO, and UTC time.
Edit HTML, CSS, and JavaScript with a network-enabled sandbox preview.
Convert UTF-8 text to Base64 and back instantly, with standard and URL-safe formats and full support for Unicode and emoji.
Comments
0