Skip to content

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

Column alignment

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 guide

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.

1

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.

2

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.

3

Add a caption and label

Optionally set a caption and a label, such as tab:gaps, to refer to the table with \ref.

4

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.

Columns are split on tabs, commas, semicolons or vertical bars, whichever the first line uses (a tab always wins). Spaces never split a cell, so “New York” stays in one column, but text lined up with spaces alone is read as a single column. The booktabs style requires \usepackage{booktabs}; landscape tables require \usepackage{rotating} (both are noted in the output).

Frequently asked questions

Is my data uploaded?
No. Parsing, preview and LaTeX generation all happen locally in your browser.
Which delimiters are supported?
Tab, comma, semicolon or vertical bar, detected from the first line: a tab wins whenever that line has one, otherwise the most frequent of comma, semicolon and bar is used, with comma as the fallback. Spaces never separate columns, so a multi-word cell such as “New York” stays intact; wrap a cell in double quotes if it contains the delimiter.
Do I need extra packages?
booktabs style needs \usepackage{booktabs}; sidewaystable needs \usepackage{rotating}. The tool adds these as comment reminders.
Are special characters handled?
Yes. Reserved LaTeX characters in your cells are escaped so the table compiles cleanly.
Which row is the header?
The first non-empty row. It is placed above the mid-rule / first line.

Runs entirely in your browser, no data leaves your device.