Enter JSON to begin.
Output
Validation and formatting
The formatter accepts any valid JSON root—object, array, string, number, boolean, or null. Choose two spaces, four spaces, or tabs. Minification removes insignificant whitespace without changing parsed values.
Editing and key order
The input remains editable, so this page covers practical JSON editor intent without a duplicate editor canonical. Optional key sorting changes textual member order, not JSON meaning.
Errors and numeric limits
Invalid JSON stays invalid; the tool reports the parser message and an approximate location when available. Integers beyond ±9,007,199,254,740,991 trigger a precision warning because native JavaScript numbers may not preserve them exactly.
Practical input limit
Each input is limited to 6 MB. Ordinary 10 KB, 1 MB, and 5 MB payloads are supported locally; very large work should use a streaming or command-line workflow.