Table Format Converter

Convert CSV, TSV, Markdown, HTML or JSON tables with an editable grid.

On-device No sign-up Free to use

Convert the table controls

Showing an example. Edit to see your own.

?

Paste a CSV, TSV, Markdown, HTML or JSON table. Detect automatically reads the format. HTML reads common entities; other named entities stay as written. The example starts as CSV with one quoted value.

?

HTML output contains escaped cell text. JSON output writes every value as a string.

?

Used when the input is read as CSV. A TSV input always uses tabs.

?

HTML always uses its first row as names. For CSV, TSV and JSON arrays of arrays, turning this off names columns column_1, column_2 and so on.

?

Applies to the Markdown output, and to every column unless the input already carries its own alignment rule.

?

A precaution for opening a CSV or TSV in a spreadsheet. A cell that begins with = + - or @, including after leading spaces, receives a prefix so it is less likely to run; the prefix changes the stored value and is not a guarantee. A Markdown output is text and keeps the value as it was.

Processed in your browser. Your inputs stay on this device.

Result

Showing an example.

Turn a small CSV into a Markdown table for a README file.

The converter reads two data rows and two columns. Markdown output has the header | id | name |, an alignment rule row, and rows containing 0012/Ana and 0013/Beatrice. The leading-zero IDs remain text.

Loading the tool. Your result will appear here.

https://usefreetools.net/table-format-converter · 20 November 2026

Was this helpful?

How to use Table Format Converter

  1. Paste a CSV, TSV, Markdown, HTML or JSON table, or use the optional grid for a small table.
  2. Use automatic detection or select the input format. For delimited input, check the separator and whether the first row contains headings.
  3. Choose the output format and Markdown alignment where relevant. JSON output writes values as strings; HTML output escapes cell text.
  4. Review the result before copying or downloading. Markdown cells flatten line breaks, so choose CSV or TSV when embedded newlines must be retained.

Example: Table Format Converter

Turn a small CSV into a Markdown table for a README file.

You add
Text: header id,name then rows 0012,Ana and 0013,Beatrice. Read the input as: detect automatically. Write the output as: Markdown table.
You get
The converter reads two data rows and two columns. Markdown output has the header | id | name |, an alignment rule row, and rows containing 0012/Ana and 0013/Beatrice. The leading-zero IDs remain text.

Options

Table text
Paste a CSV, TSV, Markdown, HTML or JSON table. Detect automatically reads the format. HTML reads common entities; other named entities stay as written. The example starts as CSV with one quoted value.
Write the output as
HTML output contains escaped cell text. JSON output writes every value as a string.
Delimiter for CSV or TSV input
For table conversion, choose the separator between source text cells. An automatic choice, when offered, must still be checked against quoted and multiline values.
The first row holds the column names
For CSV, TSV and JSON arrays of arrays, enable this when the first row contains names. Otherwise generated names such as column_1 are used. HTML uses its first row as headings.
Markdown column alignment
Applies to the Markdown output, and to every column unless the input already carries its own alignment rule.
Protect spreadsheet formulas in CSV or TSV output
The table conversion CSV export can prefix formula-like source text, including after leading whitespace. This changes the stored text; review the downloaded cells before using them.

Supported inputs and limits

  • Up to 5 MiB of pasted characters, 10,000 rows and 100 columns.
  • The optional grid accepts 200 rows and 20 columns; advanced text supports larger tables.
  • HTML reads supported table structure and entities without running scripts; unsupported entities stay literal.
  • Outputs escape Markdown/HTML, JSON values remain strings, and CSV/TSV guards may prefix risky text.
  • XLSX conversion belongs to the separate CSV and XLSX tool.

Where your input is processed

This tool does not upload your inputs. See the limits for anything saved on your device.

A Markdown table is a view of a table

The pipe-and-dash shape reads well in a README, but it cannot carry everything a delimited file can. A cell holds one line, and every value is text, so a formula is not evaluated and a number keeps its digits. Converting a CSV into Markdown and back is therefore useful for publishing a snapshot, not for round-tripping a working dataset with embedded line breaks.

Why quoting matters in both directions

A comma, a tab, a quote character or a line break inside a value has to be escaped, or the reader sees extra columns and shifted rows. This page reads a quoted value as one cell and writes it back with the same escaping, so a value such as tea, coffee or a note across two lines survives the move between CSV and TSV. The one place a value must change is a line break inside a Markdown cell, which becomes a space.

Questions about Table Format Converter

Why did a line break in my value become a space?

A Markdown table cell sits on one line, so the break cannot be carried inside it. The value is joined with a space to keep the row valid; choose a CSV or TSV output when the break must be kept.

Can I convert an Excel file here?

No. Export the worksheet as CSV first. This page reads pasted CSV, TSV, Markdown, HTML or JSON tables.

My Markdown table has its own alignment. Which one wins?

The alignment already in the input is kept column by column. Change the Markdown column alignment setting only affects columns that had no marker of their own.

Does the converter change my pasted text?

No. The conversion runs in this browser and produces a new result to copy or download. The text you pasted is left as it was.

Page updated · Project managed by Tony Hines · Report a problem with Table Format Converter

Related reading

All guides