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

JSONr

KyleDev008

|
1 install
| (0) | Free
A local, private JSON formatter, editor, and explorer inspired by json.site.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

JSONr

A local, private VS Code extension for exploring, editing, and visualizing JSON.

Inspired by json.site, JSONr runs entirely in your VS Code workspace. No data is ever sent to a server.

Features

  • Custom JSON editor — open any .json, .jsonc, .jsonl, .ndjson, or .json5 file with JSONr.
  • Two-pane layout — edit raw JSON on the left, explore on the right.
  • Exploration views:
    • Editor — formatted, line-numbered JSON.
    • Table — spreadsheet view for arrays of objects.
    • Tree — collapsible key/value tree.
    • Type — inferred type structure with TypeScript output.
    • Graph — interactive card-and-edge graph with pan, zoom, expand/collapse, and hover-to-highlight paths.
    • Code — generate strongly-typed code from JSON.
  • Code generation — generate typed code in TypeScript, Go, Rust, Python, C#, Java, Swift, Kotlin, and Dart using quicktype-core. Each output includes an ingest helper that parses a raw JSON string into the generated types.
  • Format, minify, stringify — one-click transformations.
  • Real-time validation — see at a glance whether your JSON is valid.
  • Local history — quickly reopen recently viewed JSON files.
  • Configurable — change max file size and max graph nodes in VS Code settings.
  • Modern UI — rounded panels, shadows, and full VS Code dark/light theme support.

How to use

  1. Open a JSON file in VS Code.
  2. Click the JSONr icon in the top-right of the editor, or run JSONr: Open with JSONr from the command palette.
  3. Use the view tabs (Editor, Table, Tree, Type, Graph, Code) to explore.
  4. In the Graph view, drag to pan, scroll to zoom, and click the arrows on cards to expand or collapse.

Configuration

Open Settings and search for JSONr to change:

Setting Default Description
jsonr.defaultIndent 2 Default indentation for the Format action.
jsonr.maxFileSizeBytes 2097152 Files larger than this switch to a lightweight summary view.
jsonr.maxGraphNodes 20000 Maximum number of cards to render in the Graph view. Increase for large JSON, decrease if the view feels slow.

Development

npm install
npm run compile

To package locally:

npm run package

To install locally:

code --install-extension jsonr-0.1.1.vsix

Release

Set your marketplace token and run the release script:

$env:VSCE_PAT = "your-personal-access-token"
npm run release

Or bump the version before publishing:

$env:VSCE_PAT = "your-personal-access-token"
npm run release patch
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft