Skip to content
jsontool

JSON Minifier

Compress JSON into a single line and see exactly how many bytes you saved. Perfect for trimming API payloads and configuration files.

Type or paste JSON. Validation runs as you type and reports the exact line and column of any error.

Result

The result will appear here.
Ready Waiting for input.
Size
0
Lines
0
Depth
0
Nodes
0
Keys
0

How to validate JSON

  1. Paste your JSON

    Drop the document into the editor, or press "Load sample" to try the tool with example data.

  2. Read the verdict

    A green badge means the document is valid. A red one points to the exact line and column of the first error.

  3. Fix, format and copy

    Jump to the error, correct it, then beautify or minify the result and copy it with one click.

Frequently asked questions

Is jsontool free to use?

Yes. Validation, formatting, minification, schema checks, conversion and comparison are free and unlimited, and no account is required.

Is my JSON uploaded anywhere?

Your document is sent to the server only to be parsed, and the result is returned immediately. Nothing is stored unless you explicitly save it to your history or create a share link.

Why does the tool report an error that my editor accepts?

Many editors accept JavaScript object notation, JSON5 or JSONC. Strict JSON forbids comments, trailing commas, single quotes and unquoted keys — jsontool follows RFC 8259 exactly.

What are duplicate keys and why are they only a warning?

RFC 8259 allows an object to repeat a key, but every parser keeps just one value — usually the last. That silently loses data, so the tool flags it and offers one-click removal.

How large a document can I validate?

The default limit is two megabytes per document, which covers the overwhelming majority of API responses and configuration files.

Which JSON Schema version is supported?

The schema validator implements the draft-07 core keyword set, including types, numeric and string bounds, object and array shapes, combinators, conditionals and local $ref pointers.