Basic Table To CSV Exporter - jQuery Export_CSV

File Size: 3.44 KB
Views Total: 3215
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
Basic Table To CSV Exporter - jQuery Export_CSV

Yet another basic Table To CSV exporter that generates a CSV file from an HTML table you specify.

With support for custom column names, file name, date & time separators and more.

See also:

Basic usage:

1. Add both jQuery JavaScript library and the export_csv_plugin.js script to the HTML page.

<script src="" 
<script src="export_csv_plugin.js"></script>

2. Export your HTML table into a CSV file. Possible parameters:

  • '.demo': the selecter of your HTML table
  • 3: the number of table columns
  • ['Column 1', 'Column 2', 'Column 3']: an array of column names
  • 'download': file name
  • '-': time and date separator
  • 6: the length of random digits
    this, // Do not change
    ['Column 1', 'Column 2', 'Column 3'], 



  • JS Update

This awesome jQuery plugin is developed by ningxiaofa. For more Advanced Usages, please check the demo page or visit the official website.