Online JSON Formatter


    

How to Use

What this tool does

Format (pretty print) a JSON string and render a collapsible JSON viewer. You can also copy and clear content quickly.

Steps

  1. Paste JSON into the textarea.
  2. Click Format to pretty-print and view structured JSON below.
  3. Use Copy to copy the formatted JSON; Clear to reset.

Example

{"user":{"id":1,"name":"Alice","roles":["admin","editor"]}}

Notes