Turn CSV data into an HTML table

For editors publishing tabular data without rebuilding markup, CSV to HTML Table prepares accessible code for the page.

Render CSV data as an accessible HTML table that is ready to place in a page or content draft. You get the result directly in your browser.

How to use

  1. Open the CSV or TXT file you want to publish, or paste its contents into the field provided.
  2. Check which separator the table uses; the page can also work it out on its own.
  3. Trigger the conversion to get the table markup in the result area.
  4. Copy the code and paste it into your page or template, then adjust the styling to match your layout.

Example

A price list kept in a spreadsheet has to appear on a help page. The conversion produces rows and cells together with header markup, which you paste into the page content instead of retyping every entry by hand.

Limits and formats

Where processing happens

The markup is generated on your own machine, inside the browser tab you are using: the loaded file is not sent anywhere else and nothing is kept after you close the page.

Frequently asked questions

Is the generated code ready to paste into any website?

It is standard HTML table markup, so most pages will accept it as it is. Classes and styles still have to be adapted, because each theme handles presentation in its own way.

Does the first CSV row become a normal row?

No, it is treated as the table header, so its values become the header cells that label each column underneath for the whole table.

Can I convert a table that has no header?

Yes, but keep in mind that the first line will be read as the header. Add a title row to your CSV if you want every record to sit in the table body.

Tools in the same category