For a library for converting office document formats, the first results are gotenberg/gotenberg (Gotenberg is an API-driven document conversion service that supports office formats like DOCX, XLSX, and ODF via LibreOffice, plus PDF and web-to-PDF, making it a solid fit for automated batch conversion — it provides an HTTP API rather than a command-line interface), jgm/pandoc (Pandoc is a universal document converter that supports a wide range of office and markup formats including DOCX, ODT, Markdown, LaTeX, and PDF output via its command-line interface, making it a strong fit for automated batch conversion between document formats) and mwilliamson/mammoth.js (Mammoth.js is a document conversion library focused on converting DOCX files to HTML, which fits the category of document format conversion tools, but it lacks support for the wide range of office formats XLSX, PPTX, ODF, PDF that your search requires). wkhtmltopdf/wkhtmltopdf and opendatalab/pdf-extract-kit round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
Open-source tools and libraries for programmatically converting between various document, spreadsheet, and presentation file formats.
Gotenberg is a stateless, containerized service that provides a unified API for document conversion, manipulation, and web-to-PDF rendering. It functions as a centralized engine that abstracts complex document processing tasks, allowing users to interact with various rendering tools and libraries through standard HTTP requests. The service distinguishes itself by utilizing headless browser automation to capture web content and by wrapping multiple specialized PDF engines into a single interface. It supports asynchronous task execution, offloading resource-intensive operations to background wo
Gotenberg is an API-driven document conversion service that supports office formats like DOCX, XLSX, and ODF via LibreOffice, plus PDF and web-to-PDF, making it a solid fit for automated batch conversion — it provides an HTTP API rather than a command-line interface.
Pandoc is a universal document converter that translates content between a wide range of markup and binary formats. It functions by parsing input documents into a unified intermediate abstract syntax tree, which serves as the foundation for consistent manipulation and transformation across diverse output types. The system is distinguished by its modular reader-writer pipeline, which decouples input parsing from output generation to allow for granular control over document structure. Users can programmatically manipulate this intermediate tree through a robust filter system, supporting both ex
Pandoc is a universal document converter that supports a wide range of office and markup formats (including DOCX, ODT, Markdown, LaTeX, and PDF output) via its command-line interface, making it a strong fit for automated batch conversion between document formats.
Mammoth.js is a document conversion library focused on converting DOCX files to HTML, which fits the category of document format conversion tools, but it lacks support for the wide range of office formats (XLSX, PPTX, ODF, PDF) that your search requires.
wkhtmltopdf is a command-line utility that renders web pages into PDF documents or image files. It functions as a headless browser engine, utilizing the Qt WebKit rendering environment to process HTML, CSS, and JavaScript into visual representations suitable for server-side tasks. The tool distinguishes itself by translating standard web styling rules into physical page dimensions and layout constraints, allowing for the creation of structured documents from web-based source files. It supports the generation of automated tables of contents and provides granular control over document layout, i
wkhtmltopdf converts HTML to PDF from the command line, which covers PDF output and batch use, but it does not handle office file formats like DOCX, XLSX, or ODF, so it is not the multi-format office conversion tool you need.
PDF-Extract-Kit is a document extraction toolkit designed to convert PDF documents into structured formats such as Markdown, HTML, and LaTeX. It functions as a multi-stage parsing framework that combines a document layout analyzer, a formula recognition engine, an OCR text extractor, and a table extraction system. The project focuses on recovering complex document elements by translating images of mathematical formulas and tabular structures into editable source code. It utilizes model-driven layout analysis to identify structural elements in reports and textbooks while ignoring noise like wa
PDF-Extract-Kit converts PDF documents into structured formats like Markdown and HTML, but it does not support the office file formats (DOCX, XLSX, PPTX, ODF) or the multi-directional conversion this search calls for.
pdf2docx is a suite of PDF utilities designed to transform static PDF documents into editable DOCX files. It functions as a multi-core processor capable of accelerating the conversion of large files by distributing page tasks across multiple CPU cores. The project includes specialized tools for decrypting password-protected PDF files and extracting tabular content as structured data. It also provides a layout analyzer to visually inspect and verify document structure during the conversion process. Conversion is accessible through both a graphical user interface and a command-line interface,
pdf2docx only converts PDF to DOCX in one direction, not across the full range of office formats (DOCX, XLSX, PPTX, ODF) that your multi-format conversion workflow requires.
vue-office is an office document preview library and web-based document viewer designed to render Word, Excel, PowerPoint, and PDF files directly in a web browser. It provides a collection of reusable components that allow for the display of documents using network URLs, data buffers, or blob data without requiring external plugins. This rendering solution is built as a cross-framework document renderer, offering integration for Vue 2, Vue 3, and React. It enables client-side document display to avoid server-side conversion processes. The library handles document visualization through client
vue-office is a client-side document preview library for rendering Word, Excel, PowerPoint, and PDF files in the browser, not a tool for converting between these formats, so it does not suit the need for automated or batch format conversion.
docx is a JavaScript and TypeScript library for the programmatic generation and manipulation of Word documents. It serves as an OOXML document generator, allowing developers to create formatted office files through code instead of manual editing. The library enables document automation across both Node.js and web browser environments. It supports client-side document export, allowing users to generate and download files directly in the browser without a backend server. Capabilities include the ability to define page layouts, margins, and orientation. Users can programmatically insert documen
dolanmiu/docx is a JavaScript library for programmatically creating Word documents, not a multi-format conversion tool; it cannot convert between DOCX, XLSX, ODF, or PDF and lacks the command-line and batch-processing capabilities this search requires.
BentoPDF is a browser-based document toolkit designed for local-first PDF manipulation, conversion, and metadata management. By executing all file processing tasks directly within the browser sandbox, the application ensures that sensitive data remains on the user's device and is never uploaded to or stored on external servers. The platform distinguishes itself through a modular architecture that supports dynamic remote script loading and the integration of external processing engines. Users can extend the core functionality by connecting third-party libraries, which are executed as compiled
BentoPDF is a browser-based PDF conversion and manipulation toolkit, but it focuses exclusively on PDF files and does not support converting between general office formats such as DOCX, XLSX, or PPTX, so it falls short of the multi-format batch conversion tool you are after.
Pdfcraft is a containerized service for self-managed PDF processing, editing, and conversion. It provides a toolkit for document manipulation, a multi-format converter, and OCR software to transform scanned documents into searchable and editable text. The project features a visual, node-based workflow editor that allows users to build automated pipelines by chaining together various PDF conversion and optimization operations. The service covers a broad range of capabilities, including document management for merging and splitting files, format conversion between PDFs and office documents or
Pdfcraft is a PDF‑centric processing service that also converts between PDFs and office documents, but it is built around PDF manipulation and a visual workflow editor rather than being a general‑purpose, command‑line document‑format converter for automated batch jobs across office formats.
NPOI is a pure .NET library for reading and writing Microsoft Office files in both legacy binary (.xls) and modern OpenXML (.xlsx, .docx) formats, operating entirely without requiring Microsoft Office or COM interop. It runs on Windows and Linux under .NET Standard and .NET Framework runtimes, using only managed code to parse and generate Office documents. The library provides comprehensive spreadsheet capabilities, including creating, editing, and reading Excel workbooks in both .xls and .xlsx formats, with support for cell formatting, styles, and formulas. It includes a streaming row-by-row
NPOI is a .NET library for reading and writing Microsoft Office files, but it is not a standalone tool — it lacks a command-line interface, batch conversion, and PDF support, so it is a building block for conversion rather than the ready-to-use converter this search is after.
OCRmyPDF is a tool for converting image-based PDF files into machine-readable documents by adding a searchable text layer via optical character recognition. It functions as a multi-language processor capable of detecting and extracting text in over 100 different languages using linguistic data packs. The software includes a PDF image optimizer to remove image artifacts and correct page skew to improve recognition accuracy. It also provides a converter to transform scanned documents into the PDF/A standard for long-term digital archiving. The system manages PDF optimization by compressing emb
OCRmyPDF is a tool for adding searchable text to image-based PDFs via OCR, not a general document format converter for office files like DOCX or XLSX, so it only partially addresses the need for PDF input/output rather than cross-format conversion.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| gotenberg/gotenberg | 12.5K | Go | MIT | |
| jgm/pandoc | 44.8K | Haskell | GPL-2.0 | |
| mwilliamson/mammoth.js |
| 6.1K |
| JavaScript |
| bsd-2-clause |
| wkhtmltopdf/wkhtmltopdf | 14.6K | C++ | LGPL-3.0 |
| opendatalab/pdf-extract-kit | 9.7K | Python | AGPL-3.0 |
| artifexsoftware/pdf2docx | 3.5K | Python | MIT |
| 501351981/vue-office | 5.6K | JavaScript | MIT |
| dolanmiu/docx | 5.8K | TypeScript | MIT |
| alam00000/bentopdf | 11.6K | JavaScript | agpl-3.0 |
| pdfcrafttool/pdfcraft | 3.1K | JavaScript | agpl-3.0 |