Best way to validate and format json files.

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
  • CodiumAI - TestGPT | Generating meaningful tests for busy devs
  • SonarLint - Clean code begins in your IDE with SonarLint
  • InfluxDB - Access the most powerful time series database as a service
  • jq

    Command-line JSON processor

    Run some offline validator. E.g., see

  • nvim-jqx

    Populate the quickfix with json entries

    Have you tried nvim-jqx?


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

  • gojq

    Pure Go implementation of jq

  • fixjson

    JSON Fixer for Humans using (relaxed) JSON5

    I love to format JSON: it can handle the presence or lack of trailing commas on items. This is incredibly useful for swapping items or adding a new item at the end of a list without getting parse errors because of trailing commas.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts