JSON Formatter and Validator
Format, compress, and validate JSON. See the exact location of syntax errors and optionally sort object keys.
Local processingPaste a code sample and make it easier to read with consistent indentation and line breaks. Choose JavaScript, TypeScript, HTML, CSS, or JSON, then copy the formatted result.