Table in an image? Convert it instead
LaTeX Table Generator
Build a table in the grid or paste it from a spreadsheet, merge cells and set borders, then copy clean LaTeX, Markdown or HTML.
- Free, no sign-up
- Merged cells and booktabs
- Paste from Excel or Sheets
Click a cell to select it. Shift-click another cell (or use Select range) to select a block, then Merge. Write math between $ … $.
Paste from Excel, Google Sheets or CSV
A table maker for LaTeX, Markdown and HTML
Everything happens in your browser and the code updates with every change.
Edit like a spreadsheet
Type in the grid, add or delete rows and columns, and set each column to left, center or right.
Merge cells
Select a block and merge it. The LaTeX uses \multicolumn and \multirow, with rules drawn around merged cells.
Paste from a spreadsheet
Copy cells from Excel or Google Sheets, or paste CSV, and the grid fills in.
How to create a LaTeX table
Step 1: Fill in the grid
Type into the cells or paste rows from a spreadsheet. Add rows and columns as you go.
Step 2: Style it
Merge cells, set column alignment, choose borders or booktabs, and add a caption and label if you want a floating table.
Step 3: Copy the code
Copy LaTeX (plus the \usepackage lines shown), or switch to Markdown or HTML.
Example: merged header with booktabs
A header merged across two columns and down two rows, in booktabs style, as the generator writes it.
\usepackage{booktabs}
\usepackage{multirow}
\begin{table}[htbp]
\centering
\caption{Validation and test scores}
\label{tab:scores}
\begin{tabular}{ccc}
\toprule
\multirow{2}{*}{Model} & \multicolumn{2}{c}{Score} \\
\midrule
& Val & Test \\
A & 0.81 & 0.79 \\
B & 0.88 & 0.86 \\
\bottomrule
\end{tabular}
\end{table}LaTeX table questions
- How do I make a table in LaTeX?
- LaTeX tables use the tabular environment: a column spec such as {|l|c|r|} sets alignment and vertical lines, & separates cells, \\ ends a row and \hline draws a line. This generator writes all of that for you; wrap it in a table environment with a caption and label by filling in those fields.
- How do I merge cells in a LaTeX table?
- Across columns with \multicolumn{n}{c}{text}, down rows with \multirow{n}{*}{text} from the multirow package. Select the cells in the grid and press Merge; the generator writes the right command and adds \usepackage{multirow} to the preamble note when it is needed.
- What is the booktabs style?
- Booktabs is the look most journals prefer: no vertical lines, a heavier rule at the top and bottom (\toprule, \bottomrule) and a light one under the header (\midrule). Pick Booktabs under Borders and add \usepackage{booktabs}.
- Can I put math in a cell?
- Yes. Write it between dollar signs, such as $\alpha^2$, and it is copied into the LaTeX unchanged. Everything else is escaped, so & % _ # and similar characters are safe; write \$ for a literal dollar sign.
- What about Markdown and HTML?
- The same table is exported as a GitHub-style Markdown table with column alignment, or as an HTML table with rowspan and colspan. Markdown has no merged cells, so merged text stays in the first cell and a note says so.
- Can I build the table from an image?
- Not on this page: here you build tables by hand or from pasted data. To read a table from a picture or scan, use the table converter linked at the top of the page.
- Is the table generator free?
- Yes. It runs entirely in your browser, with no sign-up and no limits, and your table is not uploaded.
More free LaTeX tools
- Image to LaTeX converterPaste a screenshot or photo of a formula and get its LaTeX.
- LaTeX equation editorSymbol panel, live preview and every export in one place.
- LaTeX to PNG and SVGFormula images with a transparent background.
- LaTeX to MathMLMathML for web pages, Word and screen readers.
- LaTeX to HTMLA MathML or inline SVG snippet for any page.
- LaTeX to UnicodePlain-text math for chat, email and code comments.
- LaTeX to TypstTypst math syntax for formulas you wrote in LaTeX.