TSV to HTML Converter

Paste anything copied out of a spreadsheet and get tidy table markup, since a spreadsheet copy is already tab separated.

TSV
HTML
Runs locally in your browser

About the TSV to HTML Converter

Whatever you copy from Excel, Numbers or Google Sheets lands on the clipboard as tab separated text. That makes TSV the quickest bridge between a sheet and a web page, and this converter closes it: paste the clipboard, get a table.

Tabs are treated as the delimiter without any guessing, which matters when the data itself is full of commas, such as addresses or currency amounts written in a European format. The first line becomes the header row unless you untick the option, cells are escaped so stray angle brackets stay visible as text, and short rows are padded so every row has the same number of cells and the table never skews.

Two toolbar switches shape the result. A class name is added to the opening tag for Bootstrap, Tailwind or your own stylesheet, and the full page option wraps the table in a small standalone document with borders already styled, which is enough for a quick shareable file.

Going the other way, HTML Table to CSV scrapes a table back into delimited text, and TSV to JSON is the better target when the data is heading into code rather than onto a page.

How to use

  1. Copy a range from your spreadsheet and paste it into the left pane.
  2. Untick First row is header when the data starts on line one.
  3. Add a class name or tick the full page wrapper if you want one.
  4. Copy the markup into your template or download it.

Common questions

Why does my pasted spreadsheet data work here but not in a CSV tool?
Clipboard data from a spreadsheet is separated by tabs, not commas, so a tab aware parser reads it correctly.
What happens when a row has fewer cells than the header?
Missing cells are filled with empty td elements so the column alignment holds.
Can I keep the table unstyled?
Yes. Leave the class field empty and the full page option off, and you get plain markup with no attributes.
Are tabs inside a quoted value handled?
Yes, a quoted field keeps its tabs and stays in one cell, following the same quoting rules as CSV.