The best lightweight WordPress SEO plugin, measured on one site

The SEO Framework is the lightest WordPress SEO plugin we measured: +8.0 ms of PHP time, +2.0 MB of memory and zero extra database queries per request, with only 8 hooks registered. Slim SEO is a close second at +10.0 ms and ships the smallest package (1.4 MB). Both still print a meta description, a canonical and a 9 or 10-type schema graph, so they are light without being empty.

The numbers come from our seven-plugin benchmark: WordPress 7.1, one plugin active at a time, database restored between runs, free versions at defaults. We build Hydrogen SEO, which placed third, and we ranked it there.

How we ranked them

Front-end weight does not separate these plugins. All seven added 0 scripts, 0 stylesheets and 0 bytes of inline JavaScript to a public page, so "lightweight" has to mean what a plugin costs on the server and in wp-admin. Three measurements decide it:

  • PHP time and memory per request, the direct cost of every uncached page view. Timings moved about ±10% between runs, so read them as relative.
  • Database queries and autoloaded options, which were byte-identical across both runs. Autoloaded options are read on every request, admin and front end.
  • Block editor assets, the weight you feel every time you open a post.

Where two plugins are close, the deterministic metrics break the tie.

  1. The SEO Framework

    +8 ms front-end, +0 queries, 0 custom tables, 9 JSON-LD types

    Lowest PHP time (+8.0 ms), joint-lowest memory (+2.0 MB), the only plugin with zero extra queries, and 8 hooks against Yoast's 187. In the editor it loads 77.6 KB of its own assets, the lightest figure we recorded, and deactivating it restored autoloaded options to the exact baseline. The trade is a minimal flat sitemap: 51 URLs, posts and pages only, no images. See The SEO Framework alternatives.

  2. Slim SEO

    +10 ms front-end, +2 queries, 0 custom tables, 10 JSON-LD types

    +10.0 ms and +2.0 MB, with the smallest <head> growth (+1,649 bytes), the smallest package (1.4 MB) and autoloaded options slightly below baseline (-0.2 KB). It adds no admin menus at all. It loses first place on queries (+2), hooks (51) and editor weight (187.7 KB), and its output is thinner: 2 X tags and 23 of 73 sitemap URLs without lastmod. See The SEO Framework vs Slim SEO.

  3. Hydrogen SEO

    +12.9 ms front-end, +1 queries, 0 custom tables, 10 JSON-LD types

    Ours. +12.9 ms, +4.5 MB, 1 query (0 once settings have been saved), 0.4 KB of autoloaded options and no custom tables. Memory is its weak spot: it loads all of its modules on every request, including admin-only ones. Its editor loads 2 files but 700.4 KB, because the editor UI is one React bundle, so it sits well behind the top two in wp-admin. It is Beta software.

  4. SEOPress

    +24.5 ms front-end, +1 queries, 1 custom tables, 0 JSON-LD types

    The lightest of the long-established, feature-rich plugins: +24.5 ms, +6.5 MB, 1 query and only 217 KB in the editor. It creates one custom table, and its 3.6 KB of autoloaded options did not shrink at all when we deactivated it. Its small <head> growth (+2,380 bytes) partly reflects that the free version printed no JSON-LD.

  5. Rank Math

    +36.1 ms front-end, +16 queries, 6 custom tables, 6 JSON-LD types

    +36.1 ms, +8.5 MB and +16 queries per request, with six custom tables and 11.6 KB of autoloaded options, 11.0 KB of which kept loading after deactivation. Its editor is 24 files and 1,792 KB. It is slightly lighter than Yoast on PHP time and much lighter in the editor, but heavier on queries.

  6. Yoast SEO

    +39 ms front-end, +3 queries, 6 custom tables, 12 JSON-LD types

    +39.0 ms, +10.5 MB and the largest hook surface in the field (187). It holds queries to +3 because its six indexables tables pre-compute SEO data, but it loads 4,160 KB of its own assets into the block editor, the heaviest single figure we recorded, and adds 13.6 KB of autoloaded options. See Yoast SEO alternatives.

  7. All in One SEO

    +53.5 ms front-end, +22 queries, 9 custom tables, 8 JSON-LD types

    Last on every server cost: +53.5 ms, +14.5 MB, +22 queries, the largest <head> growth (+6,668 bytes), nine custom tables and a 24.4 MB package. Its dashboard measured 511 KB, about four times bare WordPress, and deactivating it released none of its 14.6 KB of autoloaded options.

What "lightweight" does and doesn't buy you

Lightweight buys you headroom on uncached requests: logged-in users, wp-admin, search results, cart pages and cron. On a page served from a full-page cache, PHP never runs, and the gap between +8 ms and +54 ms disappears for that visitor. If most of your traffic is cached, editor weight and autoloaded options are the costs you will actually notice.

It does not buy you output. The two lightest plugins make real trade-offs: The SEO Framework submits no taxonomy archives or images in its sitemap, and Slim SEO has almost nothing to configure. If you need a full sitemap with images and lastmod on every URL, a slightly heavier plugin may be the better deal; see the best SEO plugin for sitemaps.

And our milliseconds come from a single-threaded test server, not your host. The ratios transfer; the absolute numbers do not. To measure your own site, follow the benchmark method.

All seven, measured

MeasuredThe SEO Framework 5.1.4Slim SEO 4.10.1Hydrogen SEO 0.0.18SEOPress 10.2Rank Math 1.0.278Yoast SEO 28.4All in One SEO 5.0.1.1
Front-end PHP time added+8 ms+10 ms+12.9 ms+24.5 ms+36.1 ms+39 ms+53.5 ms
Peak memory added+2 MB+2 MB+4.5 MB+6.5 MB+8.5 MB+10.5 MB+14.5 MB
Database queries added+0+2+1+1+16+3+22
Hooks registered+8+51+22+114+155+187+100
<head> bytes added+3,821+1,649+4,259+2,380+4,965+5,656+6,668
Meta description by defaultYesYesYesYesYesNoYes
JSON-LD types printed9101006128
Open Graph / X tags10 / 511 / 210 / 510 / 611 / 810 / 56 / 3
Sitemap URLs listed51737258597573
Sitemap image entries04040400400
lastmod coverage51 / 5150 / 7372 / 7250 / 5859 / 5974 / 7573 / 73
Custom database tables0001669
Autoloaded options added+4.2 KB-0.2 KB+0.4 KB+3.6 KB+11.6 KB+13.6 KB+14.6 KB
Plugin package size2.9 MB1.4 MB4.6 MB11.7 MB15.1 MB21 MB24.4 MB
Block editor assets25 files, 77.6 KB14 files, 187.7 KB2 files, 700.4 KB17 files, 217 KB24 files, 1,792 KB48 files, 4,160 KB130 files, 3,543 KB
After deactivationReleases everything (exact baseline)Releases everything+0.2 KB left autoloadingNo reduction at all+11.0 KB still autoloading+2.6 KB left autoloading, 6 tables remainNo reduction: 14.5 KB still autoloading

Measured on one WordPress 7.1 install (PHP 8.2, MySQL 8.0, Twenty Twenty-Five, 40 posts), each plugin alone with default settings, against a no-plugin baseline. Bold marks the better number in each row. Full method: how we tested.

Common questions

What is the lightest WordPress SEO plugin?

The SEO Framework, in our benchmark: +8.0 ms of PHP time, +2.0 MB of memory and zero extra queries. Slim SEO was second at +10.0 ms and has the smallest package at 1.4 MB.

Do SEO plugins add JavaScript to the front end?

None of the seven we tested added any front-end script, stylesheet or inline JavaScript on a standard post. Their cost is server time, database work and wp-admin weight.

Is Slim SEO or The SEO Framework lighter?

It depends on the metric. The SEO Framework wins PHP time, queries, hooks and editor weight; Slim SEO wins head size, autoloaded options and package size. Both added +2.0 MB of memory.

Which SEO plugin is the heaviest?

All in One SEO lost every cost category it entered: +53.5 ms, +22 queries, nine custom tables and a 511 KB dashboard. Yoast had the heaviest editor at 4,160 KB.