How To Import Microsoft Word .docx Documents To WordPress
If you have ever tried to import a Word document into WordPress you would know that it simply does not work. Preserving the document’s format is impossible at the moment, especially using copy paste, due to differences between HTML structure and the structure used by Word. What can we do then? Well, there is a plugin for that!
Mammoth .docx converter is a simple and easy to use plugin that promises to produce clean and simple HTML by using semantic information from the .docx file, while ignoring other details. The plugin supports headings, lists, tables, foot & end-notes, images, bold, italics, super/sub-script, links and text boxes.
Using the plugin is very easy. After you install and activate it, create a new post or edit an existing one. Just below the content area you will see the plugin’s metabox.
Click the Browse button and upload your .docx document. Once the upload finishes the plugin will read the file and display the parsed document below.
As you can see in the screenshot, before inserting the document to the editor you have an overview of the document’s visual appearance, the raw HTML and any messages that occurred during the import. If everything seems ok you can proceed to insert the document in the editor by using the Insert into editor button.
Easy, isn’t it? Now you can import .docx documents to WordPress within minutes. While the plugin might not be perfect, and it might not always output content that matches 100% the one in Word visually, it will do the job quickly, while outputting proper HTML.
Hopefully you will find this plugin useful. As always, we’d like to hear from you in the comments if you have to suggest a similar plugin you have tested, or if you have in mind a particular guide you’d like to see in our blog.