Convert between HTML tables and JSON, CSV, XML, SQL INSERT statements in both directions. Paste source data or an HTML table and get clean output instantly in your browser — free, no signup.
The HTML Table Converter handles bidirectional conversion between HTML tables and four common data formats: JSON arrays, CSV, XML and SQL INSERT statements. Paste any supported format on the left, choose the target format on the right, and copy or download the result. Conversion runs entirely in your browser using a Web Worker so large datasets never freeze the UI.
QDoes this tool send my data to a server?
No. All conversion logic runs in your browser via a Web Worker. Nothing is transmitted externally.
QWhat HTML table structure does the output use?
Output uses a standard <table> with a <thead> containing <th> header cells and a <tbody> with <tr>/<td> data rows. The table is unstyled by default so you can apply your own CSS.
QCan I convert an HTML table back to JSON?
Yes. Paste the HTML table into the input panel and select HTML → JSON as the conversion direction. The converter reads the first <thead> row as column headers and each <tbody> row as a JSON object.
QWhat SQL dialect does the SQL output use?
Standard ANSI SQL INSERT INTO syntax compatible with MySQL, PostgreSQL, SQLite and SQL Server. The placeholder table name is 'table_name' — replace it with your actual table.