Pinkyui
https://pinky-ui.blogspot.com/p/json-prettify-minify.html
JSON Prettify/Minify
Use this online tool to
Prettify/Beautify/Format or
Minify/Compress your
JSON code.
Please note, this tool not support the error reports and only working if the code is valid without error.
If you need validate JSON use JSON validation tools like a JSONLint.
Download
Please note, this tool not support the error reports and only working if the code is valid without error.
If you need validate JSON use JSON validation tools like a JSONLint.
How to use JSON Prettify/Minify?
- Before using this tool, backup the code you want to use.
- Write, Copy and Paste or Drag and Drop in the form below or press the Load Data button to load JSON code from URL or Upload (.json/.webmanifest/.txt) - maximum size limit for file upload is 15 MB.
- Press Process button to get output.
- To switch from Prettify to Minify please press Minify JSON (off).
- If the output code is available you can Copy, Download and Undo (if possible).
{
"active": true,
"person": [
{
"name": "John Doe",
"age": 22,
"married": false,
"labels": [
"Foo",
"Bar"
]
},
{
"name": "Anonymous",
"age": 1000,
"married": true,
"labels": []
}
]
}
Load External Data
The tool allows you to upload a
.json
,
.webmanifest
,
.txt
or load external data from URL containing JSON data. The maximum size limit for file upload is
15 MB.
Note: If URL does not have an extension, please add forward slash (/) at the end of URL. Example URL
https://github.com/pinkyui/tools/raw/master/example/json-example.json.