XPath to CSS Selector Converter
Turn XPath into CSS selectors — and say plainly when CSS cannot express one.
Pull a table out of any HTML — rowspans expanded, links kept, straight to CSV.
Drop an HTML file here, or click to choose one
Converted on your device — the file is never uploaded
The HTML Table to CSV Converter extracts any table from pasted HTML, expanding rowspan and colspan so every value lands in the right column, and hands it back as CSV with a preview.
The data you need is on a web page, inside a table, and there is no download button. Copying and pasting works until the table has merged cells or the page has five tables and you get the wrong one — and then every row after the merge is shifted by a column.
Paste the page source, or just the table, and get CSV. Every table in the HTML is listed with its caption and row count so you can pick the right one. Cells spanning rows or columns are expanded so each value lands in the column it visually occupies, header rows in <thead> or made of <th> cells become the CSV header, <br> inside a cell becomes a real line break, and link text can keep its address alongside it. Nothing is fetched and nothing is uploaded — the HTML you paste is parsed in your own browser.
rowspan and colspan are filled out so columns never shift out of line.
Tables are shown with caption and row count, so you take the right one.
A <thead> or a row of <th> cells becomes the CSV header row.
Keep link text only, or link text with its address alongside.
The HTML you paste is parsed in your browser; no page is requested and nothing is uploaded.
Use View Source, or right-click the table and choose Inspect, then copy the <table> element.
A whole page is fine — every table in it is found and listed.
Choose by caption and row count, and decide how merged cells are filled.
Check the preview underneath before you take it away.
No, and that is deliberate: nothing here touches the network. Copy the HTML from the page — View Source, or Inspect and copy the table element — and paste it in.
A cell with rowspan or colspan is expanded across every position it covers, so the columns stay aligned. You can repeat the value in each one or leave the extra cells blank.
All of them are listed with their caption and row count. Pick the one you want; tables nested inside another table are skipped so you never get a fragment.
No. Only the markup is read, so CSS and scripts are ignored. Rows that a page draws with JavaScript after loading must be copied from the rendered DOM using Inspect.
What people who use the HTML Table to CSV Converter think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the HTML Table to CSV Converter. It takes half a minute and no account.
Write the first reviewTurn XPath into CSS selectors — and say plainly when CSS cannot express one.
YAML back into well-formed XML — lists as repeated tags, @keys as attributes.
Turn "two hundred and forty-five" or "one lakh twenty thousand" back into digits.
Turn a CSV into a printable PDF table with a title and repeating headers.
Turn Apple M4A and AAC audio into MP3 that plays on anything.
YAML config into TOML tables — the format Cargo, Hugo and pyproject.toml want.
আজকের বাংলা তারিখ — any English date as a Bangla (Bangabda) date, and back.
SutonnyMJ and Bijoy Bangla into real Unicode — searchable, copyable, font-free.