Table Editor: LaTeX, Markdown and HTML tables
Edit a table in a spreadsheet grid or paste one from Excel, then copy booktabs LaTeX, aligned Markdown, HTML or CSV. Merged cells, escaping done. Free, no ads.
Tab moves right, Enter moves down, Shift with either goes back. Tab in the last cell adds a row. Paste cells from a spreadsheet straight into the grid.
Paste a whole table Excel, Google Sheets, CSV, Markdown or LaTeX tabular
How to use Table Editor
- Type into the grid, or paste a table from Excel, Google Sheets, a CSV file, a Markdown table or a LaTeX tabular into the paste box. Tab moves right, Enter moves down, and Tab in the last cell adds a row.
- Set each column's alignment with Left, Centre or Right, switch the header row on or off, and use Bold, Italic or Merge on the cell you are in. Merge joins the cell with the one to its right.
- Pick an output: LaTeX, Markdown, HTML or CSV. For LaTeX choose booktabs, plain lines or a full grid, and add a caption, label and centering if you want a floating table.
- Press Copy to put the code on your clipboard, or Download to save it as a file. Check the live preview below the grid; your table stays in this browser when you reload.
booktabs in one minute
The booktabs package gives LaTeX tables the look of a typeset book: a heavier \toprule
and \bottomrule, a lighter \midrule under the header, extra space around each rule and
no vertical lines. Add \usepackage{booktabs} to your preamble once. To join cells across columns,
write \multicolumn{2}{c}{text}; this editor does that when you press Merge right.
Questions
How do I make a booktabs table?
Leave the LaTeX style on booktabs, the default. The output uses \toprule, \midrule under the header row and \bottomrule, with no vertical lines, and starts with a reminder to add \usepackage{booktabs} to your preamble.
How are & and % escaped?
Every special character is escaped for you: & becomes \&, % becomes \%, and the same for $, #, _, { and }. A backslash becomes \textbackslash{}, ~ becomes \textasciitilde{} and ^ becomes \textasciicircum{}, so the table compiles as typed.
Can I paste a table from Excel or Google Sheets?
Yes. Copy the cells in the spreadsheet and paste them into the paste box. They arrive as tab-separated text, including cells with line breaks in quotes. CSV, Markdown tables and simple LaTeX tabulars are recognised too.
How do merged cells export?
In LaTeX a merged cell becomes \multicolumn{n}{align}{text}, and in HTML a cell with colspan. Markdown and CSV have no merged cells, so the text goes in the first column and the covered columns stay empty.
How do I align columns in a Markdown table?
Pick Left, Centre or Right for the column. The Markdown separator row gets :--- for left, :---: for centre and ---: for right, and every cell is padded with spaces so the pipes line up in plain text too.
Is my table uploaded anywhere?
No. The grid, the conversion and the preview all run in your browser. Your table is saved only in this browser's local storage so it survives a reload, and Clear removes it.
Is it free?
Yes. No ads, no account, no row limits and no paid tier.