TSV to HTML Table Converter
Copy cells from any spreadsheet, paste them here and get HTML table code instantly. Tab-separated data becomes rows and columns, the first row becomes the headings, and the code is ready for websites, blogs and emails.
How to Convert TSV to an HTML Table
Quick answer: copy cells from your spreadsheet, paste them here, and copy the table code into your page.
-
1
Copy the cells
Include the header row.
-
2
Paste them here
Or open a .tsv file.
-
3
Choose options
Header, class and styling.
-
4
Copy the code
Or download the .html file.
What You Get
From Spreadsheet to Web Page
When you copy cells in a spreadsheet, they are placed on the clipboard as tab-separated text. Pasting that into a website editor usually gives a jumbled line of text. This converter reads the tabs and line breaks and builds proper HTML table code, so your timetable, price list or results look like a table on the page.
A Clean HTML Table
The result is a standard HTML table with a <thead> for the column names and a <tbody> for the data, which is the structure that browsers, screen readers, content systems and email builders handle best. Every value is escaped, so characters such as <, > and & in your data show as text instead of breaking the page.
Styling Options
Add a class name gives the table class="data-table", so you can style it from your site's style sheet. Include simple styling adds a short style block with borders, padding, a shaded header and striped rows, which is handy for pages without their own table styles and for quick previews. Indent the HTML makes the code easy to read; turn it off for the most compact output.
Where to Paste the Table
Most website builders and content systems have an HTML block or code view: paste the table there. In blog editors, switch to the HTML or text tab first. For emails, paste into the HTML source of the template; tables are the most reliable layout in email programs. Keep the styling option on when the destination has no table styles of its own.
More Conversions
Need the data in another format? Try TSV to CSV or CSV to JSON. To check text before or after converting, the Word Counter and Remove Extra Spaces tools help, and to show the HTML code itself on a page, use HTML Encode.
Example
The sample opening hours become a table with the headings Day, Open and Close. Sunday's empty Close cell stays empty, so the columns stay aligned. Turn on styling and paste the code into your contact page.
Who Uses TSV to HTML?
Shop and restaurant owners publishing opening hours and menus, sports clubs posting fixtures and league tables, teachers sharing timetables, and office teams placing tables from spreadsheets into intranet pages and newsletters, all without retyping a single cell.
Practical Tips
Select the whole table in your spreadsheet, including the header row, before copying, so the headings come across too. Merged cells are copied as a single value followed by empty cells, so unmerge them first for a cleaner table. Formatting such as bold text and colours is not copied, because the clipboard text holds only the values; add styling afterwards with the class name or the simple styling option. Very wide sheets work as well, but tables with more than six or seven columns can be hard to read on phones, so trim columns you do not need.
If the result looks shifted, check for line breaks inside cells in the original sheet; remove them, copy again and paste.
Private, Free and Instant
The converter is free and handles large tables. There is no sign-up, no limit beyond the 5 MB file size and nothing to install. Everything runs in your browser, so documents, exports and private data are never uploaded or stored. Open a file from your device or paste text from another program, then copy the result or download it with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.
TSV to HTML Tables
Tab-separated data copied from a spreadsheet can be turned into an HTML table in one step. The first row becomes the header and each following line becomes a row.
Tips
Check that no cell contains line breaks, which would break the row. Add a caption and keep the table narrow enough for phones. See also CSV to HTML.
Frequently Asked Questions
Questions about TSV to HTML