JSON Viewer

Live: spskelly.github.io/json-viewer
Repo: GitHub

What It Does

A lightweight PWA for instant JSON pretty-printing. Install it, set it as your default .json handler, and double-clicking any JSON file gives you a collapsible tree view with search, validation, and path copying.

Features

Why It Exists

Browser DevTools can pretty-print JSON, but they can’t register as a file handler. This bridges that gap: a native-feeling app for a common developer task.

Technical Details

5 files, ~1,000 lines total. No build step, no dependencies. The tree renderer builds DOM nodes lazily, large JSON files don’t freeze the UI because collapsed branches aren’t rendered until expanded.