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

Format JSON

Nomad Learner

|
668 installs
| (1) | Free
Format your json file
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Format JSON

This is a simple Visual Studio Code extension to format JSON files.

Features

  • Automatically formats JSON files when they are saved.
  • Provides a command to manually format the JSON content of the active editor.

Requirements

This extension has no additional requirements or dependencies.

Extension Settings

This extension does not contribute any settings.

Known Issues

There are no known issues at this time.

Release Notes

1.0.0

  • Initial release of the JSON formatter extension.
  • Automatically formats JSON files on save.
  • Adds a command to manually format JSON files.

Usage

Formatting JSON on Save

The extension will automatically format JSON files when they are saved. No additional configuration is required.

Manually Formatting JSON

You can manually format the JSON content of the active editor by running the Format JSON command from the Command Palette (Ctrl+Shift+P or Cmd+Shift+P on macOS) and selecting Format JSON.

For more information

  • Visual Studio Code's Extension API
  • JSON Syntax Reference

Enjoy!

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