πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
Pasted HTML Cleanup icon
Actively maintained Tested with WP 7.1

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.

Active installs<10New
Downloads Β· 30d77β–Ό -7.2% vs prev. 30d
Ratingβ€”0 reviews
Health score60/100Fair
All-time downloads338Since Sep 2026
Support resolvedβ€”No recent threads
RequiresWP 5.0PHP 7.4+
Downloads Β· 7d11β–Ό -45% week over week
Our verdict

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 & support

Daily downloads

112335Sep 15Oct 24Dec 2
Yesterday3
Daily average (1y)4
Peak day47Sep 16, 2026
Last 12 months339

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

Rankings

Where Pasted HTML Cleanup stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
cleanup >100 7,103 Best cleanup plugins β†’
elementor >100 8,297 Best elementor plugins β†’
formatting >100 3,427 Best formatting plugins β†’
html >100 10,000 Best html plugins β†’
paste >100 10,000 Best paste plugins β†’

About Pasted HTML Cleanup

From the official readme Β· v1.1.1

Description

This plugin improves HTML content hygiene by:

  • Replacing <b>/<i> with semantic <strong>/<em> tags
  • Removing inline styles, class, id, aria-*, and data-* attributes
  • Flattening <span> tags while preserving inner text
  • Cleaning up Elementor’s text-editor widgets
  • 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

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. 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_post using priority 999 + direct DB update
  • Fix: Manual cleaner no longer throws tinymce is not defined – uses wp_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

Full changelog on WordPress.org β†’

Screenshots

Tools > HTML Cleanup: pick the post types and the scope to clean, run the manual cleaner, or start a bulk pass.
Tools > HTML Cleanup: pick the post types and the scope to clean, run the manual cleaner…
The manual cleaner, with markup pasted out of Word on the left and the cleaned result on the right.
The manual cleaner, with markup pasted out of Word on the left and the cleaned result on…

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 Pasted HTML Cleanup 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

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

↑↓ to move↡ to open