Skip to content

Elementor vs Gutenberg (the WordPress block editor): which to build on in 2026

Use this guide to decide between Elementor and Gutenberg, the built-in WordPress block editor, before you build or rebuild a site. You will see how each one stores your pages, what it costs to leave, and how to measure both on a staging copy so the choice rests on your own numbers.

This guide helps WordPress site owners and agencies choose between Elementor and Gutenberg, the block editor built into WordPress, for a new build or a rebuild. You probably have a deadline, a team with mixed skills, and a feeling that whatever you pick now will be hard to undo. That feeling is right, because the two editors store your pages in very different ways. The short answer is this. Pick Elementor when non-technical people design new layouts often, pick the block editor when most of the site is written content, and test one real page both ways before you commit. By the end you will have measured numbers from your own staging copy and a clear record of what leaving would cost.

What you’ll accomplish

  • Understand where each editor saves your pages in the WordPress database, and what happens to them if you switch the editor off.
  • Count how many of your existing pages depend on Elementor, using WP-CLI (the official WordPress command line tool).
  • Measure page weight, number of requests and HTML size for the same page built both ways.
  • Compare the editing experience with the people who will actually edit the site.
  • Leave with a decision: Elementor, blocks, or a mix where each does the job it suits.

Prerequisites

You need a staging copy of the site, meaning a private clone where you can change things without affecting visitors. You also need SSH access (the secure remote terminal) with WP-CLI installed. Run wp --info once you are logged in; if it prints a WP-CLI version, you are ready. The command reference lives at developer.wordpress.org/cli/commands.

This guide assumes WordPress 6.5 or newer and a current Elementor 3.x release. You also need curl, which ships with macOS and most Linux systems, and Chrome for its built-in Lighthouse panel. Lighthouse is Google’s page-quality audit tool.

How it works

Both editors save into the same WordPress database, but they put the page in different places. The diagram shows the difference and what it means when you leave.

Two columns comparing Elementor and the block editor: Elementor keeps layout as JSON in the _elementor_data post meta field with a plain HTML fallback in post_content, while the block editor keeps the live page in post_content with comment markers; switching Elementor off leaves unstyled text, switching blocks off keeps core blocks rendering

Elementor saves each layout as JSON, a structured text format, in a post meta field called _elementor_data. Post meta is a side table of extra values attached to each post. Elementor also writes CSS files for each page under wp-content/uploads/elementor/css/. It places a simplified HTML copy of your text and images in post_content, the main content column. That copy is a fallback. If Elementor is deactivated, visitors see that plain version, and the design has to be rebuilt.

The block editor saves the page itself in post_content as ordinary HTML. Each block is wrapped in comments such as <!-- wp:paragraph -->, which WordPress reads to rebuild the editing view. Any theme can display that HTML. The weak spot is third-party blocks. If a plugin that supplied a block is removed, that block may stop showing or appear as an error in the editor.

Performance depends on what each page loads. Elementor adds its own stylesheets, scripts and wrapper elements around widgets. Recent releases have trimmed much of that, and much depends on how a page is built. The block editor sends only the styles for blocks used on the page when you use a block theme. Neither editor is fast or slow by default, so this guide has you measure instead of trusting general claims.

Site-wide design works differently too. Block themes use Full Site Editing (FSE), which lets you edit headers, footers and templates with blocks in the Site Editor at Appearance, Editor. Elementor handles the same job with Theme Builder, which is part of the paid Elementor Pro plan.

Step-by-step

  1. Check the theme type. Log into the staging server, go to the WordPress folder, and run this command.

    wp eval 'echo wp_is_block_theme() ? "block theme\n" : "classic theme\n";'

    Expected output is block theme or classic theme. A classic theme still supports the block editor for posts, but headers and footers stay in PHP templates or in Elementor Theme Builder.

  2. List active plugins and look for Elementor.

    wp plugin list --status=active --fields=name,version

    Look for elementor and possibly elementor-pro in the list. If neither appears, the site already runs on blocks or on another builder, and step 3 will return zero.

  3. Count the pages that depend on Elementor.

    wp post list --post_type=page,post --meta_key=_elementor_edit_mode --meta_value=builder --format=count

    The output is a single number, such as 42. Each of those pages would need rebuilding if you dropped Elementor. Run it again with --format=table --fields=ID,post_title to see which pages they are.

  4. Look at how one page is stored. Pick an ID from step 3 and check the size of its Elementor data, then view the start of its post_content.

    wp post meta get 123 _elementor_data | wc -c
    wp post get 123 --field=post_content | head -c 400

    The first command prints a byte count, often in the tens of thousands for a designed page. The second prints plain HTML with no wp: comments. That HTML is the fallback, and what visitors would see without Elementor. On a block page, the second command shows lines starting with <!-- wp:.

  5. Build one real page both ways. Choose a page that matters, such as your main service page. Rebuild it with blocks as a draft, using the same text, images and section order. Publish both on staging under different URLs. Keep the content identical so the comparison is fair.

  6. Measure the HTML each page sends. Run this for each URL on staging.

    curl -s -o /dev/null -w '%{size_download} bytes, TTFB %{time_starttransfer}s\n' https://staging.example.com/services-elementor/

    You will see a line such as 61234 bytes, TTFB 0.41s. TTFB (time to first byte) is how long the server takes to start answering. Run it three times and keep the middle value. Your numbers will differ from this example.

  7. Count elements, stylesheets and scripts.

    curl -s https://staging.example.com/services-elementor/ | grep -o '<[a-zA-Z]' | wc -l
    curl -s https://staging.example.com/services-elementor/ | grep -o '<link[^>]*stylesheet' | wc -l
    curl -s https://staging.example.com/services-elementor/ | grep -o '<script' | wc -l

    Each command prints one number: HTML elements, then stylesheets, then scripts. Write them in a small table for both versions. A larger element count means more work for the browser, which Lighthouse calls DOM size.

  8. Run Lighthouse on both pages. Open each page in a private Chrome window. Open DevTools, choose the Lighthouse tab, select Mobile and Performance, and click Analyze. Record Largest Contentful Paint (when the main content appears), Total Blocking Time and the “Avoid enormous network payloads” figure. Test while logged out, because logged-in pages skip the cache and load editor tools.

  9. Test editing with real editors. Ask the person who will maintain the site to make three changes on each version. For example, swap a hero image, add a testimonial section, and fix a typo on mobile. Time each task and note where they got stuck. This often decides more than the speed numbers do.

Validate it works

You are done when you can fill in this checklist from your own records, not from memory.

Theme type:                         block / classic
Pages using Elementor (step 3):     ___
HTML bytes, Elementor vs blocks:    ___ vs ___
Elements, Elementor vs blocks:      ___ vs ___
Scripts + stylesheets, each:        ___ vs ___
Lighthouse LCP, each:               ___ vs ___
Editor tasks finished without help: ___ of 3 vs ___ of 3

If the block version is lighter and your editors finished the tasks, blocks are a safe choice. If Elementor is close on speed and your editors worked much faster in it, Elementor is a reasonable choice. Keep this sheet with the project so the next person knows why.

Hosting and operations differences

Elementor’s editor runs inside the browser and saves through admin-ajax.php, a shared WordPress endpoint. Large pages send large save requests. Elementor’s requirements page recommends a WordPress memory limit of at least 256 MB. You can set it in wp-config.php with define( 'WP_MEMORY_LIMIT', '256M' );. The block editor saves through the WordPress REST API, the built-in web interface at /wp-json/, and usually needs less memory.

For visitors, both work well behind a full-page cache, which stores finished pages so PHP does not run on every visit. With Elementor, clear its generated CSS after updates by running wp elementor flush-css, then purge your page cache.

Updates matter too. The block editor updates with WordPress core. Elementor and Elementor Pro update on their own schedule, so test them on staging first. The free Elementor plugin is on WordPress.org. Pro is a yearly subscription that adds Theme Builder, forms, popups and WooCommerce templates. Check Elementor’s site for current licence terms, including what happens when a licence lapses.

A mixed approach

Many sites do well with both. Marketing teams keep Elementor for landing pages that change often, while posts, guides and news use the block editor. This limits the lock-in to a small set of pages you can count with step 3. It also keeps most of your content in portable post_content. Set the Elementor post types option (Elementor, Settings, General) to pages only, so writers are not tempted to open posts in the builder.

Decision path: if non-technical editors build new layouts most weeks, choose Elementor; if the site is mostly written content, choose the block editor; if you depend on Elementor Pro templates, use a mixed approach; otherwise start with a block theme on staging and measure

Troubleshooting

  • Step 3 returns 0, but you can see Elementor pages. Some older pages lack the _elementor_edit_mode flag. Count by the data field instead with wp post list --post_type=page,post --meta_key=_elementor_data --format=count.
  • The Elementor page looks broken on staging. The generated CSS still points to the old domain after cloning. Run wp elementor flush-css, then reload. The article on WordPress page builder migration covers moving layouts in more depth.
  • The editor spins or shows a memory error. Raise WP_MEMORY_LIMIT as shown above and check the PHP error log for “Allowed memory size exhausted”.
  • Lighthouse scores jump between runs. Close other tabs, test logged out, and run three times. Compare the middle result, not the best one.
  • The Elementor page is slow and you want to fix it, not replace it. Follow the Elementor slow pages diagnostic before you decide to rebuild.

When this is the wrong approach

If you already have hundreds of Elementor pages that perform well and your team is happy, a rebuild costs more than it returns. Keep them, and use blocks for new written content. If your site depends on a builder other than these two, such as Divi or Bricks, this comparison only covers half the picture. For very large sites with custom design systems, a developer-built block theme with custom blocks may beat both options. That is a project for a development team, not a quick editor decision.

The block editor handbook at developer.wordpress.org/block-editor explains block themes and custom blocks if you go that way.

Running WordPress that earns real money deserves an operator — Stack Harbor runs that stack under Enterprise WordPress; book an infrastructure consult.