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
Pasting tables into your project 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.
You may also want to enroll in the free, self-paced course Structuring and Formatting Essentials to learn more about creating tables with Overleaf.
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:


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.
\begin{table}
\centering
\begin{tabular}{ccc}
& & \\
& & \\
& & \\
\end{tabular}
\caption{Caption}
\label{tab:placeholder}
\end{table}

To learn more about how to incorporate the AI Table Generator in your writing, enroll in our free, self-paced course Leveraging Overleaf AI.
FAQs about tables
Learn More
Last updated
Was this helpful?




