Elementor Template JSON: Its Structure and HTML to JSON

Elementor Template JSON: Its Structure and HTML to JSON

Elementor template JSON is the format in which Elementor stores, exports and imports a page or a template. A file has five top-level keys with version “0.4”, and every element carries a unique ID, a type and its settings. AI to Elementor converts HTML into this JSON and saves it as a template: one free conversion per website, then $47 a year for 30 conversions a month.

The template JSON is the data that a template download saves as a .json file (developers.elementor.com/docs/data-structure/, checked November 10, 2026). Elementor’s template library uploads it as a .json or .zip file (elementor.com/help/template-library/, checked November 10, 2026). This page shows what the file holds, how to import it, and how a page built as HTML gets into it.

Disclosure: this page is published by AI to Elementor, the converter named here. Every fact about Elementor’s JSON comes from Elementor’s developer docs, help pages and wordpress.org page, read November 10 and 21, 2026. Every fact about AI to Elementor comes from our readme, pricing block, Terms, refund page and AI Guidelines, our Replit and GSAP guides, and our engine’s code and scope decisions.

Elementor template JSON at a glance
What it isThe JSON data of one Elementor page or template, saved in the page’s post metadata and exported as a .json file
Top-level keystitle, type, version (0.4), page_settings, content
Each elementid, elType (container or widget), widgetType for a widget, isInner, settings, elements
ImportTemplate library → Templates → the upload icon, as a .json or .zip file
ExportTemplate library → Templates → the ellipsis by a template’s name → Export
From HTMLAI to Elementor, a free WordPress plugin: one free conversion per website; Solo $47 a year for 30 conversions a month on 1 domain
Does not convertContent a script builds at runtime, GSAP timelines and ScrollTrigger effects (the page’s scripts are kept as code), app logic and backends, Figma files, a whole site in one conversion. Pages from other builders (Divi, WPBakery, Beaver, Bricks) convert poorly.
NeedsWordPress 6.8 or later (Elementor’s minimum; the plugin itself needs 5.8); Elementor Free or Pro with the Flexbox Container feature on; outbound HTTPS to the conversion API; an administrator or an editor on a standard site, or the network administrator on a multisite
Checked against Elementor’s wordpress.org page (4.4.1) on November 21, 2026, and against Elementor’s developer docs (Data Structure), elementor.com/help/template-library/, the wp.org readme 1.3.51, our AI Guidelines, our GSAP guide and the aitoelementor.com pricing block on November 10, 2026, our Replit guide on October 29, 2026, our engine’s scope decisions on October 30, 2026, and our engine’s code on October 30 and November 10, 2026.

An Elementor template JSON file holds five top-level keys and a tree of elements, and it imports through the template library as .json or .zip. AI to Elementor writes it from HTML, with one free conversion per website.

Contents

What is Elementor template JSON?

Elementor template JSON is a JSON document that holds one Elementor page or template: its title, its type, its settings and every element on it. Elementor’s developer docs say it uses JSON because the format is easy for people to read and for machines to parse (developers.elementor.com/docs/data-structure/, checked November 10, 2026). The same page calls the data standardized, so a design exports and imports across pages and WordPress installations. The editor writes this data when you save, and the frontend reads it to build the page layout. A template you download from Elementor is a .json file with this data. The file is built from a few fixed keys.

What does an Elementor JSON file contain?

An Elementor JSON file contains one object with five keys, and its content key holds the page’s elements (developers.elementor.com, General Structure, checked November 10, 2026).

KeyWhat it holdsExample value
titleThe name shown in the WordPress dashboard and in the editor“Pricing page”
typeThe document typepage, post, header, footer, error-404, popup and others
versionThe version of the data structure; Elementor names 0.4 as the latest“0.4”
page_settingsThe values of the Page Settings panel; an empty array when none are setA background color, a padding
contentAn array of every element on the pageContainers with their widgets
From developers.elementor.com/docs/data-structure/general-structure/ and page-settings/, checked November 10, 2026.

The table reads in one line: four keys describe the document, and the content key carries the page itself. Every element inside content has the same base keys (developers.elementor.com, General Elements, checked November 10, 2026).

Element keyWhat it holds
idThe unique identification key of the element
elTypeThe element type: container or widget, or section and column in the legacy structure
widgetTypeThe widget’s name, such as heading, image or button; on widgets only
isInnerWhether the element is an inner element
settingsThe values from the editor’s controls, as key and value pairs; an empty array when none are set
elementsThe nested elements
From developers.elementor.com/docs/data-structure/general-elements/, widget-element/ and container-element/, checked November 10, 2026.

Every element carries an id, an elType, isInner, settings and elements, and a widget adds its widgetType. A container holds other containers and widgets in its elements key, so a page’s layout is a tree. Elementor’s legacy structure nested widgets in columns and columns in sections, and containers replaced it (developers.elementor.com, Page Content, checked November 10, 2026). The example below holds one container with one heading, centered on desktop and aligned to the start on mobile.

{
  "title": "Pricing page",
  "type": "page",
  "version": "0.4",
  "page_settings": [],
  "content": [
    {
      "id": "3f9a12c4",
      "elType": "container",
      "isInner": false,
      "settings": { "flex_direction": "column" },
      "elements": [
        {
          "id": "7b20e5d1",
          "elType": "widget",
          "widgetType": "heading",
          "isInner": false,
          "settings": { "title": "Simple pricing", "align": "center", "align_mobile": "start" },
          "elements": []
        }
      ]
    }
  ]
}

Each value in the example sits under a key that the editor’s controls define. The settings object holds the details.

How does the JSON store settings, devices and global styles?

The JSON stores settings, devices and global styles inside each element’s settings object. A widget saves the value of each control as a pair, with the control’s ID as the key (developers.elementor.com, Widget Element, checked November 10, 2026). The heading’s text sits under title, and its alignment under align.

A responsive value adds a key with the device as a suffix: align for desktop, align_tablet and align_mobile for the smaller screens (developers.elementor.com, Responsive Data, checked November 10, 2026). A device without its own key inherits the desktop value. Custom breakpoints such as laptop or widescreen follow the same pattern.

A global color or font is stored as a reference, not as a value. The reference sits under a __globals__ key and points to an ID in the site’s kit, for example globals/colors?id=primary (developers.elementor.com, Global Styles, checked November 10, 2026). The kit is a special WordPress post that holds the site’s design system. By the same page, Elementor exports the kit data with the page, so the references resolve on import. The page data itself lives in one place on the site.

Where does Elementor keep a page’s JSON?

Elementor keeps a page’s JSON in WordPress post metadata, a custom field in the wp_postmeta table (developers.elementor.com/docs/data-structure/, checked November 10, 2026). The field is private, so the WordPress dashboard does not show it. The WordPress data of a page, such as its title, excerpt and status, stays in the wp_posts table (developers.elementor.com, Page Settings, checked November 10, 2026). Our plugin writes a converted template’s elements to the _elementor_data field of an Elementor library post, by its code (read November 10, 2026). A simple way to see the JSON is to export the template as a file, by Elementor’s developer docs. A converter writes the same data from an HTML page.

Can you convert HTML into Elementor JSON?

Yes, you can convert HTML into Elementor JSON with a converter, which maps HTML elements to Elementor elements and their settings and keeps the rest in HTML widgets. AI to Elementor’s conversion API returns “Elementor-compatible JSON template data, which the plugin saves as an Elementor template on your site” (wp.org readme 1.3.51, checked November 10, 2026). The template our engine writes has six main parts, by its code (read October 30 and November 10, 2026).

  • The five top-level keys of Elementor’s format, with version “0.4”; the type is page, or header or footer when you tick “I’m converting a header or footer (site part)”. Assigning it as the site’s header or footer needs Elementor Pro’s Theme Builder.
  • Containers for the layout, never legacy sections and columns, with headings, text editors, buttons, images, icons and other native widgets inside them.
  • A random ID of 8 hexadecimal characters for every element.
  • Settings taken from the page’s CSS, with _tablet and _mobile keys from its @media rules.
  • The page’s CSS in one HTML widget at the top, and its scripts as code in one HTML widget at the end.
  • Global references in the settings, when the plugin’s option “Add the page’s colours and fonts to my Elementor Site Settings” is ticked. The option is off by default. Ticked, it adds the page’s colors and fonts to your kit, and the settings can point to them as global references. The entries apply site-wide, and each converted page adds up to 12 colors and 4 fonts (our plugin’s settings page, read November 10, 2026).

Further HTML widgets carry the page’s JSON-LD and the engine’s own scroll-reveal script.

The plugin saves this JSON straight into Templates → Saved Templates, so no .json file changes hands (wp.org readme 1.3.51, checked November 10, 2026). The saved template has the Elementor Canvas layout, which keeps your theme’s header and footer off it (our plugin’s code, read November 10, 2026). The Page Layout setting in Elementor’s page settings brings them back. A whole site does not convert in one step: each conversion takes one page, and a .zip holds that page with its images and CSS. The first conversion per website is free and needs no sign-up and no key. The Solo plan then costs $47 a year for 1 domain and 30 conversions a month. Pro costs $79 a year for 3 domains and 100 conversions a month. Agency costs $247 a year for unlimited domains, no monthly cap, up to 50 conversions a day per license key (aitoelementor.com pricing block and Terms §8, checked November 10, 2026). Every plan carries a 30-day money-back guarantee (aitoelementor.com/refund/, checked November 10, 2026).

Which HTML elements become native widgets is set out in our comparison of native widgets vs the HTML widget. Every method for a whole page is in our guide to convert HTML to Elementor. An AI chat reaches the same format by another route.

Can ChatGPT or another AI write Elementor JSON?

Yes, ChatGPT or another AI can write Elementor JSON, because Elementor documents the format with examples (developers.elementor.com, Data Structure, checked November 10, 2026). The file follows that format when five details match the docs.

  • Use the control IDs of each widget as the settings keys, such as title and align for the heading (Widget Element).
  • Give each value the shape its control stores: a padding, for example, is an object with a unit, four sides and an isLinked flag (Widget Element).
  • Give each element its own ID, the element’s unique identification key (General Elements).
  • Name only widgets the site has in widgetType: Elementor’s wordpress.org page lists Form among its “Editor Pro design widgets”, so the Form widget needs Elementor Pro (wordpress.org/plugins/elementor/, checked November 21, 2026).
  • Point each global reference to an ID in the site’s kit: the built-in IDs include primary, secondary, text and accent, and custom globals get a generated ID (Global Styles).

An AI chat writes these keys and values from the page you describe or the HTML you give it. AI to Elementor computes them from the HTML and its CSS, so a heading’s color comes from the stylesheet rule that sets it (our engine’s code, read October 30, 2026). Both routes write the same JSON structure. An AI chat’s JSON goes into a .json file that you upload in the template library, and AI to Elementor saves its JSON straight into Templates → Saved Templates.

How do you import an Elementor JSON file?

To import an Elementor JSON file, upload it in Elementor’s template library, which takes .json and .zip files (elementor.com/help/template-library/, checked November 10, 2026). The upload takes six steps.

  • Open the template library in the Elementor editor.
  • Click Templates.
  • Click the upload icon.
  • Select the .json or .zip file on your computer.
  • Confirm the import of the file.
  • Click Insert to add the template to your page.

A saved .json template can be dragged straight into the editor window as well, by Elementor’s help page on importing files from the desktop (elementor.com/help/import-files-from-desktop/, checked November 10, 2026).

To export a saved template as a .json file, open the template library, click Templates, click the ellipsis by the template’s name and select Export. Elementor’s Theme Builder help page for single page templates says Export “creates and downloads a json file” (elementor.com/help/single-page-site-part/, checked November 10, 2026). The exported file uploads on another site through the same six steps. Files from other converters take the same route.

Which converters give an Elementor JSON file?

Three converters in our comparison give an Elementor JSON file to download. Web2Elementor lists “Export Elementor JSON” among its outputs (web2elementor.com/price, checked November 21, 2026), and its homepage offers a WordPress plugin that goes “Straight into WordPress” (web2elementor.com, checked November 21, 2026). Its free plan gives “1 free conversion every month”. For a Lovable app, its homepage says the recommended template uses Elementor V4, and the download includes a v3 version (web2elementor.com, checked November 21, 2026). Its price page converts whole Wix Classic, Squarespace 7.1, Lovable and WordPress sites, up to 15 pages at 1 credit per page (web2elementor.com/price, checked November 21, 2026). Up to 15 HTML pages uploaded together to its WordPress plugin import in one go. htmltoelementor.com, a free tool that runs in the browser, offers to “download an official Elementor JSON template” (htmltoelementor.com, checked November 10, 2026). A batch of pages comes back from it as “one ZIP of Elementor JSON templates”. Figmentor turns Figma frames into “fully importable Elementor JSON files” (figmentor.io, checked November 10, 2026). AI to Elementor converts one page per conversion and saves the template in your library, and Elementor’s Export turns it into a file. Every converter, with its inputs, output and price, is in our list of the best HTML to Elementor converters. The short answers follow.

Frequently asked questions

Short answers on Elementor template JSON, each from the pages named in the Sources.

Can Elementor import an HTML file?
No, Elementor cannot import an HTML file as a template. Elementor’s template library uploads templates as .json or .zip files (elementor.com/help/template-library/, checked November 10, 2026). An HTML page becomes an Elementor template through a converter or a rebuild by hand.
Does AI to Elementor give you a JSON file?
No, AI to Elementor does not give you a JSON file directly. The plugin saves the converted template in Templates → Saved Templates (wp.org readme 1.3.51, checked November 10, 2026), and Elementor’s Export menu downloads it as a .json file.
Does a converted template work in Elementor 4?
Yes, a converted template works in Elementor 4 as classic elements, which Elementor 4 supports alongside its Atomic elements (wp.org readme 1.3.51, checked November 10, 2026). The readme names Elementor 4.2 as the version it was verified on. On a site where a widget the template uses is switched off as legacy, the plugin names the widget and how to switch it on after the import. Our converter writes no Atomic elements.
Is the first conversion free?
Yes, the first conversion on each website is free (wp.org readme 1.3.51, checked November 10, 2026). No sign-up and no license key is needed for it. After it, a paid plan’s key goes under the plugin’s Settings, and the plugin keeps working without one.

Try AI to Elementor

Try AI to Elementor on a page you hold as HTML: the plugin writes its Elementor template JSON and saves the template in your library.

The plugin is free to install from WordPress.org. The plans on the AI to Elementor homepage start at $47 a year. The prompt in our AI Guidelines is designed to make an AI tool write HTML that maps to native widgets.

Sources

  • JSON as Elementor’s data format, standardized for export and import; stored as private post metadata in wp_postmeta; a downloaded template is a .json file; the editor writes and the frontend reads the data · developers.elementor.com/docs/data-structure/ · checked November 10, 2026
  • Top-level keys title, type, version (0.4 the latest), page_settings, content; document types · developers.elementor.com/docs/data-structure/general-structure/ · checked November 10, 2026
  • Page settings as an empty array or key and value pairs; WordPress data in wp_posts · developers.elementor.com/docs/data-structure/page-settings/ · checked November 10, 2026
  • Element keys id, elType, isInner, settings, elements, widgetType · general-elements/, container-element/ · checked November 10, 2026
  • Control IDs as settings keys; the heading’s title and align; the padding object · developers.elementor.com/docs/data-structure/widget-element/ · checked November 10, 2026
  • Legacy section, column and widget structure and containers · developers.elementor.com/docs/data-structure/page-content/ · checked November 10, 2026
  • Device suffixes _tablet and _mobile, inheritance of the desktop value, custom breakpoints · developers.elementor.com/docs/data-structure/responsive-data/ · checked November 10, 2026
  • Global references under __globals__, the kit, built-in and generated IDs, the kit exported with the page · developers.elementor.com/docs/data-structure/global-styles/ · checked November 10, 2026
  • Uploading .json or .zip templates; Insert; exporting through the ellipsis by the template’s name · elementor.com/help/template-library/ · checked November 10, 2026
  • Dragging a saved .json template into the editor window · elementor.com/help/import-files-from-desktop/ · checked November 10, 2026
  • Export of a single page template (Theme Builder) as a json file · elementor.com/help/single-page-site-part/ · checked November 10, 2026
  • Form among the “Editor Pro design widgets” · wordpress.org/plugins/elementor/ (Elementor 4.4.1) · checked November 21, 2026
  • AI to Elementor: “Elementor-compatible JSON template data”, Saved Templates, one free conversion per website, one page per conversion, the .zip with images and CSS, classic elements in Elementor 4 (verified on 4.2), legacy widgets named after the import, Elementor Free and Pro, Flexbox Container, the unfiltered-HTML right and the multisite rule · wordpress.org/plugins/aitoel-html-importer/ (readme 1.3.51) · checked November 10, 2026
  • Plans and prices · aitoelementor.com/ (pricing block) · checked November 10, 2026
  • Daily limit of 50 conversions per license key · aitoelementor.com/terms-and-conditions/ §8 · checked November 10, 2026
  • 30-day money-back guarantee · aitoelementor.com/refund/ · checked November 10, 2026
  • What does not convert: content a script builds at runtime, pages from other builders · aitoelementor.com/ai-guidelines/ · checked November 10, 2026
  • GSAP timelines and ScrollTrigger effects do not transfer · aitoelementor.com/gsap-animations-to-elementor/ · checked November 10, 2026; the page’s scripts kept as code in one HTML widget · our engine’s code · read October 30, 2026
  • Backends stay with the app · aitoelementor.com/replit-to-elementor/ · checked October 29, 2026
  • Figma files out of scope as an input · our engine’s scope decision of May 22, 2026 · read October 30, 2026
  • The template’s keys and type, 8-character IDs, containers only, tablet and mobile keys, the CSS and scripts in HTML widgets, global colors and fonts, the Elementor Canvas layout, the _elementor_data field, the colors-and-fonts option and its site-wide entries, the JSON-LD and scroll-reveal widgets; the header-mode checkbox and Elementor Pro’s Theme Builder for assigning a header (plugin changelog) · our engine’s and plugin’s mainline code · read October 30 and November 10, 2026
  • Web2Elementor: “Export Elementor JSON”, “1 free conversion every month”, “1 credit = 1 conversion”, whole Wix Classic, Squarespace 7.1, Lovable and WordPress (Elementor or Gutenberg) sites up to 15 pages at 1 credit per page, whole HTML sites uploaded to its WordPress plugin · web2elementor.com/price; its WordPress plugin, “Straight into WordPress”, the V4 template with a v3 version for a Lovable app · web2elementor.com · checked November 21, 2026
  • htmltoelementor.com: free, in the browser, “download an official Elementor JSON template”, “one ZIP of Elementor JSON templates” · htmltoelementor.com · checked November 10, 2026
  • Figmentor: “fully importable Elementor JSON files” from Figma frames · figmentor.io · checked November 10, 2026

Competitor prices change; the check date tells you how old each figure is.

Share the Post:

Related Posts