JSON Formatter

JSON →
library 2.4.9 ·javascript
verified Jun 4, 2026

A pure JavaScript library that renders JSON objects as collapsible HTML trees, featuring hover preview, theme support (e.g., dark mode), animation toggles, and property sorting. Current stable version 2.4.9, maintained on GitHub with weekly releases. Unlike other JSON viewers, it provides configurable open depth, hover preview for arrays and objects, and uses the object's toJSON method. Requires peer dependency 'select', ships TypeScript definitions.