What is this tool?
This tool formats (pretty-prints), minifies, and validates JSON data. You can choose the indentation level. Invalid JSON is highlighted with an error message.
How to Use
- Paste JSON data in the input area.
- Click 'Format' to pretty-print or 'Minify' to compress.
- Select the indentation level (2 spaces, 4 spaces, or tab).
- Click 'Copy' to copy the output.
Examples
- Format a minified API response for readability.
- Minify JSON for smaller payload size.
- Validate JSON syntax before sending to an API.