How to Migrate an Elementor Site to the WordPress Block Editor
The AI briefing for Developers
Stay up to date with AI tools, model releases, and developer workflows that matter.
Weekly. Free. One click to leave.

- Premium Results
- Publish articles on SitePoint
- Daily curated jobs
- Learning Paths
- Discounts to dev tools
7 Day Free Trial. Cancel Anytime.
Elementor made your site easy to build. It may also be making it slow. Here's how to move a site onto the Block Editor without breaking URLs, losing content or dropping out of Google.
Page builders solved a real problem. Before the Block Editor matured, they were the easiest way to give clients drag-and-drop layouts. Many of those sites are still running today, and a lot of them are slow on phones.
The data backs that up. According to the HTTP Archive Core Web Vitals Technology Report for June 2026, 36.8% of Elementor sites pass Core Web Vitals on mobile. Sites built with the Block Editor pass 53.0% of the time. That's correlation, not proof, since hosting and setup matter too. But in my experience, it matches what happens when you remove the builder from a slow site.
My reason for migrating sites off Elementor is simple: **page builders make websites heavy. **Having said that, Elementor has improved a lot. Its performance settings, Flexbox Containers, and asset-loading options cut much of the bloat, and a carefully tuned Elementor site can pass Core Web Vitals. But tuning only goes so far. You’re still shipping the builder’s framework, wrapper markup and scripts, and every plugin or Elementor update is a chance for the speed to slip again.
For small business sites that don’t need drag-and-drop editing, rebuilding the same design on the WordPress Block Editor (Gutenberg) removes that weight at the source, without changing what the client sees.
This guide follows the order I use. It assumes you're comfortable with WordPress admin, WP-CLI and a staging site. If you need to set those up first, SitePoint's guide to the ultimate WordPress development environment covers the tooling.

Should you migrate at all?
Not every Elementor site needs to move. Migration makes sense when:
- The site fails Core Web Vitals on mobile, and loading (LCP) is the failing metric. If you're not sure, start with how to make your website pass Google's Core Web Vitals.
- The design is staying, so you're rebuilding the same pages in lighter code.
- Editors struggle with the builder, or the Pro license is a cost the client questions.
It's harder to justify when the site leans on Elementor Pro features you'd need to replace, such as complex popups, dynamic loops or WooCommerce templates. Those can all be rebuilt, but the job gets bigger fast.
Step 1: Record a baseline
You can't prove a migration worked without "before" numbers. Capture these on the live site first.
Every URL
Crawl the site with a tool such as Screaming Frog, and export every indexable URL with its title, meta description, H1 and canonical tag. You can also pull published pages and posts with WP-CLI:
wp post list --post_type=page,post --post_status=publish \
--fields=ID,post_title,url --format=csv > urls-before.csv
Speed
Run Google PageSpeed Insights, which uses Lighthouse for its lab scores, on the homepage and two or three key templates. Save the mobile lab scores and, if the site has enough traffic, the field data from real users.
Search performance
Export the last three months of pages and queries from Google Search Console. That's what you'll compare against after launch.
| Measure | Where to find it | Why it matters |
| Mobile PageSpeed score | PageSpeed Insights, lab data | A quick before-and-after comparison |
| Largest Contentful Paint | PageSpeed Insights, field and lab | The metric page builder sites fail most |
| Page weight and requests | Chrome DevTools, Network tab | Shows how much builder code is removed |
| Indexable URLs, titles and H1s | A site crawl, exported to CSV | Your checklist for protecting SEO |
| Clicks and top queries | Search Console, last three months | Your comparison point after launch |
Step 2: Take an inventory of Elementor
Elementor stores each page's layout as JSON in the elementordata post meta field, and marks builder pages with elementoredit_mode. This command lists every page that uses the builder:
wp post list --post_type=any --meta_key=_elementor_edit_mode \
--meta_value=builder --fields=ID,post_type,post_title --format=table
Then list everything else Elementor controls, which is easy to miss:
- Theme Builder templates (Pro): headers, footers, single post and archive templates.
- Saved templates and global widgets, stored as the elementor_library post type.
- Forms and popups, which need a replacement before launch.
- Global colors and fonts, set in the Elementor Site Settings.
- Third-party Elementor add-ons, which often add their own widgets and shortcodes.
On the small business sites I've migrated, the inventory usually turns up more than the owner expects. The pages are the easy part. The surprises are saved templates nobody remembers creating, a popup still running on every page, add-on widgets from plugins that were installed once and forgotten, and contact forms that live inside Elementor Pro rather than a form plugin. Finding those before the rebuild saves a broken launch.
| Elementor feature | Block Editor equivalent | Notes |
| Sections and containers | Group, Row, Stack and Columns blocks | Set widths in theme.json, not on each block |
| Global colors and fonts | theme.json palette and font families | Define once, used everywhere |
| Theme Builder headers & footers | Template parts in the Site Editor | Rebuild before the page content |
| Saved templates | Block patterns, synced or unsynced | Synced patterns update everywhere at once |
| Forms (Pro) | A form plugin with a block | Test delivery before launch |
| Popups (Pro) | A lightweight popup or modal plugin | Often worth dropping altogether |
| Motion effects | CSS, or a small block plugin | Most can be removed without anyone noticing |
Step 3: Set up a block theme foundation
Work on a staging copy. Install a block theme, such as Twenty Twenty-Five or a lightweight starter theme, and move the Elementor global styles into theme.json. That way colors, fonts and spacing are defined once, instead of in every widget.
{
"version": 3,
"settings": {
"color": {
"palette": [
{ "slug": "primary", "color": "#1E3A8A", "name": "Primary" },
{ "slug": "accent", "color": "#F59E0B", "name": "Accent" }
]
},
"typography": {
"fontFamilies": [
{ "slug": "body", "name": "Body", "fontFamily": "Inter, sans-serif" }
]
},
"layout": { "contentSize": "720px", "wideSize": "1200px" }
}
}
Copy the hex values and font names from Elementor's Site Settings so the new site matches the old one. Rebuild the header and footer as template parts in the Site Editor. If you'd rather write a theme yourself, SitePoint's series on building a WordPress theme from scratch covers the basics.
Step 4: Rebuild with patterns, then page by page
Most Elementor sites repeat the same few sections: a hero, a services grid, testimonials and a call to action. Build each one once as a block pattern, then reuse it on every page. Patterns are plain block markup, so you don't need React to write them, whatever you may have heard about React and WordPress development.
In a block theme, any PHP file in the /patterns folder with a header comment is registered automatically:
<?php
/**
* Title: Hero with button
* Slug: mytheme/hero-button
* Categories: banner
*/
?>
<!-- wp:cover {"dimRatio":50} -->
<div class="wp-block-cover">
<!-- wp:heading {"level":1} -->
<h1 class="wp-block-heading">Your headline</h1>
<!-- /wp:heading -->
</div>
<!-- /wp:cover -->
For page content, there's a useful shortcut. Elementor saves a plain HTML copy of each page into post_content. Open a page in the Block Editor, and the old content usually appears in a Classic block. Choose Convert to blocks, then delete the leftovers and rebuild the layout with your patterns. It keeps the copy and images, so you only redo the design.
The difference shows up in the page source. Here's typical front-end markup for a single heading on an Elementor page, using the older section and column layout:
<section class="elementor-section elementor-top-section elementor-element">
<div class="elementor-container elementor-column-gap-default">
<div class="elementor-column elementor-col-100 elementor-element">
<div class="elementor-widget-wrap elementor-element-populated">
<div class="elementor-element elementor-widget elementor-widget-heading"
data-element_type="widget" data-widget_type="heading.default">
<div class="elementor-widget-container">
<h2 class="elementor-heading-title elementor-size-default">Our services</h2>
</div>
</div>
</div>
</div>
</div>
</section>
And the same heading as a block:
<h2 class="wp-block-heading">Our services</h2>
Newer Elementor versions with Flexbox containers and the optimized markup settings trim some of those wrappers, but most older sites still carry all of them. Multiply that by every element on every page, and the weight adds up.
To speed up this step, I built a free Elementor to Gutenberg converter. Paste in a page's elementordata JSON from Step 2, and it returns block markup you can paste into the Block Editor's code editor. It handles headings, text, images, buttons, spacers, dividers and column layouts, and lists anything it can't convert, such as forms and popups, for you to rebuild by hand. It runs entirely in your browser, so the page data never leaves your computer.
The slowdown that isn't technical
The code is rarely what holds a migration up. Content is. Once clients see their site being rebuilt, many decide it's time to rewrite their pages too, and the project ends up waiting on copywriters and approvals. My fix is to separate the two: migrate the existing content as it is, launch, then update the copy afterwards. That keeps the speed and SEO gains on schedule, and it means any ranking change can be traced to either the migration or the new copy, not both at once.
Step 5: Protect your SEO
This is the step that decides whether rankings hold.
- Keep every URL the same. Don't change the permalink structure or page slugs during the migration. If a URL has to change, add a 301 redirect from the old address.
- Keep titles, meta descriptions and headings. Your SEO plugin stores titles and descriptions separately, so they survive. Check that each H1 is still an H1.
- Check internal links. Builder buttons sometimes link to old URLs or anchors that no longer exist.
- Keep structured data. If an Elementor add-on output schema, such as FAQ or reviews, replace it.
- Crawl staging and compare. Run the same crawl from Step 1 and compare the two exports. Every URL, title and status code should match.
To spot-check a redirect or a status code from the command line:
curl -sI https://staging.example.com/old-page/ | head -n 3
Step 6: Launch, clean up and measure
When staging matches the live site, deploy it. Then:
- Deactivate Elementor and Elementor Pro, and any Elementor add-ons.
- Click through every page, and submit every form, to confirm nothing still depends on the builder.
- Search the content for leftover shortcodes: wp db query "SELECT ID FROM wp_posts WHERE post_content LIKE '%[elementor%'"
- Resubmit the XML sitemap in Search Console, and watch the Pages report for new errors.
Leave the old elementordata meta in place for a few weeks, in case you need to roll back. Once you're confident, take a backup and remove it to shrink the database.
Measure the results
Run PageSpeed Insights again straight away for lab scores. Field data takes longer: the Chrome UX Report uses a rolling 28-day window, so give it a month before judging real-user results. Compare Search Console clicks for the same period before and after launch.
In my migrations, the biggest change is usually page weight and loading time, because the builder's CSS, JavaScript and wrapper markup are gone. What doesn't always improve is server response time. If the site is on slow shared hosting, the first byte still arrives late, and that needs a hosting fix, not a rebuild. Search traffic should hold steady if the URLs and metadata were protected. If it drops, the Step 5 crawl comparison is the first place to look.
What I'd do differently
- I underestimated the forgotten parts. Popups, saved templates and add-on widgets took longer than the pages themselves.
- I let the content rewrite creep into the migration. It delayed launch and made it harder to tell what caused any ranking change.
- I tried to rebuild every Elementor effect. Most motion effects and animations weren't missed once they were gone.
- I fixed the build but not the hosting. A lean site on slow hosting is still slow.
Wrapping up
Moving off Elementor isn't a one-click job, but it isn't a full redesign either. Record a baseline, inventory what the builder controls, rebuild with patterns, and protect every URL. Most of the speed gain comes from removing code the site never needed. For what to tackle after that, see these practical web performance techniques. Most of the risk comes from rushing the SEO checks. Done carefully, the client gets the same site, a faster one, and an editor that comes with WordPress itself.
***Author Bio: ***Fahad Raza is a WordPress developer and SEO consultant based in Sydney. He has built websites since 2005, worked in SEO for more than 18 years, and spent eight and a half years on the IKEA Australia and New Zealand website.
