Clear the text format in Blogger

Author Avatar
@brigitte • Product Expert: Blogger & AdSense
while(coding) { eat(chocolate); }

Post formatting can negatively impact the performance of the theme used and/or the loading of the content, though it may not seem like it would do it. After all, the colors and sizes we see are nothing more than code.

Whether it's reducing the number of posts we see on the main page or causing the sidebar to be pushed out of its programmed position, or many scenarios like those...

Can't the text be styled, then?

Yes, of course we can style the text. It's just a matter of being careful about how it's done and what tools we use.

Recommendations for keeping a clean format in posts and pages:

Use the tools that Blogger offers:

The first and main recommendation is to format directly in Blogger, using its WYSIWYG editor (What You See Is What You Get) in the Compose view (the pencil icon on the left of the toolbar indicates that we're in that view):

Dropdown menu in Blogger editor showing the Compose View selected

I know that many bloggers write their content in text editors like MS Word or Google Docs, for security or convenience, which is perfectly valid.

However, when transferring the content to the Blogger editor by pasting the text as is, a lot of code is included that, although it visually serves its purpose (formatting the content), interferes with the theme's functionality and the blog's loading speed, as I mentioned earlier.

Here we can see how extensive the code for a Word-formatted text becomes when we switch to HTML view (the <> icon):

Animation showing the large amount of messy code generated when pasting text from Word into Blogger's HTML View

And we must avoid this.

Pasting the text without formatting.

Once we've finished writing the post in our chosen text editor (MS Word, Google Docs, etc.), we can paste the plain text into the Blogger editor and then apply the styles of our choice.

To do this, we can use the following keyboard shortcuts:

Windows, Chrome OS, and some Linux distributions:

CTRL + SHIFT + V

macOS:

OPTION + SHIFT + COMMAND + V


Pasting text into Blogger with Word formatting intact:

Animation demonstrating standard pasting that keeps unwanted Word formats

Pasting text into Blogger using keyboard shortcuts (pasting seems slower because I am pressing the keys):

Animation demonstrating how pasting with keyboard shortcuts inserts clean text without styles

Doing this gives us clean HTML for the post, so we have just the code we need and we can format the text with Blogger's tools.

Clear the formatting of previously pasted text.

To do this, first select all the content, then click the "Clear Formatting" button in the toolbar, and then proceed to add the styles.

Animation using the native clear formatting tool in the Blogger editor


With these steps, we can remove all external code—also known as "junk code"—from posts that could cause display glitches and slow down page loading.

Also, for Windows and some Linux distributions, we can use CTRL + Space to remove the format of selected text.



Note: While the Blogger editor allows us to modify colors, highlights, and sizes, it's recommended that the blog's overall styles be set in the theme itself and that we use the editor primarily to structure the content:

  • Use of headings
  • Ordered and unordered lists, as well as their sublists.
  • Quote text (blockquote)
  • Texts with specific styles in that post...