Convert TSV to HTML Table Online
Convert TSV files to an HTML table directly in your browser. Copy the markup or download a ready-to-use HTML file.
About converting TSV to HTML
TSV to HTML is handy for publishing a tab-delimited result as a web page without a build step: a supplementary table on a lab or project website, a summary produced by an analysis pipeline, or a static page of sample metadata. Anyone with a browser can then read the table without opening a spreadsheet.
The output is a plain <table> element with a header row and one row per TSV line. It has no styles, scripts or page wrapper, so it drops into an existing template, a Markdown page or a CMS HTML block, where the site's own table styles apply.
Text is escaped, so characters common in scientific data display correctly. Thresholds like <0.001, labels like R&D and quoted strain names are shown as text instead of breaking the markup. Tabs never reach the HTML, because they are the delimiters. A quoted TSV field that contains a line break keeps it inside the cell, where browsers show it as a space. Only the first 1,000 rows are included, since a static page longer than that gets slow to scroll.
Worked example
A small sample file, converted with the default settings.
Input (TSV)
symbol chrom description tpm detected
TP53 chr17 tumor protein p53 24.7 true
BRCA1 chr17 BRCA1 DNA repair associated 8.13 true
NT5C chr17 5', 3'-nucleotidase, cytosolic 3.4 true
SREBF2 chr22 sterol regulatory element binding transcription factor 2 falseOutput (HTML)
<table>
<thead>
<tr><th>symbol</th><th>chrom</th><th>description</th><th>tpm</th><th>detected</th></tr>
</thead>
<tbody>
<tr><td>TP53</td><td>chr17</td><td>tumor protein p53</td><td>24.7</td><td>true</td></tr>
<tr><td>BRCA1</td><td>chr17</td><td>BRCA1 DNA repair associated</td><td>8.13</td><td>true</td></tr>
<tr><td>NT5C</td><td>chr17</td><td>5', 3'-nucleotidase, cytosolic</td><td>3.4</td><td>true</td></tr>
<tr><td>SREBF2</td><td>chr22</td><td>sterol regulatory element binding transcription factor 2</td><td></td><td>false</td></tr>
</tbody>
</table>What changes when you convert TSV to HTML
- The TSV header becomes a row of <th> cells in <thead>.
- Each TSV line becomes a <tr> with one <td> per column in <tbody>.
- NT5C's apostrophes are left as they are, since they are safe in HTML text. The characters & < > and " are escaped.
- SREBF2's missing tpm is an empty <td></td>, so the columns stay aligned.
- tpm values are written as parsed numbers (24.7, 8.13), with no rounding and no thousands separators.
Your file is processed locally in your browser and is never uploaded. The free limit is 50 MB per file; larger files work if your device has the memory for them.
Frequently Asked Questions
How do I add the table to a Hugo site?
Paste it into a Markdown content file. Hugo's default Markdown renderer strips raw HTML, so set markup.goldmark.renderer.unsafe = true in your site config, or put the table in a shortcode or layout template instead.
Is the table accessible to screen readers?
Mostly. Header cells are real <th> elements, so screen readers announce column names as users move through the cells. Add a <caption> describing the table and scope="col" on each header cell for more robust markup.
Can I make gene symbols link to a database?
Not during conversion, because cell text is escaped. After converting, use a regular-expression replace in a code editor to wrap each symbol in a link, for example to https://www.genecards.org/cgi-bin/carddisp.pl?gene=TP53.
What is HTML format?
HTML (HyperText Markup Language) is the markup language of the web. An HTML table can be pasted directly into a web page or opened in a browser — no CSS or JavaScript required.
Related Tools
TSV Viewer Online
View and inspect TSV files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.
Convert TSV to CSV Online
Convert TSV files to CSV format directly in your browser. No upload required — your data never leaves your device.
Convert TSV to Parquet Online
Convert TSV files to Parquet format directly in your browser. No upload required — your data never leaves your device.
Convert TSV to Excel Online
Convert TSV files to Excel format directly in your browser. No upload required — your data never leaves your device.
Convert TSV to JSON Online
Convert TSV files to JSON format directly in your browser. No upload required — your data never leaves your device.