Remove layout destroying HTML-Tags
Remove layout destroying HTML-Tags

Remove layout destroying HTML-Tags

5/5 (1 ratings) 100 active installs Updated Nov 3, 2026
Button in Classic Editor

Button in Classic Editor

Copy&Paste Cleaner. If you want to quickly fill a post or a page with content that already exists, copy&paste is often used and it can destroy the layout of a website!

The basic problem is that if you copy&paste content from different sources into the visual editor, any formatting is copied over. Specifically, whether from text documents, other websites, online-shops and cms or even from social media, something comes along everywhere. This also applies to content generated in AI chats, which often contains unwanted formatting as well.

As there are often DIVs in addition to harmless HTML elements, these can cause the rendering of your own website to be faulty or interrupted. The integrated DIV-Detector automatically detects div elements in your content after pasting and shows a visual warning with a direct cleanup link.

To avoid this, this plugin checks the existing formatting and attributes and removes all those that could lead to a problem – with one click.

The cleanup includes:

  • Removes layout-breaking elements such as div and span as well as wrapper elements (figure, article, picture, aside, pre, blockquote) – the text is kept
  • Removes unnecessary attributes (e.g. classes, styles, IDs as well as aria-* and data-*) – alt texts of images on your own website are preserved
  • Removes style, script and iframe blocks including their content
  • Removes leftover CSS that comes along when you paste e-mails or Word documents
  • Removes emojis and hashtag links (e.g. from Instagram)
  • Removes images from foreign domains, local images are kept
  • Reduces repeated empty paragraphs and line breaks
  • Merges redundant nested formatting
  • Converts lists (e.g. from Word) into standards-compliant lists and cleans them up

If you copy and paste into the text editor, there is usually no problem.

Tested with these page builders:

  • Classic editor
  • Gutenberg
  • Divi 4.27
  • Elementor 4.3
  • WPBakery 9.0
  • Beaver Builder 2.11

Accessibility

The DIV warning in the Classic Editor is announced automatically by screen readers. Alt texts of images hosted on your own website are preserved during cleanup, so the accessibility of your content is not reduced. Cleaning up also converts presentational bold and italic markup into semantic strong and em elements.

Privacy GDPR

This plugin processes the analyzed and converted HTML only within the respective website. No content is stored or transferred to other servers or services for processing. No external analytics tools or tracking services are integrated or used. Data protection in accordance with the GDPR is therefore guaranteed at all times.