LaTeX Table Generator

Col 1
Col 2
Col 3
Cell 1,1
Cell 1,2
Cell 1,3
Cell 2,1
Cell 2,2
Cell 2,3
Cell 3,1
Cell 3,2
Cell 3,3
% \usepackage{booktabs}
% \usepackage{multirow}
\begin{table}[htbp]
\centering
\begin{tabular}{ccc}
\toprule
\multicolumn{1}{l}{\textbf{Cell 1,1}} & \multicolumn{1}{l}{\textbf{Cell 1,2}} & \multicolumn{1}{l}{\textbf{Cell 1,3}} \\
\midrule
\multicolumn{1}{l}{Cell 2,1} & \multicolumn{1}{l}{Cell 2,2} & \multicolumn{1}{l}{Cell 2,3} \\
\multicolumn{1}{l}{Cell 3,1} & \multicolumn{1}{l}{Cell 3,2} & \multicolumn{1}{l}{Cell 3,3} \\
\bottomrule
\end{tabular}
\end{table}

Paste from Excel or CSV

This page imports a CSV file with Import CSV. Save an Excel sheet as CSV first. You can also type directly into the cells. How to Insert Tables in LaTeX shows how a spreadsheet becomes a tabular.

Merged cells (multirow/multicolumn)

Select a rectangle of cells and choose Merge Selected. A horizontal span is copied as \multicolumn. A vertical span is copied as \multirow. Split Selected removes the merge. How to Merge Cells in LaTeX Tables (multirow, multicolumn) explains both commands.

booktabs vs plain lines

The LaTeX style toggle changes the copied rules. Booktabs writes \toprule, \midrule, and \bottomrule and leaves out vertical lines. Classic writes vertical bars and \hline. How to Make Beautiful Tables with booktabs (No Vertical Lines) compares the two.

A whole spreadsheet file can go through the CSV to LaTeX Converter. When a table must continue onto the next page, LaTeX Tables That Span Multiple Pages explains longtable. This generator writes one tabular.

Need help creating complex LaTeX tables?

Book a Free Call
LaTeX Table Generator: Free Online, Copy-Paste Code