Beta RazorAPI is in beta testing — new registrations are closed for now. Public launch coming soon. Details

Beautify · Minify

JSON Formatter

Beautify or minify JSON instantly — free playground plus REST API for apps and CI.

Playground

JSON Formatter

Invalid JSON returns a clear parse error. Indent applies to beautify mode only.

Ready

Optional — try the API without a key (shared tools quota). Public signup is closed during beta — learn more.

Mode

Uses the tools API proxy when no key is entered. Max payload 512 KB.

Why format

Readable or compact — on demand

Clean JSON for reviews, diffs, and payloads without fighting indentation by hand

Beautify & minify

Pretty-print with 0 / 2 / 4 space indent, or shrink to a single line for wire size.

Beautify · Minify

Safe parse first

Invalid JSON fails with a clear message — we never rewrite broken input into something silent.

Strict JSON

Copy or download

Grab the result from the playground, or call the same transform from your app.

Playground + API

API included

POST /v1/json/format with mode and indent — same output the playground uses.

POST /json/format

Need this as an API?

Format or minify JSON in CI, editors, and backends with one POST

View API Docs