JSON Beautifier & Minifier
Format messy JSON with the indentation your team uses, or strip every unnecessary character to ship the smallest possible payload. Input is always validated first.
Output will appear here.
Shortcuts: Ctrl/Cmd + Enter run · Ctrl/Cmd + Shift + F format
How to use
- 1Paste your JSON into the left editor.
- 2Choose 2 spaces, 4 spaces or tab indentation.
- 3Click Beautify JSON to pretty-print, or Minify JSON to compress it.
- 4Copy the highlighted output or download it as a .json file.