A beautiful, modern JSON viewer with interactive tree view, card view, and styled Excel export.
| Feature | Description |
|---|---|
| 🌳 Tree View | Interactive, collapsible JSON tree with syntax highlighting |
| 🎴 Card View | Beautiful card layout with data tables for arrays |
| 📊 Excel Export | Export to styled Excel (.xls) with colors & formatting |
| 📁 File Upload | Drag & drop or upload JSON files |
| 📋 Copy JSON | One-click formatted JSON copy |
| 🔍 Statistics | View object count, arrays, keys, and values |
| 🎨 Dark Theme | Modern dark theme with glassmorphism effects |
Visit zerwone.github.io/JSON-Viewer
- Clone the repository
git clone https://github.com/zerwone/JSON-Viewer.git- Open
index.htmlin your browser
- Collapsible nodes
- Syntax highlighting
- Item counts
- Data table for arrays
- Property grids
- Type badges
- Styled headers
- Alternating row colors
- Auto column widths
- HTML5 - Structure
- CSS3 - Modern styling with CSS variables
- JavaScript - Vanilla JS, no dependencies
- Paste JSON - Paste your JSON directly into the input area
- Upload File - Click "Upload File" to load a .json file
- Toggle View - Switch between Tree and Card views
- Export - Click "Export Excel" for a styled spreadsheet
Contributions are welcome! Feel free to:
- 🐛 Report bugs
- 💡 Suggest features
- 🔧 Submit pull requests
MIT License - feel free to use this project for personal or commercial purposes.
Made with ❤️ by zerwone