Astro to Elementor: Convert an Astro Page to WordPress

Astro to Elementor: Convert an Astro Page to WordPress

Astro to Elementor takes three stages: you save one built Astro page with its files, the free AI to Elementor plugin converts it, and Elementor opens it as native widgets. One free conversion per website needs no key. The Solo plan then costs $47 a year for 30 conversions a month on one domain.

Astro to WordPress follows the same route, because Astro has no WordPress output and the converter reads the built page, not the Astro components. Astro calls itself “the web framework for building content-driven websites” (docs.astro.build, Why Astro). Astro pages, routes and endpoints “will be pre-rendered at build time as static pages” by default (On-demand rendering page, both checked November 27, 2026). The converter turns that static HTML, with its CSS, into widgets.

Disclosure: this page is published by AI to Elementor, one of the tools named. We have not tested our converter on a current Astro site, nor UiChemy’s or WPConvert.ai’s routes for one. Every fact about Astro and the other tools comes from their own pages listed in the Sources, read November 27, 2026.

Astro to Elementor at a glance
SourceOne page of the built site, opened in the browser and saved with its folder of files, in a .zip
ConverterAI to Elementor, a free WordPress plugin; the conversion runs on our API
FreeOne free conversion per website, no sign-up and no key
Paid plans$47 a year (Solo, 1 domain, 30 conversions a month) · $79 a year (Pro, 3 domains, 100 conversions a month) · $247 a year (Agency, unlimited domains, no monthly cap, up to 50 conversions a day per license key)
OutputNative Elementor widgets in Saved Templates; tables, inline SVG icons, forms on Elementor Free and navigation the converter cannot rebuild stay as HTML widgets
Does not convertAstro components as code, client islands as working code, the server code behind pages rendered on demand, content a script builds at runtime, pages built in another page builder (Divi, WPBakery, Beaver, Bricks), Figma files, a whole site in one conversion
NeedsWordPress 6.8 or later, Elementor Free or Pro with the Flexbox Container feature on, and an administrator or an editor (the network administrator on a multisite)
Checked against the wp.org readme 1.3.51, our AI Guidelines, our Terms §8, the aitoelementor.com pricing block and wordpress.org/plugins/elementor/ on November 27, 2026.

An Astro page saved with its CSS and images converts into native Elementor widgets, and the Astro project itself stays where it is.

Contents

What does an Astro build give you for Elementor?

An Astro build gives you for Elementor an HTML file for each page, with the CSS, JavaScript and images beside it in a dist folder. The astro build command will “generate static files and place them in a dist/ directory” (docs.astro.build, CLI Commands, checked November 27, 2026). What you get differs by how the site runs.

How the site is built or runWhat you getWhat it means for the converter
Static build (astro build, the default output ‘static’)A dist folder with one index.html per page, for example /about/index.html, and the generated CSS, JavaScript and images in a _astro folderEach page file holds the finished HTML; open it through a web server and save it from the browser
Preview of the build (astro preview)The dist folder served on a local address, “to catch any errors in your build output before deploying it”The easiest place to open a page and save it
Pages rendered on demand (a server adapter for Node.js, Netlify, Vercel or Cloudflare)Pages “generated per visit” by a server, so their HTML exists only when the page is requestedOpen the page on the running site and save what it shows at that moment
The dev server (astro dev)The site on a localhost address while you work on itOur API runs on its own server and does not see your computer, so the saved page needs its CSS and images inside the .zip
From docs.astro.build (CLI reference, Configuration reference, On-demand rendering, Images) and, for our API, the wp.org readme 1.3.51, checked November 27, 2026.

The table shows one rule for all four: the converter needs a finished page as HTML, and Astro writes that page itself in a static build. Astro components “render to static HTML with no client-side runtime” (docs.astro.build, Islands architecture, checked November 27, 2026). The build’s own paths decide how the page is saved, as the steps below show.

How to convert an Astro page to Elementor

To convert an Astro page to Elementor, open the built page in your browser, save it as a complete web page and convert it in the WordPress admin. The route takes seven steps.

  • Run astro build, then astro preview, and open the page on the local address, or open it on the live site.
  • Scroll the page to its end, so every section has appeared.
  • Save the page from your browser as “Webpage, Complete”, then put the .html file and its folder of files in one .zip.
  • Install the free plugin “AI to Elementor — HTML Importer for Elementor” from WordPress.org, with Elementor Free or Pro active and its Flexbox Container feature on.
  • Open AI to Elementor → Convert in the WordPress admin, as an administrator or an editor, or as the network administrator on a multisite.
  • Upload the .zip, then enter a template title and click “Convert to Elementor”.
  • Open the template from the link on the result screen, or from Templates → Saved Templates.

Our own code gives two instructions on the save mode, and both start from the page the browser shows after it has loaded. The plugin’s Convert screen tells you to save a bigger page as “Webpage, Complete”, zip it with its folder and upload the .zip. The converter checks for three or more links into that saved folder. When it finds them, the result screen says the images point to a folder on your computer and advises “Webpage, HTML Only” (engine and API code, read November 24, 2026). On an Astro page with a data-astro- attribute, this warning joins the framework notice described below, whose fix names “Webpage, Complete”. One notice then names both save modes. On a page without that attribute or another notice, the warning comes under its own headline.

Our plugin rewrites only the image paths from the .zip. A script link the browser writes into that folder stays as it is and can set off that warning even when the images arrived. We have not tested which save mode serves an Astro page better. A complete save in a .zip puts the images in the Media Library. An HTML-only save keeps the page’s own image paths, and Astro writes those from the site root, which the plugin leaves unchanged. Our engine resolves such paths against the page’s base tag, canonical link or og:url, when one of them holds a full web address (engine code, read November 25, 2026). The images then load from the live Astro site, not the Media Library. An HTML-only save keeps Astro’s stylesheet links to /_astro/ as well, and our converter fetches only stylesheets linked by a full web address. Astro links every stylesheet of 4 kB or more by default (docs.astro.build, Configuration reference, checked November 27, 2026), so those styles do not arrive. Open the template after import and compare each image with the Astro page. The plugin imports one page per .zip and takes the first .html file it finds, so delete any other .html file inside the folder.

A .zip carries images and CSS, not font files. Astro’s Fonts API downloads and caches fonts “so they’re served from your site” (docs.astro.build, Using custom fonts, checked November 27, 2026). Such a font does not arrive with the template, so set it in Elementor after import. The .zip can hold up to 50 MB (plugin code, read November 24, 2026), and our Terms §8 set 5 MB per HTML submission. An administrator enters a paid plan’s license key under AI to Elementor → Settings once the free conversion is used (wp.org readme 1.3.51 and plugin code, read November 27, 2026).

A working setup needs WordPress 6.8 or later (Elementor’s minimum; the plugin itself needs 5.8) and a host that allows outbound HTTPS to our API. A site that sets DISALLOW_UNFILTERED_HTML lets nobody convert (wp.org readme 1.3.51 and wordpress.org/plugins/elementor/, checked November 27, 2026). A page saved while signed in holds what that user saw, so remove personal data from it before you upload. The dist folder itself is the next question.

Does the dist folder convert to Elementor as it is?

No, the dist folder does not convert to Elementor with its images as it is, because its pages link each image by a path that starts at the domain root. The plugin finds the stylesheets in the _astro folder of a .zip, but it leaves those image paths as written. Astro’s Image component writes an img tag such as src=”/_astro/my_image.hash.webp” in a prerendered page (docs.astro.build, Images, checked November 27, 2026). Files in the public folder are linked the same way, from the root of the domain.

The plugin imports every image in a .zip into the Media Library and updates the paths written relative to the page. A path that starts with a slash stays as written (plugin code, read November 24, 2026). Zipping a page from dist with the _astro folder therefore leaves images pointing at files WordPress does not have. A canonical link or og:url naming the live site changes that, since the live site then serves them. The plugin does not rewrite srcset lists from either route, and Astro’s Picture component and responsive images write srcset. Save the page from the browser instead, and check every image after import. What lands in Elementor then depends on each element.

What converts from an Astro page, and what does not?

What converts from an Astro page is its static HTML and CSS; the components’ code and their behavior in the browser do not convert. Every element lands in one of three buckets.

BucketWhat goes thereWhat you do with it in Elementor
Native widgetsContainers from sections and flex or grid layouts, the page header’s links as buttons (on Elementor Pro, Pro’s Nav Menu widget with a WordPress menu), headings, text, buttons, images, icons from icon fonts, tabs, FAQs and accordions; colors, gradients, Google Fonts loaded with a link tag, CSS variables, Tailwind utility classes; tablet and mobile settings from the page’s @media rulesEdit text, colors, spacing and images in the widget panels
Kept as an HTML widgetNavigation outside the page header, a header menu whose styling needs its list structure, tables, inline SVG icons, forms on Elementor Free (on Elementor Pro, Pro’s Form widget when the fields map), elements that animate visible text, intricate custom blocks; the page’s CSS in one widget at the top and its scripts as code in one widget at the endEdit as HTML; the widget renders as in the original
Reduced or not carried overA carousel arrives with its slides stacked, or whole in an HTML widget when its own script drives it. Text or sections that a script adds after loading are not in the static HTML. Components with client:only render nothing until the browser runs them. Motion a script drives, such as GSAP, does not carry over. Pages authored in Divi, WPBakery, Beaver or Bricks convert poorly.Keep the saved page as the reference; rebuild the interactive parts with Elementor’s own controls
From our AI Guidelines and readme 1.3.51, checked November 27, 2026, our engine’s code, read October 30 and November 25, 2026, and docs.astro.build (Front-end frameworks), checked November 27, 2026.

The table splits an Astro page three ways: layout and text become native widgets, tables and a form on Elementor Free stay HTML widgets, and the project’s logic stays behind. Our AI Guidelines, checked November 27, 2026, list navigation menus and forms as HTML widgets and say a carousel keeps its first slide. Our engine’s code rebuilds the page header’s links as native widgets and keeps every slide of a carousel. On Elementor Pro the code makes a form Pro’s Form widget (engine code, read October 30 and November 25, 2026). Check the header, any form and any carousel after import. Which element becomes which widget is the subject of our page on native widgets vs the HTML widget.

Astro scopes the CSS of each component by default. A rule written as h1 compiles to h1[data-astro-cid-hhnqfkh6], an attribute selector (docs.astro.build, Styles and CSS, checked November 27, 2026). Our converter matches each CSS rule against the saved page with a selector library that reads attribute selectors, so scoped rules can reach the widgets (engine code, read November 25, 2026). No current Astro page has gone through our converter in a test, so compare the converted styles with the original.

The same data-astro attributes set off a notice on the result screen. The notice says the page is built with a JavaScript framework whose dynamic parts are not fully present in the HTML. The notice’s fix names “Webpage, Complete” (API code, read November 25, 2026). The notice fires on any attribute that starts with data-astro-, such as the data-astro-cid ones of a component with a scoped style, or data-astro-image on a responsive image (docs.astro.build, Images). The notice therefore shows even on an Astro page whose content is all in the HTML. Treat it as a reminder to compare the template with the page. The islands are the part that does depend on JavaScript.

Do Astro islands keep working in Elementor?

No, Astro islands do not keep working in Elementor, because their behavior lives in JavaScript, and the converter reads the HTML they render. Astro describes an island as “an enhanced UI component on an otherwise static page of HTML” (docs.astro.build, Islands architecture, checked November 27, 2026). By default, framework components such as React or Svelte “only render on the server, as static HTML”.

Every client directive except client:only first renders the component on the server as static HTML, by Astro’s Front-end frameworks page (checked November 27, 2026). The template receives that HTML as content, without the behavior. A component with client:only “won’t render on the server”, so the build holds no HTML for it until the browser renders it. A “Webpage, Complete” save made after the page loads is meant to hold that content, which we have not tested on an Astro page.

The converter keeps the page’s own script tags as code in the HTML widget at the end of the template (our engine’s code, read October 30, 2026). We have not tested what Astro’s scripts do on a WordPress page, so delete that widget unless you have tested the page with it. Motion written in CSS keeps working, since keyframes, transitions and hover rules travel with the styles (aitoelementor.com homepage, checked November 27, 2026). Astro itself offers no WordPress output for any of this.

Can Astro export a site to WordPress?

No, Astro cannot export a site to WordPress, because its build writes static files or a server that runs the site, and neither is a WordPress format. Astro’s output option takes two values, ‘static’ and ‘server’. The default ‘static’ will “Prerender all your pages by default, outputting a completely static site” (docs.astro.build, Configuration reference, checked November 27, 2026). Pages rendered on demand need an adapter, and Astro maintains official adapters for Node.js, Netlify, Vercel and Cloudflare (On-demand rendering page).

Astro’s docs cover the opposite direction, with WordPress “used as a headless CMS to provide content to your Astro project” (docs.astro.build, Headless WordPress & Astro, checked November 27, 2026). On such a site the posts already live in WordPress, and the conversion moves the design of a page.

Each saved page turns into a separate template, and the menu, the page URLs and any redirects are then set up in WordPress. Our guide on how to migrate an HTML website to WordPress covers that move for a whole static site. The tools in the next section reach WordPress by other routes.

Which other tools take an Astro site to WordPress?

Other tools take an Astro site to WordPress by three routes among those we checked, and none names Astro as a source. UiChemy takes a build, a live URL or raw HTML and rebuilds it as native WordPress. WPConvert.ai says it works from static exports and production build outputs. Web2Elementor’s plugin imports an HTML site in one go, as the paragraph after the table shows.

ToolWhat it takesWhat lands in WordPressPrice
UiChemy“a build from Claude, Lovable, Bolt, v0, Codex, and more”, or “a live URL”, or “raw HTML”A rebuild “as native WordPress”, by its AI to WordPress pageA Free plan at $0, “Free forever”, with 1,000 credits a month, and paid plans billed monthly or yearly (uichemy.com/pricing/)
WPConvert.ai“ZIP files, static HTML/CSS/JS exports, project folders, and production build outputs”A WordPress theme, or with its Elementor export “native, editable Elementor pages” from free Elementor widgets, up to 40 pages per exportTheme: free preview, then $19 for the download (Starter). Elementor export: $5 a page with a $25 minimum, or 25 pages for $99; Pro at $49 a month includes 15 builder pages a month, and Agency at $249 a month includes 75
AI to ElementorOne page as HTML, pasted or uploaded as an .html file or a .zipOne Elementor template per page, of native widgets, with HTML widgets where an element does not mapFree for the first page on a site; Solo plan from $47 a year
From each tool’s own pages, read November 27, 2026: uichemy.com/ai-to-wordpress/ and /pricing/, wpconvert.ai/llms.txt and the wpconvert.ai homepage (structured data in the page code). Prices in US dollars.

The table separates the routes by what each one reads: UiChemy three kinds of input, WPConvert.ai a ZIP or a build output, AI to Elementor one page of HTML. UiChemy’s Astro article starts from a brief, not from an existing Astro site. UiChemy’s AI Website Creator publishes a project into WordPress or “as an Astro site to your own Cloudflare account” (UiChemy blog, checked November 27, 2026). The same tool can hand you “the project as a .zip” instead. WPConvert.ai’s summary says dynamic app logic and server functions “are not automatically carried into WordPress” (wpconvert.ai/llms.txt, checked November 27, 2026).

Web2Elementor’s URL2Elementor tool offers to “Clone a live website to Elementor”. Web2Elementor’s WordPress plugin takes “all your .html files at once” with their CSS and JS, up to 15 pages per site. Each page costs 1 credit (web2elementor.com and /price, checked November 27, 2026). Web2Elementor gives 1 free conversion a month and sells 5 credits for $9.90 (same pages). Web2Elementor’s pages do not name Astro, and we have not tested its tool on an Astro site. Elementor MCP builds “real, editable Elementor structure” from a prompt in Claude, Codex, Cursor or another AI tool, with a brief, a link or a screenshot attached as reference. Connecting is free, Pro elements need a Pro plan, and the AI tool’s own costs are separate (elementor.com/mcp/, checked November 27, 2026). Where each fits is set out in our comparison of Elementor MCP vs AI to Elementor. The cost of our route comes from one plan.

How much does Astro to Elementor cost?

Astro to Elementor costs $47 a year on AI to Elementor’s Solo plan, once the site has used its free conversion. The Solo plan covers 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. Every plan carries a 30-day money-back guarantee (aitoelementor.com pricing block and refund page, checked November 27, 2026; the daily cap from our Terms §8).

Astro adds no license fee, because it is released under the MIT License, by the license file in its repository (github.com/withastro/astro, checked November 27, 2026). A site of several pages takes one conversion per page. The questions below cover the rest.

Frequently asked questions

Short answers on Astro and Elementor, each from the pages named in the Sources.

Does AI to Elementor work with Elementor Free?
Yes, AI to Elementor works with Elementor Free, and the template is built from containers and widgets of the free version. Elementor’s Flexbox Container feature must be on, or the converted page renders blank (wp.org readme 1.3.51, checked November 27, 2026). Elementor Pro adds two native widgets: a form whose fields map becomes Pro’s Form widget, and the page header’s navigation can become Pro’s Nav Menu widget with a WordPress menu.
Can AI to Elementor convert a whole Astro site at once?
No, AI to Elementor cannot convert a whole Astro site at once, because each conversion takes one page. The plugin imports the first .html file of a .zip and ignores the others. Save and convert each page of the site on its own.
Can you convert one section of an Astro page?
Yes, you can convert one section of an Astro page, when its HTML comes with the CSS it needs. HTML copied from the browser’s developer tools carries no stylesheet, and a page without its CSS converts unstyled. Put the section’s CSS in a style tag with the HTML, or upload the saved page in a .zip.
Do Astro’s scoped styles convert to Elementor?
Yes, Astro’s scoped styles convert to Elementor as far as our code shows, because the converter matches attribute selectors such as the data-astro-cid ones against the saved page. The result on a current Astro page is untested. Compare the converted colors, fonts and spacing with the original after import.

Try AI to Elementor

Try AI to Elementor on a page of your Astro site: the plugin turns its HTML into an editable Elementor template, with native widgets where the converter can map them.

The plugin is free to install from WordPress.org, and the first conversion on your site is free. The plans on the AI to Elementor homepage start at $47 a year. Our complete guide shows how to convert HTML to Elementor for any source. The guides for AI builders and frameworks are listed on our page about vibe coding to WordPress, and the AI Guidelines say what the converter reads best.

Sources

  • Astro build and preview: static files in a dist/ directory; astro preview to catch errors before deploying · docs.astro.build/en/reference/cli-reference/ (CLI Commands) · checked November 27, 2026
  • Astro configuration: output ‘static’ as the default, build.format ‘directory’, build.assets ‘_astro’, inlineStylesheets ‘auto’ (4 kB), scopedStyleStrategy ‘attribute’, public files copied as-is · docs.astro.build/en/reference/configuration-reference/ · checked November 27, 2026
  • Astro on-demand rendering: pages pre-rendered at build time by default, pages generated per visit, adapters for Node.js, Netlify, Vercel and Cloudflare · docs.astro.build/en/guides/on-demand-rendering/ · checked November 27, 2026
  • Astro images: the Image component’s output with a /_astro/ path, Picture and srcset, data-astro-image on responsive images, public images used as-is · docs.astro.build/en/guides/images/ · checked November 27, 2026
  • Astro styles: scoped styles compiled to data-astro-cid attribute selectors · docs.astro.build/en/guides/styling/ · checked November 27, 2026
  • Astro islands: an island on an otherwise static page of HTML; components rendered to static HTML with no client-side runtime · docs.astro.build/en/concepts/islands/ · checked November 27, 2026
  • Astro front-end frameworks: components rendered on the server as static HTML by default; client directives; client:only · docs.astro.build/en/guides/framework-components/ · checked November 27, 2026
  • Astro, Using custom fonts: fonts downloaded and cached so they are served from your site · docs.astro.build/en/guides/fonts/ · checked November 27, 2026
  • Astro as the web framework for building content-driven websites · docs.astro.build/en/concepts/why-astro/ · checked November 27, 2026
  • Headless WordPress & Astro: WordPress as a headless CMS for an Astro project · docs.astro.build/en/guides/cms/wordpress/ · checked November 27, 2026
  • Astro under the MIT License · github.com/withastro/astro · checked November 27, 2026
  • UiChemy’s AI to WordPress route: a build, a live URL or raw HTML, rebuilt as native WordPress; its Free plan and paid plans at uichemy.com/pricing/ · uichemy.com/ai-to-wordpress/ · checked November 27, 2026
  • UiChemy’s AI Website Creator publishing to Astro on Cloudflare or as a .zip · uichemy.com/blog/astro-website-builder-from-brief-to-live-site/ · checked November 27, 2026
  • WPConvert.ai: what it works from, themes and the Elementor export, up to 40 pages per export, builder-page prices, what is not carried into WordPress · wpconvert.ai/llms.txt · checked November 27, 2026
  • WPConvert.ai’s Starter, Pro and Agency plans · wpconvert.ai (structured data in the page code) · checked November 27, 2026
  • Web2Elementor’s URL2Elementor tool, the HTML-site import of up to 15 pages at 1 credit per page, the free monthly conversion and the 5-credit pack · web2elementor.com, /price · checked November 27, 2026
  • Elementor MCP: real, editable Elementor structure from a prompt with a brief, link or screenshot attached, Claude, Codex, Cursor and other AI tools, free connection, Pro elements, the AI tool’s own costs · elementor.com/mcp/ · checked November 27, 2026
  • AI to Elementor: the conversion service, “Convert to Elementor”, one free conversion per website, one page per conversion, the .zip with images, Media Library import, Elementor Free and Pro, Flexbox Container, Saved Templates, the multisite rule and DISALLOW_UNFILTERED_HTML, outbound HTTPS · wordpress.org/plugins/aitoel-html-importer/ (readme 1.3.51) · checked November 27, 2026
  • Plans and prices; CSS animations, transitions and hover states preserved · aitoelementor.com/ (pricing block, “Under the Hood”) · checked November 27, 2026
  • Daily limit of 50 conversions per license key, 5 MB per HTML submission · aitoelementor.com/terms-and-conditions/ §8 · checked November 27, 2026
  • 30-day money-back guarantee · aitoelementor.com/refund/ · checked November 27, 2026
  • The three buckets, runtime JavaScript, the fully rendered page · aitoelementor.com/ai-guidelines/ · checked November 27, 2026
  • The plugin’s .zip handling (the first .html file, every image imported, paths relative to the page rewritten, root-relative paths and srcset left as written, images and CSS only, 50 MB), the Convert screen’s “Webpage, Complete” tip, the Settings screen open to administrators only (read November 27, 2026), the converter’s image warning and how it joins another notice · our plugin’s, engine’s and API’s mainline code · read November 24, 2026
  • The framework notice on data-astro attributes; CSS rules matched against the page with a selector library; root-relative image paths resolved against a base tag, canonical link or og:url; only stylesheets with a full web address fetched; the page header’s navigation rebuilt as native buttons or Pro’s Nav Menu widget · our API’s and engine’s mainline code · read November 25, 2026
  • The widgets the engine writes, CSS and scripts in HTML widgets, tabs and accordions, tablet and mobile settings, carousels, Pro’s Form widget · our engine’s mainline code and repository · read October 30, 2026
  • WordPress 6.8 as Elementor’s minimum · wordpress.org/plugins/elementor/ (4.4.2) · checked November 27, 2026

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

Share the Post:

Related Posts