How to format JSON on this page
1. Steps and an example
Paste the JSON, pick 2 spaces, 4 spaces, or a tab, then press Format. With {"b":1,"a":[2,3]} and 2-space indent the object breaks onto several lines and the array [2,3] keeps its order. Turn on alphabetical sort and "a" moves above "b". Numbers, strings, booleans, and null stay the same. A trailing comma such as [1,2,] will not format: fix it in the validator first.
2. When to sort keys
Sorting A to Z makes two API responses comparable even when the server emitted keys in a different order. Array order is left alone. The metrics panel shows characters, lines, node count, and the maximum depth of the tree.
Frequently Asked Questions about JSON Formatting
A: No. All primitive types (strings, numbers, booleans, arrays, null) and array orders remain strictly untouched.
A: Yes. This page sends it to the Utilsbox API and returns the result. It is not stored as an account. Do not paste tokens or data that must not travel over the network.