Visual LaTeX Tables
Paste a table from Excel, Google Sheets or a CSV file and get the LaTeX for it, with a preview of how it will look.
Step 1: Paste your table
The first row becomes the header.
Step 2: Table options
Preview
Your table will be previewed here
It shows the lines and alignment chosen in step 2, as LaTeX will draw them.
Step 3: LaTeX source
The LaTeX for your table will appear here
A complete table environment with your caption and label, the reserved characters in your cells escaped, and the \usepackage lines it needs as comments at the top.
How to turn a data table into LaTeX
Paste rows from Excel, Numbers or a CSV file and get a LaTeX table ready for a paper, with a live preview.
Paste your table
Copy cells in Excel, Numbers or Google Sheets and paste them into step 1, or paste CSV. The first row becomes the header. Load example shows the format.
Choose the options
Pick an environment (table, table* or sidewaystable), the lines (booktabs, rules only, or a full grid) and the column alignment. The preview follows.
Add a caption and label
Optionally set a caption and a label, such as tab:gaps, to refer to the table with \ref.
Copy or download
Copy LaTeX puts the source on the clipboard, Download .tex saves it as table.tex, and Copy as Markdown gives the same table for a README or notebook.
How it works
Reserved characters are escaped
Cell contents are LaTeX-escaped so characters like & % $ # _ { } ~ ^ \ won't break compilation. A backslash in a cell becomes \textbackslash{}, so it prints as a backslash.
Package reminders included
When you pick booktabs or a landscape table, the output is prefixed with the exact \usepackage{…} your document needs, as comments, so the snippet compiles as-is.
\usepackage{booktabs}; landscape tables require \usepackage{rotating} (both are noted in the output).Frequently asked questions
Is my data uploaded?
Which delimiters are supported?
Do I need extra packages?
Are special characters handled?
Which row is the header?
Runs entirely in your browser, no data leaves your device.