Free tool

JSON and JSON-LD formatter and validator

Paste JSON or a JSON-LD schema block to format it, minify it or find the exact line and column of a syntax error. Script tags around JSON-LD are stripped automatically.

Runs 100% in your browser. Nothing you add is uploaded to any server.

    Result

    How to use it

    1. Paste your JSON or JSON-LD, with or without the script tags.
    2. Press Format to pretty-print it or Minify to compress it.
    3. If there is an error, fix it at the line and column shown.
    4. Copy the result. For schema, also test it in the Rich Results Test.

    Related reading: the technical SEO audit for WordPress.

    Want it done for you? See WordPress SEO services.

    FAQ

    JSON formatter questions

    Does valid JSON mean my schema is valid?

    Not always. Valid JSON is the first step. Google also checks the schema types and required properties, so test the page in the Rich Results Test too.

    What are the most common JSON errors?

    Trailing commas, single quotes instead of double quotes, curly quotes pasted from a word processor, and missing commas between items.

    Is my data sent anywhere?

    No. Parsing and formatting happen in your browser.

    Contact

    Let's build your next website

    Available for freelance projects, agency white-label work and long-term maintenance. Feel free to pass this along to your team or company.

    I reply within 24 hours, usually the same day. Your details are emailed to me, then WhatsApp opens so we can chat right away.

    Chat now