How to insert tables in Overleaf

This article explains how to create and edit tables using Visual Editor, which is one way to produce tables in Overleaf. In practice, there are three options to create tables:

  1. Using the Insert Table button in the Visual Editor (or Code Editor) toolbar.
  2. Copying and pasting a table from another document while using Visual Editor.
  3. Writing the LaTeX code for the table in Code Editor.

If you’re a confident LaTeX user you'll likely use option 3, which offers the most flexibility for creating tables. If you’re new to LaTeX, using the toolbar in Visual Editor (option 1) is a great way to get started and is the focus of this article—you can switch between Visual Editor and Code Editor to see the code behind the table. As you gain experience, take a look at our detailed guidance on how to create tables using LaTeX.

Contents

Here are the main topics covered in this article.

Using Insert Table to create a table in your project

Please note: this feature is new and more functionality is planned, so keep checking back to this page to see what else is added. We’d also love your feedback on it, which you can provide in this survey.

  1. Switch to Visual Editor using the toggle above the editor pane (or remain in Code Editor if you are comfortable editing LaTeX code).
  2. Select the Insert table button ( ) on the toolbar.

This short video clip shows a 3 × 3 table being added to a project.

How to edit or customize an inserted table

Get to know the table editor menu

In Visual Editor, select one or more of your table’s cells to display the table editor menu.

Image showing the insert table menu

Some menu icons remain grayed out (inactive) until you select a suitable range of cells required to complete those actions. For example, you can only merge cells after you’ve selected two or more cells in a row.

Here’s a short summary of the icons and drop-down menus.

How to edit table cells

There are two ways to start editing a cell:

  1. Double-click on the cell you want to edit.
  2. Use the tab or arrow keys to navigate to a particular cell, then press Enter.

Here are some tips for editing cell content using Visual Editor: