A modern, elegant web application for uploading, viewing, editing, and exporting JSON files in a beautiful table format.
- Drag & Drop Upload - Simply drag your JSON file onto the page
- Smart Table View - Arrays of objects automatically display as editable tables
- Inline Editing - Click any value to edit, with type preservation
- Add/Remove Rows - Easily modify array data with + and delete buttons
- Visual Change Tracking - Modified cells are highlighted in yellow
- Expand/Collapse - Navigate nested structures with collapsible sections
- Export JSON - Download your edited JSON with proper formatting
- Dark Theme - Beautiful modern UI with glassmorphism effects
-
Clone the repository:
git clone https://github.com/yourusername/json-table-editor.git
-
Open
index.htmlin your browser - no build step required! -
Upload a JSON file and start editing.
- Drag and drop a
.jsonfile onto the upload zone - Or click to browse and select a file
- Click the arrow (▶) to expand nested objects and arrays
- Arrays of objects with similar keys display as editable tables
- Use "Expand All" / "Collapse All" buttons for quick navigation
- Click any value cell to edit inline
- Press
Enteror click outside to save - Press
Tabto move between cells in table view - Modified cells show a yellow highlight
- Click "+ Add Row" to add a new item
- Click the trash icon to delete a row
- Click "Export JSON" to download your changes
- File is saved with
_editedsuffix
- Dark Theme with purple/cyan accent colors
- Glassmorphism card effects
- Color-coded Types:
- 🟣 String (purple)
- 🔵 Number (blue)
- 🟢 Boolean (green)
- ⚫ Null (gray)
- 🟠 Object (orange)
- 🩷 Array (pink)
json-table-editor/
├── index.html # Main HTML structure
├── styles.css # Modern dark theme styling
├── app.js # Core application logic
└── README.md # This file
- HTML5 - Semantic structure
- CSS3 - Custom properties, flexbox, grid, animations
- Vanilla JavaScript - No dependencies!
MIT License - feel free to use this project for personal or commercial purposes.
Contributions are welcome! Feel free to:
- Report bugs
- Suggest features
- Submit pull requests