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

Pepe JSON Viewer

pepeelpollo

|
4 installs
| (0) | Free
View JSON files as an interactive, collapsible tree — syntax highlighting, search/filter, copy value & path, expand/collapse all.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pepe JSON Viewer

View .json and .jsonc files as an interactive, collapsible tree, built natively for VS Code.

Features

  • Collapsible tree with expand-all / collapse-all.
  • Syntax highlighting that follows your VS Code theme (keys, strings, numbers, booleans, null).
  • Search & filter keys and values; matches and their ancestors stay visible.
  • Copy value and copy path (JSONPath-style, e.g. $.users[0].name) on every node.
  • Light / dark toggle plus automatic theme matching.
  • Tolerant parsing: supports .jsonc comments and trailing commas.
  • Raw text button to jump back to the normal editor.

Usage

  1. Right-click a .json file in the Explorer → Open with Pepe JSON Viewer, or
  2. Open a JSON file and run Pepe JSON Viewer: Open from the Command Palette, or
  3. Use the editor title-bar action.

Make it the default viewer (optional)

Add this to your settings.json to open all JSON files in the viewer automatically:

"workbench.editorAssociations": {
  "*.json": "jsonViewerPro.viewer"
}

To edit a file as plain text afterwards, use Reopen Editor With… → Text Editor or the Raw text button.

License

MIT

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