HTML Table to TSV Converter
This HTML to TSV converter finds the table elements in a page and turns the one you choose into tab-separated rows you can paste straight into a spreadsheet. A th row or a thead is recognised as the header; a table with neither is treated as all data. Markup inside a cell — links, spans, line breaks, bold text — is reduced to the text a reader would actually see, and HTML entities such as & and ' are decoded, so you get the content of the page rather than its source. When a document contains several tables you can step through them by number. Everything runs in your browser.
How it works
Finds the <table> elements in the markup and turns the one you pick into tab-separated rows. A <th> row or a <thead> is used as the header; if the table has neither, every row is treated as data.
Inner markup inside a cell — links, spans, <br> — is reduced to its text, and entities such as & are decoded, so the output is the text you would see on the page rather than the source behind it.
The conversion runs entirely in your browser — nothing you paste or upload is sent to a server.
How to convert an HTML table to TSV
- Paste the page source — or just the
<table>element — into the input on the left. - If the page contains several tables, step through them with the table number box.
- Copy the tab-separated rows and paste them straight into a spreadsheet.
Getting the markup in the first place
In any browser, right-click the table, choose Inspect, find the enclosing
<table> element in the panel, then right-click it and copy its outer HTML. You can paste just
that, or paste the whole page source and pick the table by number — the note under the output tells you how many
were found.
What happens to the markup inside a cell
Real tables are rarely plain text. Cells hold links, spans, bold runs, line breaks and stray whitespace from the template that produced them. All of that is reduced to the text a reader would actually see, so a cell containing a link gives you the link text rather than the anchor tag.
HTML entities are decoded at the same time: & becomes an ampersand,
' becomes an apostrophe, and non-breaking spaces become ordinary ones. Without that step a
spreadsheet would show the escape sequences rather than the characters.
How the header is found
A row made entirely of <th> cells, or any row inside a <thead>, is taken as
the header. Tables that use <th> down the left-hand edge instead are handled too — only the
first qualifying row is treated as a header, so the remaining rows are not swallowed. A table with no header cells
at all is treated as data throughout.
Ragged rows
Rows are padded to the width of the widest one, so a table using colspan or missing a trailing cell
still produces a rectangular result you can paste without the columns drifting.
Common use cases
- Lifting a reference table out of documentation into a spreadsheet.
- Capturing a report rendered in a web admin panel that has no export button.
- Turning a wiki table into data you can sort and filter.
Frequently asked questions
How do I convert an HTML table to TSV?
Paste the page source — or just the table element — into the left panel. The tab-separated rows appear on the right, ready to paste into a spreadsheet.
What if the page has more than one table?
The note under the output tells you how many were found. Use the table number box to step through them until you reach the one you want.
What happens to links and formatting inside a cell?
They are reduced to their text. A cell containing a link produces the link text, not the markup, which is what you want in a spreadsheet.
Are HTML entities decoded?
Yes. Named entities like & and numeric ones like ' are turned back into the characters they represent, so the output reads as normal text.
How is the header row identified?
A row made entirely of th cells, or any row inside a thead, is used as the header. If a table has neither, every row is treated as data.
Is the page I paste sent anywhere?
No. The markup is parsed in your browser and nothing is transmitted.
Related tools
CSV to HTML Table Converter
This CSV to HTML converter builds a proper, accessible table with every cell escaped.
TSV to HTML Table Converter
This TSV to HTML converter builds a real table with a proper thead, escaped and ready to paste.
XML to TSV Converter
This XML to TSV converter turns repeated elements into tab-separated rows, attributes included.