A clean, modern JSON viewer web application that fetches and displays JSON from any URL. Inspired by Firefox's built-in JSON viewer.
- 📑 Tabbed Interface - Switch between JSON tree view and raw data
- 🎨 Theme Support - Light, dark, and system theme options
- 🔍 Interactive JSON Tree - Powered by
react-json-tree - 💾 Save/Copy - Download JSON or copy to clipboard
- 🔽 Collapse/Expand - Collapse All and Expand All controls
- 🔎 Filter JSON - Search/filter through JSON data (coming soon)
- 🚀 Fast Build - Built with Vite for lightning-fast development
- 📱 Responsive - Works on desktop and mobile
pnpm install
pnpm run devThen navigate to:
http://localhost:5173/?url=https://api.github.com/users/octocat
pnpm run buildThe built files will be in the dist/ directory.
pnpm run previewurl(required) - The URL of the JSON file to display
http://localhost:5173/?url=https://api.github.com/users/octocat
http://localhost:5173/?url=https://jsonplaceholder.typicode.com/posts/1
- JSON - Interactive tree view with syntax highlighting
- Raw Data - Plain text view of the JSON
- OpenEO - OpenEO Object Tree view (source)
- Save - Download the JSON file
- Copy - Copy JSON to clipboard
- Collapse All - Collapse all nodes in the tree
- Expand All - Expand all nodes in the tree
- Filter JSON - Search box for filtering (UI ready, filtering logic coming soon)
- system - Follow system dark/light mode preference
- light - Force light theme
- dark - Force dark theme
This application fetches JSON from external URLs. If you encounter CORS errors, the server hosting the JSON must have CORS enabled or you'll need to use a CORS proxy.
- React 19
- TypeScript
- Vite
- react-json-tree
- react-use
MIT