tableExport is a lightweight yet customizable jQuery plugin for exporting your html table to other types of documents: CSV, XLS, TXT, SQL and JSON(new). You can specify which table columns to export. Custom filename and head/column delimiters are supported as well.