LaTeX Table Generator
Turn CSV/TSV into a LaTeX tabular environment.
About this tool
Paste comma-separated rows and get a tabular environment with columns separated by &, rows ending in \\ and header rules. Choose booktabs or plain \hline rules.
How to use
How it works
All columns are left-aligned (the column spec is l repeated). Booktabs rules (\toprule, \midrule, \bottomrule) look better than \hline and need \usepackage{booktabs}. The tool splits on commas, so a quoted field containing a comma is not kept together.
col1 & col2 \\ per row, wrapped in \begin{tabular}{ll} … \end{tabular}Worked example
A two-column table
- Input
- Name,Score Ada,95 Bob,88
- Output
- \begin{tabular}{ll} \toprule Name & Score \\ \midrule Ada & 95 \\ Bob & 88 \\ \bottomrule \end{tabular}
- Walkthrough
- The header gets a \midrule underneath. With booktabs off the rules become \hline.
Limitations
- Left-aligned columns only.
- Quoted fields with commas are split.
- No \caption or float wrapper is added.
Questions
Which package do I need?
Can I align numbers right?
Does it add a caption?
Features
- CSV in, tabular out
- booktabs or hline
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
HTML Crash Course For Absolute Beginners
Traversy Media
Web writing basics for paper and citation helpers.
Watch on YouTubeIntro to Google Search Console
Google Search Central
Scholarly sites still care about discoverability basics.
Watch on YouTube
- Citation Style Language
CSL
Open standard behind many citation formatters.
- DOI Foundation
DOI.org
Persistent identifiers used in academic citation tools.