Command Palette

Search for a command to run...

JSON Formatter · Beautifier · Validator

Format, beautify, minify, and validate JSON with support for JSONC (comments) and JSON5. Includes optional JSON Schema validation.

Options
Configure JSON formatting and validation settings
Input
Paste your JSON, JSONC, or JSON5 here (Cmd/Ctrl+Enter to format)
Loading...
Output
Formatted output will appear here
Loading...
Quick Guide

Supported Formats

  • JSON: Standard RFC 8259 strict JSON
  • JSONC: JSON with comments and trailing commas
  • JSON5: JSON5 format with unquoted keys, trailing commas, etc.
  • Auto: Automatically detects the format

Actions

  • Format: Pretty-print JSON with indentation
  • Minify: Remove all whitespace for compact output
  • Validate: Check syntax and optionally validate against schema