> For the complete documentation index, see [llms.txt](https://docs.overleaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overleaf.com/writing-and-editing/generating-and-inserting-tables/ai-table-generator.md).

# AI Table Generator

{% hint style="info" %}
We don’t store any of your prompts, images, or text, nor do we use any of your data to train our language models. As this feature uses GPT, your prompts and images *will be* sent to the OpenAI GPT API. The OpenAI’s API service doesn’t use your data to train its models, unlike some versions of ChatGPT. To learn more, visit [OpenAI’s Privacy page](https://openai.com/enterprise-privacy) (section ‘API Platform FAQ’).
{% endhint %}

Our AI can generate LaTeX tables from natural language prompts or an image you upload. You can try this for free. For higher daily use, upgrade to a Standard or Pro plan.

{% stepper %}
{% step %}
**Access this feature by clicking on the table icon in the toolbar.**

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FoCtZxcNp3sxTaZOPkDZH%2FScreenshot%202025-12-17%20162213.png?alt=media&amp;token=77937789-f664-4909-a886-2b58b160865d" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Enter your table requirements as a prompt or drag and drop a table image.**

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2F0tSKMJ7lnwhqPCZTHcXj%2Fimage.png?alt=media&amp;token=db1b7d38-f77c-4d0b-a0ca-4e170c795525" alt="" width="563"><figcaption></figcaption></figure>

The image you upload can be a simple screenshot; for example, from a spreadsheet with your own data, or from an existing article.
{% endstep %}

{% step %}
**Click 'Generate'**

Overleaf AI then automatically generates the LaTeX code for your table.

<figure><img src="https://3502988919-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVetOkhFZmAC8QCQK0Pi7%2Fuploads%2FOi6s9ej9fwDNkbapFjWA%2FTable%20Prompt.png?alt=media&amp;token=c41517d6-3541-406c-a6fb-a5ab5f083446" alt="" width="479"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Click ‘Insert’ to add the table to your source code.**

If needed, click ‘Regenerate’ to refine the result.
{% endstep %}
{% endstepper %}

{% hint style="success" icon="graduation-cap" %}
To learn more about how to use the Table generator in your writing, enroll in our free, self-paced course [Leveraging Overleaf AI](https://learn.overleaf.com/leveraging-overleaf-ai).
{% endhint %}
