🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Remove Empty Shortcodes icon
Maintained Tested up to 7.0.9 #75 in cleanup

Remove Empty Shortcodes

Automatically removes empty or inactive shortcodes from your content while preserving your original database entries.

Active installs20+10+ tier
Downloads · 30d85▲ +32.8% vs prev. 30d
Rating5/52 reviews
Health score63/100Good
All-time downloads1.3KSince Mar 2025
Support resolved1 / 1100% in last 2 months
RequiresWP 6.9PHP 7.4+
Downloads · 7d17▼ -32% week over week
Our verdict

Solid choice

Remove Empty Shortcodes is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites, is rated 5/5 and was last updated 5 months ago, and scores 63/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

369Sep 4Oct 18Dec 2
Yesterday4
Daily average (1y)2
Peak day26Jun 29, 2026
Last 12 months821

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Remove Empty Shortcodes stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cleanup >100 7,103 Best cleanup plugins →
content >100 10,000 Best content plugins →
content management >100 9,849 Best content management plugins →
maintenance >100 3,889 Best maintenance plugins →
shortcodes #50 10,000 Best shortcodes plugins →

Version adoption

Share of active sites per release.

  • 1.2100.0%

Rating breakdown

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Remove Empty Shortcodes

From the official readme · v1.2.0

Description

Remove Empty Shortcodes helps maintain clean content by removing shortcodes that no longer work or generate output. This commonly happens when:

  • You’ve deactivated a plugin that provided shortcodes
  • You’re trying different plugins and some left behind inactive shortcodes
  • You have shortcodes from plugins that weren’t properly uninstalled

Key Features

  • Automatically removes inactive shortcodes from displayed content
  • Preserves your original content in the database
  • Works with all public post types
  • Handles both self-closing and wrapped shortcodes
  • Admin scanner to find and review unregistered shortcodes
  • On-demand scanning with cached results
  • Ignore specific shortcodes you want to keep
  • Zero configuration required for automatic removal

How It Works

The plugin checks your content for shortcodes when pages are displayed. If it finds shortcodes that:

  • Don’t produce any output
  • Aren’t registered with WordPress
  • Are empty or inactive

It removes them from the displayed content while keeping your original content intact in the database.

Use Cases

  • Clean up content after removing plugins that used shortcodes
  • Remove inactive shortcodes without editing posts manually
  • Maintain clean content for readers and search engines
  • Preserve original content in case you reinstall removed plugins

Installation

  1. Upload remove-empty-shortcodes to your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. That’s it! No configuration needed

Changelog

Extends dead/unregistered shortcode removal to all front-end contexts — archives, search, blog home, and singular views — plus excerpts (manual and auto-generated). Adds a WPCS + PHPCompatibility CI gate.

1.2.0

  • Added: WordPress Coding Standards + PHPCompatibility gate (.phpcs.xml.dist, testVersion 7.4-) enforced in CI
  • Added: resc_supported_post_types filter to extend automatic front-end removal to custom post types
  • Added: cleanup of plugin options, transients, and user meta when the plugin is deleted (uninstall.php)
  • Changed: the admin scanner now queries posts in batches instead of all at once, reducing memory use on large sites (filterable via resc_scan_batch_size)
  • Fixed: dead and unregistered shortcodes are now removed wherever post and page content appears on the front end — single views, archives, search, and the blog home — not only on singular views
  • Fixed: unregistered shortcodes are stripped from excerpts as well (manual and auto-generated)
  • Fixed: the “How It Works” bullet list now renders correctly on the WordPress.org listing

1.1.0

  • Fixed: inactive/unregistered shortcodes (for example, layout shortcodes left behind by a deactivated page builder such as WP Bakery) are now removed on the front end, keeping the surrounding text.
  • Fixed: the scanner now finds shortcodes in content imported under post types that are no longer registered.
  • Fixed: front-end removal now honors the scanner’s Ignore list.
  • Fixed: the Run Scan button icon now displays correctly on WordPress 7.0.
  • New: choose whether to strip just the shortcode tags (default) or remove the whole block, via the resc_removal_mode filter.
  • Maintenance: added an automated unit and integration test suite plus developer tooling.
  • Updated WordPress compatibility: requires 6.9, tested up to 7.0.

1.0.0

  • Admin page under Tools menu for scanning and managing unregistered shortcodes
  • On-demand scanning with progress indicator and cached results
  • Two view modes: By Shortcode and By Post
  • Context preview showing surrounding text for each shortcode
  • Global ignore list for shortcodes you want to keep
  • Support for all public post types
  • Fixed false positive shortcode detection
  • New abstract blue branding
  • Restructured plugin with class-based architecture

0.7.0

  • Update support for WordPress 6.8

0.6.0

  • Added support for multi-line shortcode detection
  • Added a banner and icon for the WP plugin repository
  • Improved handling of unregistered shortcodes
  • Updated shortcode pattern matching
  • Removed Composer dependencies
  • Enhanced performance and reliability

0.5.0

  • Added latest version of PHPStan
  • Fixed page content processing
  • Updated namespace structure

Full changelog on WordPress.org →

Screenshots

Scanner ready to scan your content for unregistered shortcodes
Scanner ready to scan your content for unregistered shortcodes
Scan results showing unregistered shortcodes found across your site
Scan results showing unregistered shortcodes found across your site
Expanded view showing context preview and edit options for each shortcode
Expanded view showing context preview and edit options for each shortcode
By Post view showing all affected posts with their shortcodes
By Post view showing all affected posts with their shortcodes

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Remove Empty Shortcodes alternatives

All cleanup plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP-Sweep WP-Sweep WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It… by Lester Chan 100K+ ★★★★★★★★★★ 4.7 (138) 3 months ago 85
2 Simple Revisions Delete Simple Revisions Delete Delete the revisions of a post one by one or all at once, from the block editor, the… by Brice Capobianco 10K+ ★★★★★★★★★★ 4.9 (50) 2 months ago 63
3 Delete Duplicate Posts Delete Duplicate Posts Get rid of duplicate posts and pages (any post type) on your blog with manual or automatic… by Lars Koudal 10K+ ★★★★★★★★★★ 4.8 (153) 2 months ago 89
4 Database Cleaner: Cleanup, Optimization & Repair Database Cleaner: Cleanup, Optimization & Repair Clean up and optimize your WordPress database: revisions, transients, autoload, orphaned… by Jordy Meow 10K+ ★★★★★★★★★★ 5 (150) 1 month ago 90
5 AAA Autoload Optimizer AAA Autoload Optimizer Find and fix bloated autoloaded options slowing down your WordPress database by Progress Planner 9K+ ★★★★★★★★★★ 4.6 (25) 2 weeks ago 76
6 Freesoul Deactivate Plugins Freesoul Deactivate Plugins Load plugins only where you need them. No bloat, no conflicts, more speed. Deactivate… by Jose Mortellaro 8K+ ★★★★★★★★★★ 4.8 (105) 5 days ago 92
7 Image Regenerate & Select Crop Image Regenerate & Select Crop Advanced management for images, register new sub-sizes, sub-sizes details, regenerate and… by Iulia Cazan 7K+ ★★★★★★★★★★ 4.7 (58) 4 days ago 77
8 Optimize Images Resizing Optimize Images Resizing Plugin optimizes the process of generating custom image sizes in WordPress and offers a… by OriginalEXE 5K+ ★★★★★★★★★★ 4.6 (45) 9 years ago 44
9 Specific Content For Mobile – Customize the mobile version without redirections Specific Content For Mobile Specific Content For Mobile allows you to create pages and posts content designed for… by Jose Mortellaro 4K+ ★★★★★★★★★★ 4.8 (31) 1 month ago 73
10 DietPress – Page Cache, Speed & Performance Optimization DietPress – Page Cache, Speed & Performance Optimization Page cache, browser cache, defer JS, critical CSS, lazy load and WordPress cleanup. Speed… by Fernando Tellado 2K+ ★★★★★★★★★★ 5 (40) 2 weeks ago 92

FAQ

Remove Empty Shortcodes: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Remove Empty Shortcodes free?

Yes. Remove Empty Shortcodes is free to download and use from the official WordPress.org plugin directory.

Is Remove Empty Shortcodes safe to use in 2026?

Remove Empty Shortcodes is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20+ sites, is rated 5/5 and was last updated 5 months ago, and scores 63/100 on our health check.

How many websites use Remove Empty Shortcodes?

Remove Empty Shortcodes is active on 20+ WordPress websites and has been downloaded 1,297 times since it launched in March 2025. It was downloaded 85 times in the last 30 days.

Does Remove Empty Shortcodes work with WordPress 7.1?

Remove Empty Shortcodes is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Remove Empty Shortcodes need?

Remove Empty Shortcodes requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Remove Empty Shortcodes last updated?

The latest version, 1.2.0, was released on June 30, 2026 (5 months ago).

Who makes Remove Empty Shortcodes?

Remove Empty Shortcodes is developed and maintained by Tom McFarlin.

What are the best alternatives to Remove Empty Shortcodes?

The most popular alternatives to Remove Empty Shortcodes are WP-Sweep (100K+ installs), Simple Revisions Delete (10K+ installs) and Delete Duplicate Posts (10K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open