foldmint.All tools
Text & code

JSON Formatter & Validator

Make JSON readable or compact it without changing number tokens.

Processed on your device
01 Add your content

Up to 200,000 characters. Content stays on this page and is not saved to browser storage.

02 Preview & download

A little transformation
starts here.

Your result will appear here.
Your input stays on this device.

File and QR processing stays local. Website requests and optional ads or analytics are separate. Privacy details
THE SHORT VERSION

From start to saved.

  1. 01

    Paste a JSON value.

  2. 02

    Choose indentation or minified output.

  3. 03

    Review, then copy or download the JSON.

Readable JSON without silent number rounding

The tool validates syntax, then formats the original tokens. Minify removes whitespace outside strings. Strings, key order, duplicate keys and number tokens remain as written. For example, 9007199254740993 stays that exact token rather than being rounded through a JavaScript number.

What validation means

Valid syntax does not guarantee valid application data. This is not a JSON Schema validator or an API contract checker. Duplicate keys are retained but remain risky because another parser may keep only the last value. Comments, trailing commas, single-quoted strings and JavaScript expressions are rejected.

Format a nested API response to see its structure, then compare its fields with the API documentation. The tool does not sort keys, execute code or fetch remote references.

Input is limited to 200,000 characters. Readable formatting supports at most 200 nesting levels. Long output scrolls within its preview. Avoid exposing secrets in shared screenshots and downloads, even though formatting does not upload the input.

Processing and sources

Inputs are processed on your device, without uploading or saving them to browser storage. Reset clears the result; downloaded files remain on your device. Website requests and permitted advertising or measurement are separate. See our privacy policy.

Technical reference: JSON.parse.

Related tools

Word counter, JSON formatter, URL encoder and Base64 text converter.

Your privacy choices

The tools work without analytics or advertising permission. Files, document text, passwords and QR contents are not sent with usage events.