Skip to content
Light weight jQuery plugin for export HTML table to excel file
Branch: master
Clone or download
Latest commit 6837cb7 Mar 14, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information. Update Mar 14, 2018
jquery.tableToExcel.js table to excel Mar 14, 2018
jquery311.min.js Add files via upload Mar 14, 2018


Light weight jQuery plugin for export table to excel file


Website and demo here:

Get started

Include jQuery and the plugin.

<script src=""></script>
<script src="js/jquery.tableToExcel.js"></script>

Create Excel file form HTML table

Add plugin any table with CSS selector

Company Contact Country
Alfreds Futterkiste Maria Anders Germany
Centro comercial Moctezuma Francisco Chang Mexico
Ernst Handel Roland Mendel Austria
Island Trading Helen Bennett UK
Laughing Bacchus Winecellars Yoshi Tannamuri Canada
Magazzini Alimentari Riuniti Giovanni Rovelli Italy

Apply the plugin to HTML table element on your HTML page and get excel file as like the table.


    //... or
    $('button').click(function () {


Download xlx file



  • complete — Callback function trigged after the detection is completed

    complete: function () {
    	// ...
You can’t perform that action at this time.