Research Tools

CSV & Excel to LaTeX Table Generator and Editor

Import CSV, TSV or Excel data, edit it in a spreadsheet grid, and generate publication-quality LaTeX tables: booktabs, longtable, tabularx and rotated tables, with captions, labels, column groups, notes and exact decimal formatting.
Runs in your browserNothing is uploadedCSV · TSV · XLSX

Runs in your browser

This tool processes your input on your device. Files you select are not uploaded to MuhammadLab.

Example loaded: edit the table or import your own data.

1. Import data

CSV, TSV or XLSX up to 25 MB, pasted cells, or a blank table. Files are read in your browser.

Drop a .csv, .tsv or .xlsx file here

2. Edit the table

5 rows × 5 columns. Double-click or press Enter to edit a cell; drag the row number to reorder.

Loading the table editor…

Select a cell to sort by its column, move or delete its row, or style it.

Columns

Rename headers, set alignment and decimal places per column, and group columns under a spanning header.

HeaderAlignmentDecimals

Column groups (multi-column headers)

3. LaTeX settings

Top, middle and bottom rules; no vertical lines.

4. LaTeX source

Required in your preamble

\usepackage{booktabs}

Preview

An HTML approximation of the table. Compile the LaTeX for the exact result: fonts, spacing and page breaks come from your document.

Table 1: Results

ImageNet-1k
ModelParams (M)Top-1 (%)F1Training time (h)
ResNet-5025.676.130.75812.5
ViT-B/1686.681.070.80430.2
EfficientNet-B312.281.600.8129.8
ConvNeXt-T28.682.100.81514.1
Ours (proposed)21.483.450.82911.3

5. Export

The ZIP holds table.tex, a main.tex that compiles it on its own, the data as CSV, and a README listing the packages. The .xlsx and .csv exports contain the table values, not LaTeX formatting.

How to use this tool

  1. 1Drop a CSV, TSV or XLSX file, paste cells, or start from the example or a blank table.
  2. 2Edit cells, rows and columns in the grid; set alignment and decimals per column.
  3. 3Pick a preset or environment and add a caption, label, notes and column groups.
  4. 4Check the preview, then copy the LaTeX or download .tex, .csv, .xlsx or a ZIP project.

Frequently asked questions

CSV and TSV files, Excel workbooks saved as .xlsx (choose the worksheet and an A1 cell range), cells pasted from Excel, Google Sheets or LibreOffice, or a blank table. Older .xls and .ods files need to be saved as .xlsx or CSV first. Files up to 25 MB and 100,000 rows are supported.

They are never evaluated. A formula cell shows the value Excel saved when the file was last calculated, and every formula cell is listed with its formula so you can check it. A formula with no saved value is imported as an empty cell with a warning.

The tool lists them under the source for your exact settings: booktabs for booktabs rules, longtable for multi-page tables, tabularx and array for full-width tables, rotating for sidewaystable, and pdflscape for landscape longtables. The ZIP export includes a main.tex that loads them and compiles on its own.

Yes. Characters with a meaning in LaTeX (& % $ # _ { } ~ ^ and the backslash) are escaped so they print literally. To write a formula, select the cell and turn on Math: its text is then placed in math mode without escaping, for example alpha_1 becomes $alpha_1$.

Numbers keep the digits you typed unless you choose a number of decimal places, for the whole table or per column. Rounding uses exact decimal arithmetic (half up), negative signs can be set as proper minus signs, and values can be written in scientific notation such as 1.23 × 10^4.

Yes: turn on "Edit by hand" above the source. Hand edits are kept for copying and downloading, but they are not read back into the spreadsheet, because arbitrary LaTeX cannot always be converted back into a table. Turning the option off returns to the generated source.

No. The preview is an HTML approximation of the rules, alignment and formatting. Fonts, spacing and page breaks come from your document class, so compile the LaTeX for the final result.

No. Files are read and converted in your browser, in a background worker that keeps the data in memory only. Nothing is uploaded or stored, and the data is gone when you close or refresh the page.