HPJson: a fast JSON formatter, viewer and diff tool
HPJson (HighPerformanceJson) parses, formats, searches and diffs JSON locally in your browser. Nothing is uploaded, files around 100 MB are supported, and a fully offline single-file version is available.
Open HPJson
Features
- In-place formatting with collapse / expand and collapse-to-level.
- Original text and formatted tree side by side, including a soft-wrapped reader for very long lines.
- Structural JSON diff aligned by object key and array index, with previous / next change navigation.
- Large files: parsing, search, diff and long-text indexing run in Web Workers; only rows near the viewport are rendered. Files around 100 MB have been tested.
- English and Chinese interface, remembered across visits.
- Offline: the desktop single-file build works without a network connection.
Privacy
HPJson never uploads your JSON. All processing happens in your browser and the site sends no request containing your data. The offline single-file version has no network access at all. You can confirm this in your browser's Network panel.
Frequently asked questions
What is HPJson?
HPJson (HighPerformanceJson) is a high-performance JSON formatter, viewer and structural diff tool. Parsing, search, diff and long-text indexing run in browser Web Workers, and the UI renders only the rows near the viewport.
Does HPJson require a network connection or upload my data?
No. The website processes everything locally in your browser and does not upload your JSON. The desktop single-file version can run completely offline.
How large a JSON file can HPJson handle?
On macOS with 16 GB RAM and Chrome, we tested a 102.7 MB dense object and a 100 MB single string field. Large text is handled with virtual scrolling and a dedicated full-value reader instead of rendering everything at once.
How do I compare two JSON files?
Switch to JSON Diff, paste or open both sides and press Compare. Objects are aligned by key and arrays by index; deletions are shown in red and additions in green, with previous / next change navigation.
Why is HPJson faster than a typical online formatter?
HPJson keeps the original text and a compact structural index instead of copying every field value. Formatting, search and diff run in a background Worker, and the list uses fixed-height virtual scrolling so only the visible rows are rendered.