CSV to LaTeX table
Convert CSV or TSV into a LaTeX tabular — booktabs, grid, or plain. Runs entirely in your browser, no upload.
What this tool does
Paste CSV or TSV data and get a ready-to-paste LaTeX tabular back,
right in your browser. Nothing is uploaded — it runs locally, works offline, and
needs no sign-up. Pick a Style, set the Alignment, and optionally add a
Caption / Label to wrap it in a table float.
Styles
| Style | What you get | Notes |
|---|---|---|
| booktabs (default) | \toprule · \midrule · \bottomrule | The clean, publication-quality look. Needs \usepackage{booktabs}. |
| grid | Vertical bars ` | l |
| plain | No rules at all | Just the rows. |
Options
- Delimiter —
autodetects CSV vs TSV from the first line, or force it withcomma,tab,;,|, or any single character. - Alignment — a single
l,c, orrapplied to every column, or a per-column string likelcr(must match the number of columns). - First row is a header — on by default; the header is split from the body by
a
\midrule(booktabs) or\hline(grid). - Escape LaTeX special characters — on by default; turns
& % $ # _ { } ~ ^ \into their escaped forms so the table compiles. Turn it off to keep raw LaTeX (e.g.$x^2$in a cell). - Bold header cells — wrap each header cell in
\textbf{…}. - Caption / Label — set either one to wrap the
tabularin a centered\begin{table}[ht]float with\caption{…}and\label{…}for cross-references.
Example
Input (CSV):
City,Population,Area
Tokyo,37400068,2194
Delhi,32900000,1484
Output (booktabs, alignment lrr):
\begin{tabular}{lrr}
\toprule
City & Population & Area \\
\midrule
Tokyo & 37400068 & 2194 \\
Delhi & 32900000 & 1484 \\
\bottomrule
\end{tabular}
FAQ
Is it free and private?
Yes — your data never leaves your device, and the tool keeps working offline once the page has loaded.
Do I need any LaTeX packages?
Only for booktabs style: add
\usepackage{booktabs} to your preamble. grid and plain need nothing extra.
My cells contain % or & — will it break?
No. Escaping is on by default, so special characters are converted to their LaTeX-safe forms. Turn escaping off only if you want to keep raw LaTeX inside a cell.
Can I align columns differently?
Yes — put a per-column string like lcr in the
Alignment field (one letter per column), or a single letter to align them all the same.
Ragged rows?
Short rows are padded with empty cells so every row has the same number of columns.
Developer & Automation Access
Run it from the terminal
Same engine as this page, headless — via the gizza CLI:
gizza tool latex-table "name,score
Ada,95
Bo,88"New to the CLI? Get gizza →
Open it by URL
Pre-fill and auto-run this tool with query parameters — the names match the API/CLI:
https://gizza.ai/tools/latex-table/?data=name%2Cscore%0AAda%2C95%0ABo%2C88&delimiter=auto&style=booktabs&alignment=l&header=true&escape=true&bold_header=true&caption=Results&label=tab%3AresultsMachine-readable descriptor: tool.json — title + parameters JSON Schema for agents.
