CSV to HTML Table

Turn delimited data into a semantic HTML table with headers.

Input

Processed on your device

How to use CSV to HTML Table

Turn CSV records into an HTML table for viewing in a browser or including in website documentation. The output can be downloaded and opened without a spreadsheet program.

  1. Paste the CSV, choose a delimiter and convert.
  2. Check the headers and the cell text in the generated document before adapting it to your site.
  3. Select Convert and review the result.
Example input
SKU,Item,Quantity
00104,"Pocket, notebook",2
00105,Pencil,3

Example use

Make a browseable schedule from a CSV grid, keeping the first row as logical table headings.

Output and compatibility

The result is an HTML document containing a plain table. CSV values are escaped as text rather than interpreted as embedded markup. Cell style, sorting and filtering are not carried from another app.

Troubleshooting

If a row has too many or too few columns, check CSV quoting and its separator before regenerating the HTML.

Run HTML Table to CSV to turn a compatible HTML table back into data.

Frequently asked questions

Will CSV cells containing angle brackets become HTML tags?

Values are escaped as text.

Can I use Markdown instead?

Use CSV to Markdown Table when the destination accepts Markdown tables.

Find a tool