JSON Formatter
Format, minify and validate JSON without changing large integers, number notation, key order or string escapes. Import files and locate syntax errors.
Compress text to gzip, display compressed data as Base64, restore UTF-8 text and download a real .gz file locally.
Updates as you type or change an option
Compare compressed text with its readable source or prepare a gzip payload for a development test.
Enter text to compress it, or paste gzip Base64 to recover the text. Edit either side, copy the Base64 output or download text.txt.gz for use with standard gzip tools.
Supports one gzip member containing UTF-8 text. Decompression checks the checksum and recorded size. Work runs separately from the interface and stops on oversized output. Text and decompressed output are limited to 2 MiB; Base64 input to 3 MiB. Gzip compresses data; it does not encrypt it.
It handles a single gzip member containing UTF-8 text, with checksum verification and a 2 MiB decompressed limit. It is not a general archive extractor.
Gzip adds a header and checksum, while Base64 makes the compressed bytes larger again. Short or already compressed content may therefore grow. For file size comparisons, use the downloaded .gz file and the original UTF-8 byte size, rather than comparing character counts.
Your choice about analytics
We use Umami to measure page visits. Analytics is optional, and your tools work either way.
Your current setting allows analytics.
Your current setting does not allow analytics.
The analytics service has changed. Refresh the page after finishing your current work to apply the new settings.
Your browser is sending a Do Not Track or Global Privacy Control signal. Analytics will remain off.
We use Umami to understand which pages people visit and how they find this site. You can decline or change your choice at any time. All site features will still work.
Your choice is saved in this browser for six months. Analytics does not upload files or content you enter in our tools.
Privacy Policy
Comments
0