Generating and inserting tables
This page explains how to generate, edit, and insert LaTeX tables in Overleaf. In practice, there are four options to create tables:
Using the Insert Table button in the Visual Editor (or Code Editor) toolbar.
Copying and pasting a table from another document while using Visual Editor.
Writing the LaTeX code for the table in Code Editor.
Using Overleaf’s LaTeX table generator.
If you’re a confident LaTeX user you'll likely use option 3, which offers the most flexibility for generating tables. In that case, our detailed guidance on how to create tables using LaTeX will serve you well.
If you’re new to LaTeX, both the AI-powered LaTeX table generator and the toolbar in Visual Editor (option 1) provide excellent starting points. This page will focus on using the Visual Editor toolbar, from which you can switch between Visual Editor and Code Editor to observe the underlying table code.
Using Insert Table to generate a table
Switch to Visual Editor using the toggle above the editor pane (or remain in Code Editor if you are comfortable editing LaTeX code).
Select the Insert table button (
) on the toolbar.

Click on Select size (see AI Table Generator to learn how to Insert from a text prompt or image)
Using the pop-up selector, highlight the required number of rows and columns, then click the bottom-right selected cell to insert an empty table. Here, we insert a blank 3 x 3 table:

This short video clip shows a 3 × 3 table being added to a project.
The empty table is now ready for you to edit. You can do this in Code Editor if you’re comfortable with LaTeX table code, or continue with Visual Editor, which provides additional table formatting functionality that’s currently unavailable in Code Editor.
FAQs about tables
Last updated
Was this helpful?