Where are Elementor templates stored?

January 16, 2026 By Surya 

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.

Where are Elementor templates stored?

You will see all your elementor templates like this:

Where are Elementor templates stored?

In this example, we have two templates.

If you want to see where are elementor templates are stored,

  1. Go to PhpMyAdmin via your cPanel or your VPS.
  2. Choose your database name, for example: wordpress_website
  3. Find the table named wp_posts
  4. Filter with post_type = elementor_library

You will get all your elementor templated. Here is the result:

Where are Elementor templates stored?

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:

Where are Elementor templates stored?

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

Where are Elementor templates stored?

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>` 

elementor wp_post wp_content
elementor wp_post wp_content

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.

elementor wp_postmeta _elementor_data
elementor wp_postmeta _elementor_data

4 comments on “Where are Elementor templates stored?”

  1. 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Cyberstro

Give you the best update information about website and digital marketing.
CONTACT US
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram