JavaScript HTML Table Excel Export: Export HTML table data to Excel format

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 65%Total: 341 All time: 122 This week: 4Up
Version License JavaScript version Categories
table2excel 2BSD License1.0HTML, Files and Folders
Description Author

This object can export HTML table data to Excel format.

It takes a given HTML table on the current page and extract their contents to put on a template in the Excel XML format. A data URL is returned with the whole table data in the Excel format.

If the browser is Internet Explorer it creates an ActiveX Excel.Application object to open the Excel program. Then it traverses the HTML table to add cells to a spreadsheet opened in Excel.

Innovation Award
JavaScript Programming Innovation award winner
April 2015
Excel is a very popular spreadsheet application for editing tabular data.

This package can take a given HTML table on a Web page and export it in such way that makes the browser open the table data on Excel or on a compatible application running on the user machine.

Manuel Lemos
Picture of Gianluca Zanferrari
  Performance   Level  
Name: Gianluca Zanferrari <contact>
Classes: 6 packages by
Country: The Netherlands The Netherlands
Age: 56
All time rank: 81 in The Netherlands The Netherlands
Week rank: 6 Up2 in The Netherlands The Netherlands Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.html Example example
Plain text file table2Excel.js Class class itself

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:122
This week:4Up
User Ratings User Comments (1)
 All time