awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
mwilliamson avatar

mwilliamson/mammoth.js

0
View on GitHub↗
6,101 stars·647 forks·JavaScript·bsd-2-clause·17 views

Mammoth.js

Features

  • DOCX to HTML Converters - Reads .docx files and produces clean, semantic HTML by mapping document styles to HTML elements.
  • Document Text Extractors - Strips all formatting and returns only the plain text content of a .docx file with paragraph separation.
  • Document Data Extraction - Extracts plain text from Word documents with paragraph separation for further processing or analysis.
  • PDF to HTML Converters - Transforms Word documents into clean HTML by mapping semantic styles rather than replicating visual formatting.
  • Document Text Extractors - Extracts plain text from DOCX files by stripping all formatting and returning content with paragraph separation.
  • Extractors - Strips all formatting from DOCX files and outputs only plain text with paragraph separators.
  • Base64 Asset Embedding - Embeds images as base64 data URIs directly into HTML output for self-contained documents.
  • Style-to-Element Mappings - Lets users define rules that convert named paragraph or run styles into specified HTML tags with optional CSS classes.
  • Document Style Mappings - Lets users define custom rules mapping named DOCX paragraph and run styles to specified HTML tags and CSS classes.
  • Document Style Mappings - Maps document styles to HTML elements using a configurable style map that defines transformation rules.
  • Document Conversion - Applies user-defined functions to the document's internal representation to modify paragraphs or runs before generating HTML.
  • Pre-Conversion Hooks - Applies user-defined functions to modify paragraphs and runs in the document model before HTML generation.
  • HTML Document Transformation - Applies user-defined functions to modify paragraphs and runs in a .docx file's internal structure before HTML generation.
  • Document Transformation Pipelines - Applies custom transformations to the internal document structure before generating the final HTML output.
  • Data URI Handlers - Embeds image data directly into HTML output as base64-encoded data URIs for self-contained documents.
  • Data URI Embeddings - Includes images from DOCX files as inline data URIs in the HTML output for self-contained documents.
  • Document Processing - Conversion of Word documents into clean HTML.

Star history

Star history chart for mwilliamson/mammoth.jsStar history chart for mwilliamson/mammoth.js

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Mammoth.js

Similar open-source projects, ranked by how many features they share with Mammoth.js.
  • coolwanglu/pdf2htmlexcoolwanglu avatar

    coolwanglu/pdf2htmlEX

    10,603View on GitHub↗

    pdf2htmlEX is a tool that converts PDF documents into HTML while preserving the original text, fonts, and layout. It uses CSS positioning and font embedding to replicate the PDF's appearance in a browser, producing output that works without JavaScript. The tool can generate a single self-contained HTML file with all resources embedded, or split the document into separate HTML files per page for individual loading and navigation. The converter offers extensive control over the output, including the ability to embed fonts directly into the HTML using base64-encoded Data URIs, or keep them as se

    HTML
    View on GitHub↗10,603
  • unidoc/uniofficeunidoc avatar

    unidoc/unioffice

    4,809View on GitHub↗

    unioffice is a comprehensive document processing suite that provides a PDF document processor, an Open XML document library, a document security toolkit, and a document content extractor. It is designed to programmatically create, read, and modify Word, Excel, and PowerPoint files, as well as generate and edit PDF documents. The project is distinguished by its native language implementation of the Open XML standard, which removes native binary dependencies to simplify container deployments. It features advanced capabilities for digital document security, including hardware-based PDF signing,

    Godocxecma-376excel
    View on GitHub↗4,809
  • vikparuchuri/markerVikParuchuri avatar

    VikParuchuri/marker

    36,164View on GitHub↗

    Marker is an LLM-powered document parser and OCR pipeline designed to convert PDFs and unstructured files into structured markdown, JSON, and HTML. It functions as a data preprocessor that transforms complex documents into machine-readable formats while preserving tables, equations, and layout structures. The system utilizes large language models to refine OCR accuracy, clean mathematical notation, and merge fragmented tables across multiple pages. It employs model-based layout analysis to predict block types and bounding boxes, ensuring a more precise conversion of document elements. Capabi

    Python
    View on GitHub↗36,164
  • danburzo/percollatedanburzo avatar

    danburzo/percollate

    4,647View on GitHub↗

    Percollate is a command-line tool for converting web pages and RSS feeds into structured files. It functions as a web content converter, static document generator, and page bundler that transforms online content into PDF, EPUB, HTML, or Markdown formats. The tool creates self-contained documents by embedding external images as encoded data URLs and applying custom HTML templates and CSS stylesheets. It can combine multiple web URLs or feed entries into a single digital book featuring a generated table of contents and hyperlinked index. Additional capabilities include the decomposition of Ato

    JavaScript
    View on GitHub↗4,647
See all 30 alternatives to Mammoth.js→

Frequently asked questions

What are the main features of mwilliamson/mammoth.js?

The main features of mwilliamson/mammoth.js are: DOCX to HTML Converters, Document Text Extractors, Document Data Extraction, PDF to HTML Converters, Extractors, Base64 Asset Embedding, Style-to-Element Mappings, Document Style Mappings.

What are some open-source alternatives to mwilliamson/mammoth.js?

Open-source alternatives to mwilliamson/mammoth.js include: coolwanglu/pdf2htmlex — pdf2htmlEX is a tool that converts PDF documents into HTML while preserving the original text, fonts, and layout. It… unidoc/unioffice — unioffice is a comprehensive document processing suite that provides a PDF document processor, an Open XML document… vikparuchuri/marker — Marker is an LLM-powered document parser and OCR pipeline designed to convert PDFs and unstructured files into… danburzo/percollate — Percollate is a command-line tool for converting web pages and RSS feeds into structured files. It functions as a web… jhy/jsoup — Jsoup is a Java library designed for parsing, extracting, and manipulating HTML and XML content. It provides a… deanmalmgren/textract — Textract is a multi-format text extraction tool and parser. It provides a unified interface to extract plain text from…