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.
Utiliser avec prudence
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.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10Â installations actives)
- TrÚs peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
CÎte à cÎte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Pasted HTML Cleanup stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| profit | >100 |
| élémentorateur | >100 |
| mise en forme | >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
- Téléchargez le dossier du plugin dans le répertoire
/wp-content/plugins/. - Activez le plugin via le menu "plugins" dans WordPress.
- Go to Tools > HTML Cleanup to configure and run bulk cleanup or use the manual HTML cleaner.
Journal de modifications
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
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct Ă votre site, docs ou github readme. Il se met Ă jour par lui-mĂȘme - aucun compte n'est nĂ©cessaire.
Best Pasted HTML Cleanup alternatives
Tous les plugins de nettoyage âFAQ
Pasted HTML Cleanup: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modĂšle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit


