Processed in your browser

Switching language reloads this page. Copy or save any inputs and results first.

10 / DATA

JSON format / minify

Keep long API response IDs unrounded and trailing decimal zeros intact. Format or minify by changing only whitespace and line breaks.

50 charsUTF-8 · Up to 200,000 characters
0 charsAuto-convert

Send an array of objects to the CSV converter. Inputs are not saved.

Inputs and results are processed only in this browser and are not saved.
How to use, examples and questions

Format JSON with indentation to make nested structures readable. Also minify by removing line breaks and unnecessary whitespace, and check JSON syntax.

JSON format / minify — how to use

  1. Paste JSON, then choose format or minify.
  2. For formatting, choose 2 spaces, 4 spaces or tabs.
  3. Copy the result. If an error appears, check quotes, commas and brackets.

Input and output examples

Format an API response without changing its long ID

Settings: Format / 2 spaces

Input
{"request_id":9007199254740993,"amount":1.2300}
Output
{
  "request_id": 9007199254740993,
  "amount": 1.2300
}

Preserves every digit of the ID and trailing decimal zeros, changing only whitespace and line breaks.

Frequently asked questions

Can I use JSON with comments or trailing commas?

Only standard JSON is supported. JSONC and JSON5 features such as comments, trailing commas and single quotes are unsupported.

Can large integers be preserved exactly?

Yes. Large integers such as 9007199254740993, trailing decimal zeros and exponent notation stay exactly as entered. Duplicate keys are retained; this tool does not verify how a receiving system handles duplicate keys.

Specifications and limits

Changes only whitespace and line breaks. Preserves numeric digits, exponent notation, negative zero, string escapes and key order. Input: up to 200,000 characters; formatted output: up to 2,000,000. Does not interpret JSON values or resolve duplicate keys.

Analytics and privacy

Conversion inputs and results are processed in your browser. Image URL and OGP loads connect directly to your chosen destination only when you select the corresponding button. Image, video, Markdown, HTML, CSV and TSV files are not uploaded to our servers. Self-signed certificates and signatures are generated locally; private keys are never sent to our servers or analytics. Markdown external images and HTML scripts are not loaded. The API client sends the URL, headers, body and selected files directly to the endpoint only when you select Send or its shortcut. Speed tests exchange generated test data with Cloudflare when you start a measurement. These destinations receive your IP address. We do not proxy these connections or send inputs or measurement results to analytics. Conversions are not saved automatically. Unsaved API inputs, responses, history and environments stay only in this page. Only API requests explicitly selected with Save in this browser are stored. Auth fields, secret variables, known auth headers and files are excluded; review URLs, bodies and custom headers for other secrets first. Collection exports include URLs and bodies, so review them before sharing.

When analytics is enabled, we use Google Analytics 4 to measure pages, tool names and use counts, actions such as copying or saving an image, speed test starts, completion, cancellation and errors, product link clicks, and monitoring guide and service clicks using fixed IDs. Google uses cookies and collects device and browser information. Google signals for advertising and ad personalization are disabled.

Disabling analytics stores only that preference in this browser. Analytics settings never contain your inputs.Google's privacy policy

Analytics is currently unavailable on this site.