Table to LaTeX Converter
Retyping a table cell by cell is slow and error-prone. Upload a screenshot, a photo, a PDF page, a Word document or a spreadsheet, and this table to LaTeX converter rebuilds the rows and columns as a tabular you can paste into your paper.
How to convert a table to LaTeX
Bring the table in
Paste a screenshot with Ctrl+V or Cmd+V, upload a photo or a PDF and pick the page with the table, or drop in a Word file. Spreadsheets in .xlsx, .csv or .tsv format are read directly in your browser, with no upload of the data itself. Results tables from papers, data appendices and lab reports are the most common table to LaTeX jobs.
Let the converter rebuild it
Tables in pictures and PDFs are read like a full page, using one credit each, so any text and equations around the table come along too. Spreadsheet tables are converted locally and use no credits; you only need to be signed in. A table that fails to convert from an image or PDF page has its credit returned automatically.
Review and paste
The table to LaTeX result opens in the editor with a compiled preview. Check the columns line up, rename a header or fix a number, then copy the tabular into your document or download the complete .tex file. Every table to LaTeX conversion is kept in your history, so you can copy the table again later.
What the LaTeX table looks like
Clean booktabs layout
Tables use the tabular environment with booktabs rules, \toprule, \midrule and \bottomrule, rather than a grid of vertical lines. That is the style most journals ask for, and it reads better in print and on screen alike. If your journal prefers vertical lines, you can add them to the column specification in a few seconds. Each column gets an alignment letter in the column specification, which you can change with a single keystroke.
Merged cells and math
Headers that span several columns or rows are written with \multicolumn and \multirow, and formulas inside cells stay as inline math. Units, signs and decimals are copied exactly as they appear rather than reformatted. Negative numbers, percentages and scientific notation keep exactly the characters printed in the source table. Blank cells stay blank, so the table keeps its shape.
Text around the table
When the table sits on a page with a caption, notes or surrounding paragraphs, those are transcribed too. The caption stays as text above or below the tabular, so you can move it into a table environment with \caption whenever you are ready. Footnotes under a table are transcribed as text too, ready to move into a tablenotes block if you use one.
Tips for accurate tables
Crop to the table
A screenshot that shows only the table, at a size where every digit is easy to read, gives the most reliable table to LaTeX result. For long tables that run over several PDF pages, select all of those pages in one conversion. Wide landscape tables convert best from a screenshot that keeps every column readable. If a page holds several tables, all of them are converted in order.
Numbers are never guessed
In a data table one wrong digit matters, so every value is copied from the image as printed. If a cell cannot be read clearly, it is marked [unreadable] in bold instead of being filled in with something plausible. That makes a table to LaTeX conversion of experimental results safe to check: look for the bold markers, fix those cells, and the rest matches the source.
Building a table by hand?
To design a new table from scratch, the LaTeX table generator lets you type into a grid, merge cells and copy the code. It is free and needs no account.
LaTeX table generatorOfficial references: booktabs (CTAN) · The LaTeX Project

Table to LaTeX questions
- How to insert a table into LaTeX?
- Wrap a tabular in a table environment: \begin{table}[htbp], \centering, your tabular, then \caption{…} and \label{…}, and \end{table}. Load booktabs if the tabular uses \toprule. This table to LaTeX converter writes the tabular for you from an existing table. The [htbp] option lets LaTeX place the table where it fits best.
- How to convert Excel table to LaTeX?
- Save the sheet as .xlsx or .csv and upload it here, or use the Excel to LaTeX tool on this site, which converts pasted cells instantly and right-aligns numeric columns; merged cells are not kept there, so add \multicolumn by hand where needed.
- How to insert table from Word to LaTeX?
- Upload the .docx file. Word tables are read from the document structure, so every cell is kept, and they come back as tabular environments in the converted LaTeX. Merged cells in Word tables are kept as plain cells, so check headers that spanned several columns.
- Is there a table to LaTeX converter online?
- Yes, this page converts tables from images, PDFs, Word files and spreadsheets in the browser. Spreadsheet conversions are free for signed-in users; image and PDF pages use one credit each. Every table to LaTeX result is compiled, so the code works the first time you paste it.
- Can it convert a Markdown table?
- For Markdown, use the Markdown to LaTeX converter on this site: it turns pipe tables into booktabs tabulars instantly and for free.
- How do I export a table from R to LaTeX?
- Packages such as xtable, knitr::kable(format = "latex") and stargazer write LaTeX straight from a data frame or model. For tables you only have as output or images, convert them here. stargazer is popular for regression tables, while kable suits plain data frames.
- How do I get LaTeX code for a table?
- Screenshot the table and paste it on this page, then copy the tabular from the editor once the preview looks right. The result already contains the column specification and booktabs rules, so no further formatting is needed.
- Can it read a table from a photo or a PDF?
- Yes. Photos of printed tables and tables in scanned or digital PDFs are read visually, including merged header cells. A photo taken straight on, with the whole table in frame, gives the most accurate result.
- Can I upload a spreadsheet?
- Yes, .xlsx, .csv and .tsv files are converted in your browser without uploading the data, and the result opens in the same editor. The first non-empty row becomes the header row of the table.
- Can I fix the table before downloading?
- Yes. The editor shows the LaTeX and a compiled preview side by side, so you can correct a cell and see the table update. The corrected table to LaTeX code is saved to your history together with the conversion.
- Which packages does the table use?
- booktabs for the rules and multirow for cells that span rows, plus amsmath when cells contain formulas. The downloaded document already loads them. No unusual packages are used, so the table also compiles in strict journal templates.
Have a whole page of notes, a scan or a PDF? Convert it to LaTeX that compiles.
Convert a file