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

JSON

Meezilla

|
1,105,943 installs
| (32) | Free
Beautify JSON
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Beautify JSON

Beautify JSON.

Features

  1. Open new untitled / On current json file
  2. Whole file / Selected Text

Usage

# Notice: beautified result will replace whole file context.

Option 1

  1. Press Cmd/Ctrl+Shift+J, quick beautify with default config.

    Indent: 2
    PrimitiveType: keep

Option 2

  1. Press Cmd/Ctrl+Shift+P, choose Beautify JSON.
  2. On picker, select Indent you want.
  3. On picker, select Primitive Type solution.

Configuration

  1. Click Settings Icon
  2. Search
    • json.indent
    • json.primitiveType

Enjoy😊

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft