BaseMax / smart-table-loader
Smart Table Loader is a lightweight, browser-based tool that lets you upload and display CSV (comma separated values), Excel (.xls/.xlsx), or JSON files in a dynamic and interactive HTML table powered by DataTables.js. This tool is great for quick data analysis without the need for installing heavy software.
README
Smart Table Loader
Smart Table Loader is a lightweight, browser-based tool that lets you upload and display CSV, Excel (.xls/.xlsx), or JSON files in a dynamic and interactive HTML table powered by DataTables.js. This tool is great for quick data analysis without the need for installing heavy software.
Demo: https://basemax.github.io/smart-table-loader/
๐ Features
- Upload
.csv,.xls,.xlsx, or.jsonfiles - Automatic detection and sanitization of table headers
- DataTables integration with:
- Column visibility toggling
- Export to Excel, CSV, Copy
- Responsive and scrollable tables
- State saving (remembers table settings)
- File info display before rendering
- Minimal and clean UI using Google Fonts
๐ง Installation
Clone the repository and open index.html in any modern web browser:
git clone https://github.com/BaseMax/smart-table-loader.git
cd smart-table-loader
open index.html # or double-click to open in browser
๐ Project Structure
smart-table-loader/
โโโ css/
โ โโโ buttons.dataTables.min.css
โ โโโ jquery.dataTables.min.css
โโโ js/
โ โโโ papaparse.min.js
โ โโโ xlsx.full.min.js
โ โโโ jquery-3.7.1.min.js
โ โโโ jquery.dataTables.min.js
โ โโโ dataTables.buttons.min.js
โ โโโ buttons.html5.min.js
โ โโโ buttons.colVis.min.js
โ โโโ buttons.print.min.js
โ โโโ lib.js # Main file logic
โโโ index.html # UI entry point
โโโ data.csv # Example data file
โโโ LICENSE
โโโ README.md
๐ Demo Usage
- Open
index.htmlin your browser. - Click on the "Upload" field and select a CSV, Excel, or JSON file.
- View your data rendered in a feature-rich HTML table.
๐ Validate CSV Files
Use CSVLint.io to validate your CSV files before uploading.
๐งช Dependencies
This project uses:
- PapaParse (for parsing CSV)
- SheetJS (xlsx) (for Excel)
- DataTables and extensions
๐ License
This project is inspired by csv-to-html-table, and I have enhanced it with many additional features.
MIT License ยฉ 2025 Max Base

