Pasted HTML Cleanup
Strips pasted-in junk HTML (inline styles, spans, stray attributes) from posts, Elementor widgets and ACF fields on save, or in bulk.
Use with caution
Pasted HTML Cleanup works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where Pasted HTML Cleanup stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| cleanup | >100 |
| elementor | >100 |
| formatting | >100 |
| html | >100 |
| paste | >100 |
About Pasted HTML Cleanup
From the official readme Β· v1.1.1Description
This plugin improves HTML content hygiene by:
- Replacing
<b>/<i>with semantic<strong>/<em>tags - Removing inline styles,
class,id,aria-*, anddata-*attributes - Flattening
<span>tags while preserving inner text - Cleaning up Elementor’s
text-editorwidgets - Running cleanup automatically on post save (for selected post types)
- Bulk-processing posts via the Tools menu
- Providing a real-time manual HTML cleanup tool in the admin
Useful for websites that have been copy-pasting styled HTML from other sources (like Word or Google Docs), or importing messy content from page builders.
Usage
- Enable or disable cleanup by post type via the Tools > HTML Cleanup settings.
- Use the WYSIWYG cleaner to test and clean HTML manually.
- Click βStart Cleanupβ to process all matching posts in batches via AJAX.
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Tools > HTML Cleanup to configure and run bulk cleanup or use the manual HTML cleaner.
Changelog
1.1.1
- Fixed: pasted Word and Google Docs markup left its StartFragment and EndFragment comments in the output.
- Fixed: a non-breaking space inside a sentence is now converted to a normal space, not just one sitting alone in an empty paragraph.
1.1.0
- Renamed to Pasted HTML Cleanup.
1.0.9
- Renamed to Dovi Pasted HTML Cleanup.
- Admin CSS moved to an enqueued stylesheet; Tools page slug prefixed.
1.0.7
- Security: all AJAX handlers now require the manage_options capability in addition to the nonce.
- Security: manual cleaner input is bounded with wp_kses_post(); settings inputs are unslashed before sanitizing.
- Fix: update checker registered against the wrong class guard and never ran.
- Prepared for WordPress.org (Plugin Check clean).
1.0.6
- Feature: Added Cleanup Scope settings β users can now choose to clean:
- Elementor Text Widgets
- ACF / Other WYSIWYG fields
- Generic meta keys (ending in
_content,_html, etc.)
- Feature: Added “Save Settings” buttons for both Post Types and Cleanup Scope with live feedback
- Enhancement: Preserves
<p>tags and line breaks while removing junk HTML (<span>,style,class, etc.) - Enhancement: Manual HTML cleaner now has Visual + Code tabs, auto-cleans on paste/type/blur, and copies result to clipboard
- Fix: Bulk cleanup progress bar now accurately shows 0% β 100%
- Fix: Fixed infinite loop risk in
save_postusing priority 999 + direct DB update - Fix: Manual cleaner no longer throws
tinymce is not definedβ useswp_editor()properly - Fix: Elementor, ACF, and meta cleanup now work reliably
- UI: Completely redesigned Tools page with clean cards, better spacing, and professional layout
- Code:
count_posts_array()is now a static class method (cleaner architecture)
1.0.4
- Uses WordPressβs wp.editor.initialize() (no βtinymce is not definedβ)
- Works with the wp_editor() output from PHP
- Auto-cleans on paste / typing
- Button fallback
- Bulk-cleanup logic unchanged
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.
Best Pasted HTML Cleanup alternatives
All cleanup plugins βFAQ
Pasted HTML Cleanup: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Pasted HTML Cleanup free?
Yes. Pasted HTML Cleanup is free to download and use from the official WordPress.org plugin directory.
Is Pasted HTML Cleanup safe to use in 2026?
Pasted HTML Cleanup works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use Pasted HTML Cleanup?
Pasted HTML Cleanup is active on <10 WordPress websites and has been downloaded 338 times since it launched in September 2026. It was downloaded 77 times in the last 30 days.
Does Pasted HTML Cleanup work with WordPress 7.1?
Yes. The developer has tested Pasted HTML Cleanup up to WordPress 7.1.5, the latest release. It requires WordPress 5.0 or newer.
What PHP version does Pasted HTML Cleanup need?
Pasted HTML Cleanup requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Pasted HTML Cleanup last updated?
The latest version, 1.1.1, was released on September 24, 2026 (2 months ago).
Who makes Pasted HTML Cleanup?
Pasted HTML Cleanup is developed and maintained by Dovi Solutions.
What are the best alternatives to Pasted HTML Cleanup?
The most popular alternatives to Pasted HTML Cleanup 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


