Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>JSON Beautify ExtensionNew to Visual Studio Code? Get it now.
JSON Beautify Extension

JSON Beautify Extension

AzCode

| (0) | Free
Beautify, format, and minify JSON documents or selections.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Beautify

A small VS Code extension to beautify, format, and minify JSON.

Features

  • Beautify the whole document, or just the selected text.
  • Minify JSON into a single compact line.
  • Configurable indentation (spaces or tabs).
  • Right-click menu entry + keyboard shortcut.
  • Clear error message when the JSON is invalid.

Commands

Open the Command Palette (Ctrl/Cmd+Shift+P) and run:

  • JSON Beautify: Beautify
  • JSON Beautify: Minify

Shortcut

  • Ctrl+Alt+J (Windows/Linux) / Cmd+Alt+J (Mac) — Beautify

Settings

Setting Default Description
jsonBeautify.indentSize 2 Number of spaces used for indentation.
jsonBeautify.useTabs false Use a tab character instead of spaces.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft