Skip to content

CSV to HTML Table

Drop a CSV and get an HTML table at once: a full page or just the table, ready to copy or download.

Processed on your device. Nothing is uploadedHow to check

Try a sample file:

You can also paste CSV or JSON text with Ctrl+V (⌘+V on a Mac).

Paste text instead

Pasted text stays in this tab and is never sent anywhere.

Publish a spreadsheet on a web page, in an email template or in a CMS without hand-writing table tags. Choose, drop or paste a CSV or TSV file and the HTML appears at once: a <table> with the header row in <thead> and the data in <tbody>. Pick Full page for a complete UTF-8 HTML file that opens in any browser, with each cell set to dir="auto" so Arabic reads right to left, or Table only to paste the <table> into a page you already have. Text is escaped, so <, > and & in your data show as written. The file is read in your browser and never uploaded.

Why use CSV to HTML

  • Private

    Your CSV is turned into HTML by your own browser and never sent to a server.

  • Full page or table only

    Download a standalone page that opens in any browser, or copy just the <table> for your own site or template.

  • Works offline

    Once this page has loaded, it keeps working without an internet connection.

How it works: convert CSV to an HTML table

  1. Add your CSV

    Choose or drop a .csv or .tsv file, paste CSV text into the box, or try a sample.

  2. Choose the output

    Full page writes a complete HTML file; Table only writes just the <table> element.

  3. Copy or download

    Copy the HTML to your clipboard or download it as a .html file with the CSV's name.

What the CSV to HTML converter handles

  • Files: .csv and .tsv, or CSV text you paste; comma, semicolon, tab and pipe delimiters.
  • Encodings: UTF-8, UTF-16 (when the file starts with a byte order mark), Windows-1256 Arabic and Windows-1252 Western European text, written as a UTF-8 page.
  • Structure: <table> with the header row in <thead> and every other row in <tbody>.
  • Arabic and mixed text: in a full page each cell has dir="auto", so each cell reads in its own direction.
  • Escaping: <, > and & in cells are written as entities, so data is never read as markup.

CSV to HTML: what it can't do

  • The table carries no styling; add your own CSS for borders, colours and widths.
  • The preview shows the first 5,000 lines; Copy and Download always take the whole HTML.

CSV to HTML: questions and answers

Is my file uploaded?
No. Your browser reads the CSV and writes the HTML on your device. Pasted text stays in this tab and is never sent anywhere.
What is the difference between Full page and Table only?
Full page writes a complete HTML file with a UTF-8 declaration that you can open in a browser on its own. Table only writes just the <table>…</table> to paste into an existing page, a CMS or an email template.
Will Arabic text display correctly?
Yes. The page is UTF-8 and, in Full page, each cell has dir="auto", so Arabic cells read right to left while English and number cells stay left to right.
Is it safe if my data contains < or & characters?
Yes. Those characters are escaped, so a cell such as <b>5 & 6</b> shows as that text instead of being read as HTML.
Why does the table look plain?
The converter writes clean table markup with no styling, so it fits your site's look. Add CSS for borders, padding and colours.
Can I view the CSV as a table without converting?
Yes. The CSV viewer opens the file as a sortable, searchable table in your browser.
How do I convert a CSV file to an HTML table?
Open or paste the CSV, choose Full page or Table only, then copy the HTML or download it as a .html file. OpenAnyDoc writes the table in your browser, so the data is never uploaded.

Why it's private: your files never leave your browser

Most online viewers upload your file to a server, so a copy of it leaves your device. OpenAnyDoc works the other way round: your browser reads the file and draws it on your screen. Nothing is uploaded, there is no account, and the file is gone from memory when you close the tab, so there is nothing for us to store, see or lose.

How we tell you about new features

Announcements are based on the release date shown to everyone, and nothing is stored on your device or sent anywhere.