How to Clean Up Google Docs Formatting Before Publishing to WordPress

The Quick Answer

Google Docs injects hidden inline styles (font-family, font-size, font-weight, line-height, and color attributes on nearly every element) when you copy text. When pasted into WordPress’s block or classic editor, these styles override your theme’s CSS and create inconsistent typography. Use Scrub-a-Doc to strip these styles before pasting into WordPress, preserving your headings, lists, and links while removing the visual noise.

What Google Docs Adds to Your Clipboard

Google Docs uses an internal rendering engine that applies explicit inline styles to every element. When you copy a simple paragraph with a bold word, the clipboard HTML includes style attributes specifying the exact font family, weight, size, variant, color, text-decoration, and vertical-align. A single bold word generates a span with seven or more inline style properties.

Multiply this across a 1,500-word blog post with headings, lists, and links, and you’re pasting thousands of characters of hidden CSS into WordPress. Your theme’s stylesheet is designed to handle clean semantic HTML — an h2 tag, a p tag, a strong tag. It’s not designed to handle every element carrying its own inline style declarations that override the cascade.

The WordPress-Specific Problem

WordPress’s block editor (Gutenberg) handles pasted HTML better than the classic editor, but neither fully strips Google Docs formatting. Common symptoms include paragraphs with different font sizes than your theme specifies, bold text that renders in a different font than surrounding text, lists with inconsistent indentation, and link colors that don’t match your theme’s link styles. If you’re using a page builder like Elementor or Divi, the problem compounds because these builders add their own styling layer on top.

The Scrub-a-Doc Workflow for WordPress Publishers

Step one: finish editing your post in Google Docs. Step two: select all content (Ctrl+A) and copy (Ctrl+C). Step three: open scrubadoc.com and paste into the editor. Step four: review the cleaned output — headings, bold, lists, and links are preserved; inline styles are removed. Step five: copy the clean output and paste into WordPress.

The result is semantic HTML that your WordPress theme can style correctly. Your H2s look like your theme’s H2s. Your paragraphs inherit your theme’s font stack and line height. Your links match your theme’s link color. Everything is consistent.

For Teams Using Google Docs as a CMS Drafting Tool

If your team standardizes on Google Docs for drafting (which many do for its collaboration features), making Scrub-a-Doc a required step before WordPress publishing ensures formatting consistency across all authors and editors. Bookmark scrubadoc.com in your browser bar, or use the bookmarklet for one-click access from any page.

Pasting from Word doesn't have to be hard

Use Scrub-a-Doc today to make copy-pasting as easy as it should be! No payment or registration required!

Learn more about text formatting