Empty P Tag
Remove empty paragraphs and fix awkward spacing without breaking your layout.
Solid choice
Empty P Tag is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 5/5 and was last updated 3 weeks ago, and scores 77/100 on our health check.
- Actively developed — last update 3 weeks ago
- Tested with the latest WordPress (7.1)
- Momentum — downloads up 242% vs the previous 30 days
- Small user base (700+ active installs)
- Very few reviews so far
Daily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Empty P Tag stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| br-tags | #2 |
| content cleanup | #32 |
| empty paragraph | #1 |
| remove-empty-p | #1 |
| wpautop | #1 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 3 reviews
About Empty P Tag
From the official readme · v6.0.0Description
Empty P Tag keeps your front-end markup clean when WordPress, themes, builders, or editors insert unwanted empty <p> / <br> tags that create awkward spacing.
The problem
Empty paragraphs and stray breaks often appear after pasting content, mixing classic and block markup, or using WYSIWYG fields. They push layouts apart and are hard to spot in the visual editor.
What it does
- Removes empty paragraph tags (including whitespace-only and
paragraphs) - Optionally disables WordPress
wpautopon content, excerpts, and text widgets - Cleans comments, term descriptions, and Advanced Custom Fields (optional)
- Limits cleanup by post type or excluded post IDs
- Lets you skip cleanup on a single post/page
- Optional per-post clean-on-save for permanent database cleanup (off by default)
- Live Before → After HTML preview on the settings screen
- One-click presets: Recommended (safe), Classic, or Aggressive
Safety first
Front-end cleanup is non-destructive: the plugin filters rendered output and does not rewrite post content in the database unless you explicitly enable clean-on-save on a post.
Useful when
- Classic editor / mixed content leaves empty paragraphs behind
- Comment systems or WYSIWYG fields add extra vertical space
- You want
wpautopoff in some places, but normal paragraphs elsewhere - You need ACF WYSIWYG output without empty spacer paragraphs
Page builders
Plugins like Elementor often render outside the_content. Empty P Tag cleans WordPress content filters (posts, excerpts, widgets, comments, terms, ACF). It does not rewrite every builder canvas.
Privacy
This plugin does not collect, store, or send personal data. There is no telemetry.
Developers
Filters include:
haq_empty_p_tag_settingshaq_empty_p_tag_should_cleanhaq_empty_p_tag_before_cleanhaq_empty_p_tag_clean_patternhaq_empty_p_tag_cleaned_content
Release Notes — Version 6.0.0
This release turns Empty P Tag into a clearer, safer, more flexible cleanup tool while keeping older sites stable.
What’s new
- One-click presets: Recommended (safe), Classic Empty P Tag, and Aggressive spacing fix
- Live Before → After HTML preview on the settings screen
- Cleanup for comments, category/term descriptions, and optional ACF fields
- Limit cleanup by post type or excluded post IDs
- Per-post Skip cleanup control (classic editor + block editor sidebar)
- Optional per-post clean-on-save (off by default — only rewrites the database when you choose it)
- Safer cleaner: optional HTML tag balancing, configurable filter priority
- Multisite-aware uninstall and updated WordPress.org documentation/assets
- Requires PHP 7.4+, WordPress 5.8+, tested up to WordPress 7.1
Upgrade notes
- Existing sites keep classic defaults for missing settings so layouts should not suddenly change
- New installs get the Recommended (safe) preset: empty-tag cleanup on,
wpautopleft alone - After updating, open Settings → Empty P Tag and review the active preset
Installation
From the WordPress admin
- Go to Plugins → Add New.
- Search for Empty P Tag.
- Click Install Now, then Activate.
- Open Settings → Empty P Tag and choose a preset.
Manual install
- Upload the
empty-p-tagfolder to/wp-content/plugins/. - Activate Empty P Tag from the Plugins screen.
- Configure options under Settings → Empty P Tag.
Changelog
Adds presets, preview, ACF/comments cleanup, per-post controls, and safer options for new installs. Existing sites keep classic defaults unless you change them.
6.0.0
- Major feature release: presets, live preview, broader cleanup surfaces, and safer new-install defaults
- Presets: Recommended (safe), Classic Empty P Tag, Aggressive spacing fix
- Live HTML Before → After preview on the settings screen
- Cleanup for comments, term descriptions, and optional ACF fields
- Post type targeting and exclude post IDs
- Per-post skip control (classic meta box + block editor panel)
- Optional per-post clean-on-save (off by default; rewrites stored content only when checked)
- Optional
force_balance_tags(off for new installs; existing classic behavior preserved) - Configurable cleanup filter priority
- Developer filters for settings, pattern, and before/after clean
- Multisite-aware uninstall across all blogs
- Requires PHP 7.4+, WordPress 5.8+, tested up to WordPress 7.1
- Translation template (
languages/empty-p-tag.pot) - Fresh WordPress.org icon, banner, and screenshots
5.0.0
- Major rewrite with a Settings screen (Settings → Empty P Tag)
- Choose where to disable wpautop (content, excerpt, widgets)
- Choose where empty paragraph cleanup runs
- Stronger empty-tag matching (
, zero-width spaces, attribute-bearing empty paragraphs) - Optional collapse of extra
<br>tags - Plugin action link to Settings
- Translation-ready text domain
- Clean uninstall that removes stored settings
- Requires PHP 7.2+, tested with modern WordPress
4.1
- Internal maintenance release
3.0
- WordPress.org compatibility updates
2.0.1
- Third release
- Added feature to remove whitespace-only paragraph tags
1.0.1
- Second release
- Added
preg_replacecleanup for empty tags
Screenshots
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.
FAQ
Empty P Tag: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Empty P Tag free?
Yes. Empty P Tag is free to download and use from the official WordPress.org plugin directory.
Is Empty P Tag safe to use in 2026?
Empty P Tag is a solid plugin choice in 2026, with a few things worth checking first. It runs on 700+ sites, is rated 5/5 and was last updated 3 weeks ago, and scores 77/100 on our health check.
How many websites use Empty P Tag?
Empty P Tag is active on 700+ WordPress websites and has been downloaded 9,563 times since it launched in October 2017. It was downloaded 643 times in the last 30 days.
Does Empty P Tag work with WordPress 7.1?
Yes. The developer has tested Empty P Tag up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does Empty P Tag need?
Empty P Tag requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Empty P Tag last updated?
The latest version, 6.0.0, was released on November 10, 2026 (3 weeks ago).
Who makes Empty P Tag?
Empty P Tag is developed and maintained by Husain Ahmed.
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
