NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #4210 most downloaded on npm
Convert Word documents from docx to simple HTML and Markdown
Last release 7 days ago
26 Sep 2026
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
102 releases · first in 2013
Always use mc:Fallback when reading mc:AlternateContent elements.
Avoid inserting newlines around inline elements when pretty-printing HTML.
Avoid inserting newlines around inline elements when pretty-printing HTML.
CLI: print warnings to stderr.
Read v:imagedata with r:id attribute.
Read children of v:roundrect.
Ignore office-word:wrap, v:shadow and v:shapetype.
One column per quarter.
Nothing published for this version
Fix recursive collapsing of elements.
Keep HTML elements open correctly when the HTML path contains no fresh element.
Keep HTML elements open correctly when the HTML path contains no fresh element.
Collapse similar non-fresh HTML elements together.
Don't escape double quotes outside of attributes.
When the styleMap option is passed as a string, ignore lines beginning with #.
When the styleMap option is passed as a string, ignore lines beginning with #.
Generate warnings for not-understood style mappings and continue, rather than stopping with an error.
Add support for embedded style maps.
Add support for linked images.
Nothing published for this version
Ignore w:numPr elements without w:numId or w:ilvl children.
Support links and images in footnotes and endnotes.
Add support for underlines in style map.
Add support for underlines in style map.
Add support for strikethrough.
Add basic support for text boxes. The contents of the text box are treated as a separate paragraph that appears after the paragraph containing the tex
Support styles defined without a name
Add ignoreEmptyParagraphs option, which defaults to true.
Make style names case-insensitive in style mappings. This should make style mappings easier to write, especially since Microsoft Word sometimes repres
Add support for hyperlinks to bookmarks in the same document.
Add basic support for Markdown. Not all features are currently supported.
Add default style mappings for builtin footnote and endnote styles in Microsoft Word and LibreOffice.
Add default style mappings for builtin footnote and endnote styles in Microsoft Word and LibreOffice.
Allow style mappings with a zero-element HTML path.
Emit warnings when image types are unlikely to be supported by web browsers.
Update jszip to 2.4.0.
* Add support for endnotes.
Update license-sniffer to fix license comments in mammoth.browser.js.
Update bluebird dependency to fix operation in web workers.
Add support for superscript and subscript text.
Handle XML files that start with the UTF-8 BOM.
Add support for reading Buffer instances.
* Add support for line breaks.
Add optional underline conversion.
Add helper mammoth.transforms.paragraph.
mammoth.transforms.paragraph.Add mammoth.images.inline, and document custom image conversion.
mammoth.images.inline, and document custom image conversion.Add the function mammoth.extractRawText.
mammoth.extractRawText.* Add support for tables.
* Add support for footnotes.
Fix: all non-paragraph styles are treated as character styles when reading styles from a docx document.
Rename the existing concept of a "style name" to "style ID" to correspond to the terminology used internally in docx files. Any document transforms th
Rename the existing concept of a "style name" to "style ID" to correspond to
the terminology used internally in docx files. Any document transforms that
get or set the styleName property should use the styleId property instead.
Allow paragraphs and runs to be matched by style name. For instance, to match
a paragraph with the style name Heading 1:
p[style-name='Heading 1']
Use an array of raw strings rather than an array of style mappings when passing options to convertToHtml.
Add support for node 0.11 (tested on node 0.11.13).
Fix: exception when bad arguments are passed into unzip.openZip.
* Fix browserify support.
Rename mammoth.style() to mammoth.styleMapping().
Rename mammoth.style() to mammoth.styleMapping().
Add support for document transforms.
Append standard style map to custom style map unless explicitly excluded.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →