Format or minify JSON directly in the browser.
Paste a JSON object, array, string, number, boolean, or null value, then choose an indentation width from 0 to 8 spaces. Use the minify button when you need compact JSON for logs, URLs, fixtures, or configuration snippets.
Invalid JSON returns a clear error message instead of sending the content to a server.
When to use it
Clean up API responses before code review, shrink JSON fixtures for repositories, or teach students how whitespace affects readability without changing parsed values.