{ }

JSON Formatter & Validator

Format, validate, and beautify JSON data instantly.

How to use

  1. Paste your JSON data in the input area
  2. Click "Format" to beautify or "Minify" to compress
  3. The validity badge shows green for valid JSON, red for errors
  4. Click "Copy" to copy the result to your clipboard

API Endpoint:

POST /api/json-format
{"text": "{\"key\":\"value\"}", "indent": 2}