Home / Knowledge Base / General / Copying and Pasting from Word

Copying and Pasting from Word


Sanitizing Text When Working on Websites

Copying and pasting from Microsoft Word is a well known problem using any CMS (WordPress, Joomla, etc.). This issue seems to come up a lot so we'll explain it here and give you ways to make sure it does not happen.

Sanitize Formatted Text Before Pasting

When you copy anything (text, tables, images, etc.) from another program, like Microsoft Word for example, and then paste into an editor in your browser, some extra formatting information that Word has embedded comes along. This extra formatting information can often make some strange things happen in the editor because they are different programs and Word's formatting is not pure (or good) HTML.

Copying and pasting from Word works best when you sanitize the text, removing that extra formatting. Here are two ways to do that:

  1. Copy from Word, open up a plain text document (Notepad program on Windows or TextEdit or TextWrangler for Mac) and paste into that program. Select all the text again, copy it again (make sure you do select all of it and re-copy it again) and then go into the editor in your web browser and paste. You will have to reformat things like bold and italic, but your text will be clean.
  2. Copy from Word, paste into the editor and then select what you just pasted in and find the "Remove Formatting" button (if it exists) - or sometimes there is a "Paste from Word" which you can use to paste text in. Your text should be clean from extra formatting now.

The first method is probably the best way to do it. WordPress has a good system for pasting from Word and so does Joomla.

If you need to copy and paste tables, then please note that you will have to rebuild the entire table again in HTML. Sorry.

Get found, increase conversion!
Website Marketing
Website Marketing
Get your website noticed and get results.
Design Portfolio
Design Portfolio
Result driven design makes your website work 24/7 for your business.

What Our Clients Say

“Your company and its professionalism are proof positive that distance truly does not matter when completing a large project such as this.”
-Julie Hilliger
Malcolm-Eaton Enterprises
Our Clients Love Us - CLICK
Website Financing Options Available

UW Madison Alumni

Webstix in Madison, WI
2820 Walton Commons Ln.
Suite 108
Madison, WI 53718
608-277-7849 608-710-4020
magnifier linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram