Convert HTML Tables to
Excel Files

API that preserves CSS styles, colors, and merged cells.

🎨 Style Mirroring

Every background-color, border-style, and font-weight is accurately translated to XLSX format.

🔗 Complex Layouts

Full support for Rowspan and Colspan. Your complex data structures will look like the web original.

🚀 High Performance

Powered by an optimized engine to handle thousands of rows in a blink of an eye.

Simple Integration

// Add js client <script src="https://html2excel.1bite.ru/js/HtmlTableToExcelClient.min.js"></script>

// Get your Excel file with one request await tableToExcel({tableId:'YOUR-TABLE-ID'});

Examples

1.Common styles.

Font style, color and decoration, text alignment, background(row, cell).

Name Category Price
iPhone 15 Smartphone 990 $
MacBook Air Laptop 1 200 $

2.Cell merge example.

Colspan/Rowspan.

Group А Total
Subgroup 1 Subgroup 2
100 200 300
colspan 2

2.1 Merge with borders.
Group А Total
Subgroup 1 Subgroup 2
2026.04.15 11:18 16.04.2026 11:18 30.1
colspan 2

3. Borders

Border styles and colors.

Double red Dashed with background
Thick right border Dotted bottom