How To Import An Ms Word .Docx Into WordPress Posts And Pages

If you’re into the blogging or publishing world, you’ve certainly come to a moment when you want to have a copy of the information in your Microsoft word document transferred into your WordPress posts or pages.

Yes, this can be achieved by simply copy-pasting into your WordPress post or page, but something weird will happen. You’ll lose all your document formatting and styles such as headings, and hyperlinks among others. And in most cases, longer pages from your Word document will take you time to format again in your newly created page or post in WordPress.

Now, there are several ways to have your Ms word document imported in any WordPress post or page with no hustle and keep all the formatting you had done in the word processing.

In some of these methods, I will share with you in this post, when you import your Ms word document into WordPress, all your images and other attachments within the Ms Word will be imported into the WordPress post or page with no hustle and yet maintain the same image quality and dimensions. This saves alot of your time.

Here is a video version of this blog

If you don’t like the video, continue reading…


WordPress Site
To be able to execute fully all that I will mention in this post, you should either own or operate an existing WordPress site. With this, you can create pages and posts.

Plugins (Installed And Activated)
I will list the plugins that you need to download from the WordPress repository. When installed, you’ll kindly follow the steps I have shared in the article.

Ms Word Document
The needed document to import into WordPress should be already created and saved anywhere on your local machine / pc or cloud.

And finally, here is how to import a word document into a WordPress page or post.

1. Using the Google Drive Embed Plugin (Closed)

google drive embender
google drive embedder

This plugin grants you an easier way to access your Google Drive in a popup box, where you can select documents to embed directly into their post or page. Just as easily as picking a photo from the WordPress media gallery.

Documents can be embedded in-line, using Google’s read-only interactive viewer for your audience to read them. Documents can also be placed in your site as links to open up editable files (either in the same or a new browser tab), or downloaded straight to the computer.

You will need to set document-sharing settings to ensure your website viewers have access to view your documents (e.g. at least ‘anyone with the link can view’ to be visible to all visitors).

Displays many file types such as PDF, Word DOC, ZIP, Videos, Images etc plus native Google docs (Spreadsheet, Drawing, Forms, etc). Step through a list of your Drive files or search to find the one you’re looking for.

Choose from:

  • Viewer file link – full-page Google viewer and editor
  • Download file link – directly download file to your computer (disabled for native Google doc formats)
  • Embed document – display most file types inline in your posts or pages (non-Google file types need sharing settings at least ‘anyone with the link can view’)

Useful for public websites or private intranets (all visitors should be able to view files as long as sharing settings are ‘anyone with the link can view’ or higher in Google Drive).
Works on all WordPress installations including multisite networks.


Google Drive document embedding and one-click login will work for the following domains and user accounts:

  • G Suite Basic (Google Apps for Work)
  • G Suite Business (Google Apps Unlimited for Work)
  • G Suite for Education (Google Apps for Education)
  • G Suite for Non-profits (Google Apps for Non-profits)
  • G Suite for Government (Google Apps for Government)
  • Personal and emails

Google Apps Login plugin setup requires you to have admin access to any G Suite domain (formerly Google Apps), or a regular Gmail account, to register and obtain two simple codes from Google.

2. Using the Mammoth .docx Converter WordPress Plugin

google drive embender
google drive embender

This tool is designed to help you convert .docx documents, such as those created by Microsoft Word, and convert them to HTML. Mammoth aims to produce simple and clean HTML by using semantic information in the document and ignoring other details. For instance, Mammoth converts any paragraph with the style Heading1 to h1 elements, rather than attempting to exactly copy the styling (font, text size, colour, etc.) of the heading. This allows you to paste from Word documents without the usual mess.

Mammoth works best if you only use styles to semantically mark up your document.

The following features are currently supported:

  • Headings.
  • Lists.
  • Tables. The formatting of the table itself, such as borders, is currently ignored, but the formatting of the text is treated the same as in the rest of the document.
  • Footnotes and endnotes.
  • Images.
  • Bold, italics, superscript and subscript.
  • Links.
  • Text boxes. The contents of the text box are treated as a separate paragraph that appears after the paragraph containing the text box.

3. Using Embed Any Document Plugin

embed any document
embed any document

Embed Any Document WordPress plugin lets you upload and embed your documents easily in your WordPress website without any additional browser plugins like Flash or Acrobat reader. The plugin lets you choose between Google Docs Viewer and Microsoft Office Online to display your documents.

Supported file types

  • Microsoft Word (docx, docm, dotm, dotx)
  • Microsoft Excel (xlsx, xlsb, xls, xlsm)
  • Microsoft PowerPoint (pptx, ppsx, ppt, pps, pptm, potm, ppam, potx, ppsm)
  • Adobe Portable Document Format (pdf)
  • Text files (txt)
  • TIFF Images (tif, tiff)
  • Adobe Illustrator (ai)
  • Scalable Vector Graphics (svg)

With Embed Any Document plugin, you’re able to

Easy to Upload and Embed: Embed Any Document is integrated seamlessly into the post editor. With a click of ‘Add Document’ button it lets you upload documents directly into media library and embed them.

No 3rd party plugin needed: The plugin uses Google Docs Viewer and Microsoft Office Online’s services to display the documents on your website. You will not require any additional browser plugins to view the documents and you can expect maximum compatibility for your documents.

Option to choose the viewer: You can choose between Google Docs Viewer and Microsoft Office Online to display your document. If one service is down, you can switch to another easily.

Cross-browser compatibility: The viewers are mobile-ready and cross-browser-compatible.

Clean and Minimal UI: Embed Any Document comes with a clean and clutter-free UI.

This plugin will seamlessly embed and display PDF, Microsoft Word, Excel and PowerPoint documents on your WordPress website.

4. Using the Aspose DOC Importer WordPress Plugin

Aspose doc importer
Aspose doc importer

Aspose Doc Importer Plugin for WordPress allows developers to get/read contents of Microsoft Word (doc/docx) document without requiring Microsoft Office. This module demonstrates very powerful Import feature provided by Aspose.Words .

It adds a simple button above Editor in WordPress and asks for the Doc file to be imported into the editor. Once the Doc or Docx file is provided, users get the document contents displayed on the editor immediately.

With Aspose, you’re able to

Read text from the doc file: You can click on the “Aspose Doc Importer” button, it will popup a box, which will display two tabs “Select Local Files” & “Select Aspose Cloud Storage File”.

You can click on “Select Doc file” button and select a doc file from your local machine, after successful upload, you need to click on the “Insert DOC to editor” button. It will put the text from the selected doc file to the editor.

Read text from cloud: Functionality of reading text from the doc file located at Aspose Cloud Storage.

Note: This Plugin works only with PHP version 5.3 and above.

Also Read: Elementor Landing Page – A Step by Step Guide

In Conclusion

There are several other ways you’ll come across in your search like paste as text option in WordPress itself, copy-pasting your word document into your blogger site page or page and then copying text code into WordPress page or post dashboard.

Both those options won’t enable you to have any of the attachments, a number of formatting come along with your document.

The other downside of using the fore mentioned tricks is that, they take time since you need to reformat the document over and over again which is time-consuming.

However, using one of the plugins I  mentioned in this blog to import an MS word document into a WordPress post or page will not only save you time, but will keep your original document formatting, and attachments and above all, easy and fast.

If you as a publisher or digital creative designer and you have come across any other way of importing a word document into WordPress without losing the original document settings and formatting, kindly share will me in the comment section.

I find the methods I mentioned here very helpful to me as a digital creative, designing websites, and uploading and publishing content every other day.

Share your views in the comment box below.

Also Read. . .

Newsletter Subscription (EF)

2 thoughts on “How To Import An Ms Word .Docx Into WordPress Posts And Pages”

Leave a Comment

Your email address will not be published. Required fields are marked *

Recommended Tools

Hostinger offers premium WordPress hosting for small and medium size websites at an affordable price rated 4.5/5 on Trustpilot


Elementor is the WordPress most popular page builder with over 10 million active users