Elementor templates are stored in a WordPress table called wp_posts. You need to know how database work before reading this article.
This is how you access elementor templates. Go to Templates > Saved Templates.

You will see all your elementor templates like this:

In this example, we have two templates.
If you want to see where are elementor templates are stored,
- Go to PhpMyAdmin via your cPanel or your VPS.
- Choose your database name, for example:
wordpress_website - Find the table named
wp_posts - Filter with
post_type = elementor_library
You will get all your elementor templated. Here is the result:

You can also run it using SQL command. There is no need to visit the wp_posts table. Here is the SQL command to find elementor template: SELECT * FROM `wp_posts` WHERE `post_type` LIKE 'elementor_library'
To run SQL command, go to SQL:

Click Go at the bottom. You will get the same result as before.

You can learn more about elementor pro and free version to know it better. Try your luck to get 33% discount for elementor hosting.
FAQ
Where is the Global Widget stored?
Elementor has not stored any widgets in the database. If you want to create a custom widget, you need to create a plugin. All widget source code is stored in a plugin.
Where do section data and all HTML go?
There are two places that store this data.
The first one is in `wp_post` in the field `post_content`. This is the final output. So, all the data here is in HTML syntax. Try using `SELECT * FROM `wp_posts` WHERE id = <your_post_id>`


The second one is in `wp_postmeta` with `meta_key='_elementor_data'`. This data is shown in JSON format, which is used by Elementor to manipulate HTML output on the final output that we explained before.



Thanks for this post. I'm, interested in finding *references* to Elementor templates (all or specifically Global Widgets and Sections) given the template id in both pages and other templates. Might you be able to share an SQL query for this or give me some direction on how to find that? I'm asking because we're trying to remove all *unused* Global Widgets, Sections and other templates so we need way to identify all those in use.
Hi Kristin, We just updated our content. I hope it will help you.
Thanks for the article!
Is it possible to restore a landing page template through phpMyAdmin? If so, how do you do it?
Thanks again!
Yes, you can. Try rollback using revision history that wordpress has.