TSV to HTML
Turn tab-separated data into an HTML table.
TSV to HTML Table Converter Online
The TSV to HTML converter creates an HTML <table> from tab-separated values. Since every spreadsheet copies cells as TSV, this is the quickest route from a range in Excel, Google Sheets, or Numbers to a table on a web page, in a blog post, or inside an HTML e-mail — no plugins, no export dialogs.
Paste, preview, publish
- Copy a block of cells, including the header row, from your spreadsheet.
- Paste it into the input. The HTML markup appears on the right and a rendered preview appears below.
- Adjust the options, then copy the code into your CMS's HTML editor or download it.
The preview is sandboxed and uses neutral styling, so what you see is the structure your own stylesheet will receive.
Options
- Caption – adds a
<caption>element that describes the table for readers and assistive technology. - CSS class – attaches one or more class names so your theme or a framework styles the table.
- Output
<thead>– writes column names as<th>cells in a<thead>section; turn off for a body-only table. - Border & padding attributes – classic
border,cellpadding, andcellspacingattributes that make the table readable where CSS is limited, like many e-mail clients. - Indent markup – readable, line-per-row HTML or a compact single line.
- First row is a header – whether the first TSV line holds column names.
Safe output
Every value is HTML-escaped. Text such as <b> or AT&T is shown literally rather than interpreted as markup, which prevents broken layouts and accidental script injection when you publish data you did not write yourself.
Handy for
Status reports pasted into internal wikis, comparison tables in articles, order summaries in transactional e-mails, and documentation that needs a quick reference table generated from a spreadsheet.
Related tools
For comma-separated input use CSV to HTML; to extract a table from a web page, use HTML to TSV or HTML to CSV. Other TSV conversions: TSV to JSON and TSV to CSV.
Frequently Asked Questions
How do I turn a Google Sheets range into an HTML table?
Select the cells in Google Sheets (or Excel), copy them, and paste into the input box. The clipboard contains tab-separated text, which this tool converts into a <table> with the first row as <th> header cells. Copy the HTML or download it as a file.
Why does my table have no borders on my website?
Your site's stylesheet may override the border attributes. Either keep “Border & padding attributes” on and check your CSS, or switch it off and add a class name that your stylesheet already styles, such as Bootstrap's “table table-bordered”.
Does the tool keep formatting such as bold text or colours?
No. Copied spreadsheet cells arrive as plain text, so only the values are converted. Add styling afterwards through the CSS class option or your own stylesheet.