JSON Tree Size — JSON File Size Analyzer for VS Code
Ever wondered what's bloating that 50 MB JSON file? JSON Tree Size gives you the same "what's eating my disk?" experience as TreeSize or WinDirStat — but for JSON files, right inside VS Code. No CLI tools, no pasting into online formatters, no leaving your editor. Built by a developer, for developers. Free, open-source, no telemetry. Your data never leaves your machine.
🚀 Try Before You InstallNot ready to commit? Try the live demo right in your browser — no install, no sign-up, no commitment. Load a sample file or paste your own JSON and explore the full tree-size experience instantly. When you're convinced, come back and install with one click. Why JSON Tree Size?
Features
Getting StartedInstallSearch for "JSON Tree Size" in the VS Code Extensions view ( Option 1 — Right-click a JSON fileRight-click any Option 2 — Command PaletteWith a
Exploring the resultsClick nodes in the tree to see their children ranked by size in the detail pane. The two panels stay in sync — clicking a bar on the right highlights the node on the left, and vice versa. Use Expand / Collapse all to navigate large files, and Open in editor to jump straight to the source.
Settings
Common Use Cases
Frequently Asked QuestionsIs my data safe? Yes — JSON Tree Size runs entirely inside VS Code. Your files are never uploaded, and there is zero telemetry. Try the live demo to verify — it runs 100 % in the browser too. How large a file can it handle? Worker thread parsing keeps the editor responsive for files over 50 MB. The practical limit is your available memory. Does it work with JSONC / JSON5 / JSON with comments? It parses standard JSON (RFC 8259). Files with trailing commas or comments will show a parse error. Can I use it with XML too? Yes — check out the companion extension XML Tree Size for XML and SOAP payloads. ContributingSee the Contributing Guide for development setup, architecture overview, and release process. LicenseMIT — free for personal and commercial use. Made with care by Alvaro Enrique Ruano. If you find this useful, a ⭐ on GitHub is appreciated! |


