Actual widget output
Format JSON in the browser

Let visitors tidy and check JSON on your page.

Each example below is the actual published output of the JSON formatter widget. Paste or edit JSON; the result updates as you type, and nothing you enter is sent anywhere.

This tool needs JavaScript to format JSON.

Default settings: an empty input, 2-space indents, and a Layout choice and Sort keys switch for visitors.