Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>JSON Formatter & ValidatorNew to Visual Studio Code? Get it now.
JSON Formatter & Validator

JSON Formatter & Validator

JSON-Formatter

|
2 installs
| (1) | Free
Format, validate, and fix JSON with live preview and error highlighting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Formatter

A Visual Studio Code extension for formatting and validating JSON with live preview and error highlighting.

Features

  • Live JSON validation and formatting
  • Two-panel interface with input and formatted output
  • Automatic error detection and highlighting
  • Syntax error explanations with line numbers
  • Suggested fixes for common JSON errors
  • Copy formatted JSON with one click
  • Theme-aware styling that matches your VS Code theme

Usage

  1. Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P)
  2. Type "JSON Formatter" and select the command
  3. Paste your JSON in the left panel
  4. See the formatted result in the right panel
  5. Use "Compare & Format" to validate and format your JSON
  6. Click "Copy" to copy the formatted JSON

Requirements

  • Visual Studio Code version 1.60.0 or higher

Known Issues

Please report any issues on the repository.

Release Notes

1.0.0

Initial release of JSON Formatter:

  • Two-panel JSON formatting interface
  • Error detection and highlighting
  • Auto-fix suggestions
  • Copy formatted JSON
  • Theme-aware styling
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft