If you’re into the blogging or publishing world, you’ve undoubtedly reached a point where you want your Microsoft Word document contents transferred to your WordPress posts or pages.
Ideally, you could achieve this by simply copy-pasting into your WordPress post or page, but in most cases, you’ll lose all your document formatting and styles such as headings, and hyperlinks among others.
In this post, you’ll learn how to import your MS Word document into WordPress and keep all your styles and formatting, images and other attachments(maintaining their quality and dimensions).
For a quick look: to import a docx to WordPress, you need a document importer plugin like Embed Any Document or you can use a word to WordPress converter like Mammoth.
Let’s get into the details of how to WordPress import Word document…
1. Mammoth docx Converter WordPress plugin
The Mammoth .docx converter tool is designed to help you convert Word document to WordPress post (s).
It does this by getting your .docx documents; those created by Microsoft Word, and converting 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.
Mammoth works best if you only use styles to semantically mark up your document.
It currently supports the import of documents with headings, lists (bullet points), footnotes and endnotes, images, links and tables.
Note that 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.
To use Mammoth converter:
Step 1: Install the Mammoth .docx Converter Plugin:
You can find this plugin in the WordPress repository.
Or you can simply go to your WordPress admin dashboard and under Plugins > Add New, search for Mammoth.docx then install and activate it.
Step 2: Create or Edit a Post/Page:
Go to your WordPress dashboard and create a new post or edit an existing one.
On the post edit screen, you’ll find the Mammoth .docx converter meta box below the post editor.
Step 3: Upload Your .docx File:
Click the “Choose File” button and select the .docx file from your computer.
Tip: Make sure your document is saved as .docx.
After your upload, the plugin will display three views for the document:
Visual Tab: Shows how the document will look in WordPress.
It ignores styles applied in the .docx file (such as text color, background color, padding, etc.) and lets your theme’s stylesheet control the display.
Raw HTML Button: Shows the HTML generated by the converter.
Messages Button: Shows any warnings or errors during conversion.
Step 4: Insert into Editor:
If you’re satisfied with how the document looks in the visual tab, click the “Insert into editor” button.
The plugin will insert the converted HTML into your WordPress post editor.
You can continue working on your post, utilizing all the features available.
2. Embed Any Document Plugin
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’ll be able to:
Easily upload and embed: the plugin is integrated seamlessly into the post editor and it lets you upload documents directly into your media library and embed them.
Choose the viewer you want: 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.
However, I found that the Google Docs viewer is not working at the moment so for now you only have the Microsoft Office offline option.
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.
To use Embed Any Document to Word to WordPress:
First, go to your Plugins sections and add a new plugin; Embed Any Document, install and activate it.
Then create a new WordPress post or edit an existing one, then in the WordPress editor, click to add a new block and select Document.
Click the Upload button and select your docx from your computer or Google Drive.
Once your document uploads, go to the Viewer option and select Microsoft Office offline.
Your document will load and you can further edit it.
After uploading and embedding your document, you also have more options like making the doc available for download.
FAQ
Can I import images along with text from a Word document?
Yes, when you use one of the methods in this article to import or embed Word document in WordPress, if the document has images they will come along as well.
Is there a way to import Google Docs to WordPress directly?
Google Docs can be copied and pasted into the WordPress editor directly.
Alternatively, you can use third-party plugins like Wordable for a more streamlined process for importing docx content.
Should I back up my site before importing?
Yes, it’s always advisable to create a backup before making any significant changes.
The importing process is generally safe but having a backup ensures you can restore your site if anything goes wrong.
Also Read: Elementor Landing Page – A Step by Step Guide
Conclusion
There are several other ways you’ll come across in your search like paste as text option or copy-pasting your Word document into your blogger site post or page.
Both options won’t enable you to have any of the attachments and some formatting, plus they are time-consuming since you need to reformat the document.
However, using one of the plugins mentioned in this article to import an MS Word document into a WordPress post or page will not only save you time, it will keep your original document formatting, and attachments and above all, is easy and fast.
2 thoughts on “How To Embed Word Document In WordPress Posts And Pages”
This is helpful, I’m trying to embed a document right now and will try these solutions, thank you!
Glad to know. Thank you for dropping by.