Table Converter

Inputs

Results

Preview

Tables move between tools all the time: from a spreadsheet into a README, from a web page into a spreadsheet, from a CSV export into a blog post. This converter reads CSV, tab-separated text (what you get when you copy cells from Excel or Google Sheets), Markdown and HTML tables, and writes any of them back out.

How to use it

  1. Choose the format you have (From) and the one you want (To).
  2. Paste your table, open a file, or tap Try an example.
  3. Check the preview, then copy or download the result.

Example: the CSV “Name,Age” / “Ada,36” / “Alan,41” becomes a Markdown table with the columns padded to line up: | Name | Age |, | ---- | --- |, | Ada | 36 |, | Alan | 41 |. Column alignment (:--- or ---:) in a Markdown table is kept.

Questions and answers

How do I convert a table from Excel or Google Sheets?

Select the cells, copy them and paste here with From set to TSV: spreadsheets copy cells as tab-separated text.

Is HTML from a web page safe to paste?

Yes. The HTML is only read, never shown or run: the tool takes the text of each cell and ignores everything else, including scripts and links.

What does the formula protection do?

A cell starting with =, +, - or @ can run as a formula when a CSV is opened in a spreadsheet. With the option on, such text gets a ‘ in front so it stays text. Plain numbers like -5 are left alone.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
fromInput format: csv, tsv, markdown or html.
toOutput format: markdown, html, csv or tsv.
header1 if the first row is a header, 0 if not.
safe1 to protect CSV/TSV output against spreadsheet formulas.

Example: https://toolabelle.com/table-converter/#from=csv&to=html&header=1&safe=1

Related tools