Back to home

Table to Markdown or LaTeX

Choose a spreadsheet or CSV, pick the sheet and the format, and copy the Markdown or LaTeX table. Numbers are right-aligned and special characters are escaped.

  1. Choose an Excel or CSV file
  2. Pick Markdown or LaTeX
  3. Copy or download the code
Loading the tool...

Your files never leave your device

What this tool does

It turns a spreadsheet into text that you can paste straight into a README, a forum post or a LaTeX paper. Choose an Excel or CSV file, pick the sheet, then select Markdown or LaTeX as the output. The code appears in a box, ready to copy or download, and a line shows how many rows and columns were read.

A worked example

Take a CSV with two columns, Item and Price, and the rows Tea with 3.5 and R&D with 12. In Markdown you get a header line, a separator line where the Price column is marked as right-aligned, and one line per row. In LaTeX the same data becomes a tabular where the ampersand in the name is written as backslash and ampersand, so it does not break the column structure.

If you pick the LaTeX style with booktabs, remember to add the booktabs package to the preamble of your document.

Limits and good practice

Tables up to about 100,000 rows are accepted, but the practical limit is your device memory, and a table that long is not useful on a page. Check wide tables in a preview, since Markdown renderers differ in how they display many columns.

Markdown has no merged cells or colors, so only the plain values are exported. Clean the spreadsheet first, removing empty rows and stray notes, because every row of the sheet becomes a row of the table.

Frequently asked questions

Which files can I use?

Excel files (.xlsx, .xls, .ods) and CSV files.

Which LaTeX style do I get?

Either a classic tabular with lines or a booktabs table, which needs the booktabs package in your document.

Are special characters escaped?

Yes. Pipes in Markdown and characters like ampersand, percent and underscore in LaTeX are escaped, so the table does not break.

Does it handle several sheets?

Yes. Pick the sheet you want from the list and the code updates.

How big can the table be?

Up to about 100,000 rows, limited by your device memory.

Is anything uploaded?

No. The file is read on your device and the table never leaves it.

Related tools

Save this tool to use it later

Add this page to your browser bookmarks by pressing Ctrl + D