TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

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.

1 0 Language: JavaScript License: MIT Updated: 10mo ago

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.

Smart Table Loader

Demo: https://basemax.github.io/smart-table-loader/

๐Ÿš€ Features

  • Upload .csv, .xls, .xlsx, or .json files
  • 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

  1. Open index.html in your browser.
  2. Click on the "Upload" field and select a CSV, Excel, or JSON file.
  3. 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:

๐Ÿ“œ License

This project is inspired by csv-to-html-table, and I have enhanced it with many additional features.

MIT License ยฉ 2025 Max Base

0 AIs selected
Clear selection
#
Name
Task