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

JSON Aide

Apaya

|
2 installs
| (0) | Free
Sort JSON keys, minify, prettify, convert between JSON and YAML, diff two files, validate with schema, and browse structure in a tree view.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSON Aide

Sort, minify, prettify, convert, flatten, and browse JSON and YAML files — all from your editor.

Features

Sort Keys

Sort all keys in a JSON or YAML file alphabetically (or reverse). Works recursively on nested objects.

Minify / Prettify

Compress JSON to a single line or format it with proper indentation. Preserves your existing indent style.

JSON to YAML / YAML to JSON

Convert between formats instantly. Opens the converted result in a new tab.

Flatten / Unflatten

Flatten nested JSON to dot-notation keys (user.address.city) or unflatten back to nested structure.

Escape / Unescape

Select text and escape it as a JSON string (adds quotes and escape sequences) or unescape back.

Copy JSON Path

Place your cursor anywhere in a JSON file and copy the path (data.users[0].name) to clipboard.

Diff Two Files

Compare two JSON or YAML files side by side using VS Code's built-in diff viewer.

Tree View

Browse the structure of your JSON/YAML file in the Explorer sidebar. Shows types, values, and item counts.

Commands

Command Shortcut Description
Sort Keys Cmd+Shift+S Sort all keys alphabetically
Sort Keys (Reverse) Sort keys in reverse order
Minify Compress to single line
Prettify Format with indentation
Convert JSON to YAML Open as YAML in new tab
Convert YAML to JSON Open as JSON in new tab
Flatten JSON Convert to dot-notation
Unflatten JSON Convert back to nested
Escape JSON String Escape selected text
Unescape JSON String Unescape selected text
Copy JSON Path Copy path at cursor
Diff Two Files Compare two files

Context Menu

Right-click in any JSON or YAML file to access Sort, Minify, Prettify, Convert, and Copy Path commands.

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