Mammoth .docx converter

Mammoth .docx converter

Mammoth converts semantically marked up .docx documents to simple and clean HTML, allowing pasting from Word documents and Google Docs without the usu …
Rating:
4.8
star-rating-1star-rating-2star-rating-3star-rating-4star-rating-5
Active Installations:
30000+
Last Updated:
Feb 24, 2024
WordPress Version:
4.0 or higher
Tested up to:
6.4.5

Convert .docx to HTML

Convert Microsoft Word, Google Docs, and LibreOffice documents to clean and simple HTML with Mammoth. Paste from Word documents without the usual mess.

Preserve document structure

Mammoth converts headings, lists, tables, footnotes, endnotes, images, and more. Retain the semantic markup of your document for a seamless conversion.

Custom style mapping

Use embedded style maps to define your own custom styles and how they should be converted. Easily map styles like "WarningHeading" to HTML elements with specified classes.

Flexible configuration

Configure Mammoth with plugins and options to customize the conversion process. Use the JavaScript library mammoth.js and the global MAMMOTH_OPTIONS for further customization.

1.21.0

  • Update mammoth.js to 1.7.0. This includes support for documents in the strict format.

1.20.0

  • Update mammoth.js to 1.4.21. This includes improved underline support and image handling.

1.19.0

  • Update mammoth.js to 1.4.18. This includes better support for internal hyperlinks.

1.18.0

  • Update mammoth.js to 1.4.17. This includes better support for numbering, and conversion of symbols to their corresponding Unicode characters.

1.17.0

  • Update mammoth.js to 1.4.13. This includes support for soft hyphens and improved underline support.

1.16.0

  • Improve support for detecting when the Gutenberg editor is active. This should fix compatibility with some other plugins such as Yoast SEO when the Gutenberg editor is disabled.

1.15.0

  • Update mammoth.js to 1.4.9.

1.14.0

  • Improve support when X-Frame-Options is set to “deny”.

1.13.0

  • Update mammoth.js to 1.4.8.

1.12.0

  • Add basic Gutenberg support.

  • Update mammoth.js to 1.4.7.

1.11.0

  • Fix IE11 support.

1.10.0

  • Add workaround for a bug in tinyMCE in WordPress 4.9.6.

1.9.0

  • Update mammoth.js to 1.4.6. This includes preservation of whitespace in pre elements, and paragraphs in endnotes, footnotes and comments.

1.8.0

  • Update mammoth.js to 1.4.4. This includes better support for reading documents created by Word Online.

1.7.0

  • Update mammoth.js to 1.4.2. This includes improved handling of grouped objects and non-breaking hyphens.

1.6.0

  • Allow MAMMOTH_OPTIONS to override idPrefix.

  • Update mammoth.js to 1.4.0. This includes improved handling of hyperlinks, and converts table headers into thead elements.

1.5.0

  • Handle unsuccessful image uploads where the HTTP request succeeds, but WordPress rejects the file. Fixes an issue where documents with EMF images couldn’t be imported.

  • Update mammoth.js to 1.3.2. This includes a fix for documents where images are referenced by a URI relative to the base URI.

1.4.0

  • Update mammoth.js to 1.3.1. This includes new ways to map styles, such as style name prefixes.

  • Improve styling of preview to match the editor.

  • Fix a bug where images wouldn’t upload on certain server configurations.

  • Allow options to be passed to mammoth.js through a MAMMOTH_OPTIONS global variable.

1.3.0

  • Update mammoth.js to 1.2.5. This includes better support for image alt text and boolean run properties (bold, italic, underline and strikethrough).

1.2.0

  • Include wp-image-* class when inserting images. This allows the WordPress editor to correctly identify the image and show appropriate editing options.

  • If an image has an alt text description in the original document, set the alt text in the media library when uploading that image.

  • If an image has an alt text description in the original document, use it to generate the filename.

  • Set image filename extension based on the image content type.

  • Show a message while the document is being inserted.

1.1.0

  • Update mammoth.js to 1.1.0. This includes support for merged table cells and content controls, such as bibliographies. This should also improve performance when converting larger documents.

1.0.0

  • Update mammoth.js to 0.3.33. This includes better support for reading documents that use undefined styles, and generates simpler HTML in some cases.

0.1.25

  • Update mammoth.js to 0.3.30. This includes better support for lists made in LibreOffice.

  • Fix JavaScript error on admin pages without editors.

0.1.24

  • Update mammoth.js to 0.3.29. This improves support for mc:AlternateContent elements.

0.1.23

  • Update mammoth.js to 0.3.28. This improves support for reading images.

0.1.22

  • Update mammoth.js to 0.3.28-pre.1. Fixes newlines being inserted around inline elements when the editor is in text mode.

0.1.21

  • Update mammoth.js to 0.3.27. Fixes recursive collapsing of HTML elements.

0.1.20

  • Update mammoth.js to 0.3.26. Improves the collapsing of HTML elements, such as allowing collapsing elements generated by different runs.

0.1.19

  • Update mammoth.js to 0.3.25-pre.1. Includes experimental support for embedded style maps.

0.1.18

  • Update mammoth.js to 0.3.23. Includes support for links and images in footnotes and endnotes.

0.1.17

  • Update mammoth.js to 0.3.22. Includes support for strikethrough.

0.1.16

  • Update mammoth.js to 0.3.21. Includes basic support for text boxes.

0.1.15

  • Update mammoth.js to 0.3.18. Includes support for hyperlinks to bookmarks in the same document.

  • Add support for CKEditor.

0.1.14

  • Support any post type that supports the WordPress editor.

  • Generate consistent footnote and endnote IDs based on the post ID.

  • Update mammoth.js to 0.3.15.

0.1.13

  • Update mammoth.js to 0.3.14. Includes support for endnotes.

0.1.12

  • Fix preview rendering on Chrome.

  • Update mammoth.js to 0.3.12.

0.1.11

  • Update mammoth.js to 0.3.11. Includes support for superscript and subscript text.

0.1.10

  • Update mammoth.js to 0.3.8. Includes support for line breaks.

0.1.9

  • Remove old script reference.

0.1.8

  • Update to mammoth.js 0.3.5. Includes support for tables.

0.1.7

  • Update to mammoth.js 0.3.2. Includes support for footnotes.

0.1.6

  • Update to mammoth.js 0.2.2

  • Pretty print HTML output

  • Hide inline image data in raw HTML preview

0.1.5

  • Fix versions

0.1.4

  • Fix readme.txt

0.1.3

  • Update to the latest version of mammoth.js (0.2.1)

0.1

  • Initial release

A must-have!

By miketosk on June 6, 2024

This plugin was literally a lifesaver! I had to import dozens of pages of a manual with texts and photos and the function that automatically uploads the photos to the library was FUNDAMENTAL. Thank you so much!

Cannot activate this plugin! Fixed

By lionelanh97 on March 7, 2024

I installed the plugin but I could not activate it!

Edit: It works now.

Saved me hours of work!

By mindbarometer on July 17, 2023

man you're a genius :)

Great plugin

By adeelaziz on July 9, 2023

highly recommended Pugin if you regularly upload blogs on WordPress

Beast plugin

By xtream prince (xtreamprince) on May 16, 2023

One of the most useful plugin out there.

Mammoth .docx Converter Not Working Properly

By CanadianTech on May 30, 2022

With the newest Wordpress update Mammoth .docx Converter has stopped functioning properly. Sometimes it converts and inserts properly but most of the time it takes forever then only inserts half the Word document. 7 months is a long time to go without an update for the plugin.

Молодцы, выручает

By rianovost (suryano11) on January 25, 2022

А вот если бы добавили возможность грузить файл через приложение w WordPress для андроид, то равным вам не будет! Молодцы

WOW, what a great plugin

By TLCJohn on August 23, 2021

Hi Mike We look after a number of websites, which due to UK government legislation have requested that all documents are now placed on the sites as HTML, so the page can very easily be read on all screen sizes and is accessible to people with disabilities. We have tested the plugin over the last few days and it really does the work for us. Just upload the Word Document and then click "insert into editor" done! I wish we had found this plugin months ago. It is great, very easy to use and does the job very well and plays very well with Gutenberg and Kadence theme and blocks. An around win. Cheers John

Superb!

By Schabolabo (schabolabo) on July 28, 2021

This plugin is absolutely superb! I use it a lot, just wonderful.

7 months since update BEWARE

By donhz on April 21, 2021

I have the latest WP update, and Mammoth .docx converter not functioning. It is not working as advertised. Sometimes it doesn't convert the file at all, sometimes throws error messages like, "Error while attempting to convert file: Cannot read property 'children' of undefined." 7 months is a looong time to not update. Has this plug-in been abandoned? It's a good, useful idea, but only if it is updated to work with the ever-changing WP engine.
Try other plugins too!

Allow HTML in Category Descriptions

This plugin allows you to use unfiltered HTML in your category descriptions by disabling selected WordPress filters.

Try Demo More Details

Code Widget

Code widget help to add Short Code, PHP Code, HTML, and Simple Text in widget.

Try Demo More Details

Preserved HTML Editor Markup Plus

Preserves HTML and developer edits in HTML AND WYSIWYG tab. Supports inline scripts/css, JavaScript code blocks and HTML5 content editing

Try Demo More Details
Author Site Author Site

Try Mammoth .docx converter With InstaWP

Contact Sales

Reach out to us to explore how InstaWP can benefit your business.