JSON formatter
Format and minify JSON in your browser without uploading text.
Text and files you enter never leave this device.
How to use it
- 1
Paste JSON text
Add the object, array, API response, or config snippet you want to review.
- 2
Format for reading
Run formatting to add indentation and line breaks so nested objects, arrays, and values are easier to inspect.
- 3
Minify when needed
Switch to compact output when the JSON needs to fit in a request body, environment value, fixture, or documentation example.
- 4
Copy the result
Review validation messages, then copy the formatted or minified output for your editor, ticket, test, or API client. You should still remove secrets before sharing a formatted result in tickets, chat, documentation, or public examples.