# Document processing library

> AI-ranked search results for `document manipulation` on awesome-repositories.com — ordered by an LLM for relevance, best match first. 118 total matches; showing the top 10.

Explore on the web: https://awesome-repositories.com/q/document-manipulation

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [this search on awesome-repositories.com](https://awesome-repositories.com/q/document-manipulation).**

## Results

- [pdfcpu/pdfcpu](https://awesome-repositories.com/repository/pdfcpu-pdfcpu.md) (8,675 ⭐) — pdfcpu is a Go PDF processing library and command-line interface designed for programmatically manipulating, optimizing, and validating PDF files. It provides a toolkit for document content modification and structural management.

The project distinguishes itself as an optimization tool and layout engine, capable of reducing file sizes and improving loading speeds by streamlining internal structures. It also functions as a security manager, providing password-based encryption, decryption, and digital signature verification.

Its capability surface includes page management for merging, splittin
- [pymupdf/pymupdf](https://awesome-repositories.com/repository/pymupdf-pymupdf.md) (9,086 ⭐) — PyMuPDF is a comprehensive PDF manipulation library and document analysis tool. It serves as a text extraction tool, OCR engine, and image converter, providing a programmatic interface to edit, merge, split, and optimize PDF and Office documents.

The project distinguishes itself through high-performance capabilities, including the use of C-bindings for low-level manipulation and parallelized page processing to accelerate workloads. It provides specialized conversion paths, such as transforming PDF content into Markdown for retrieval-augmented generation and large language model pipelines.

It
- [mwilliamson/mammoth.js](https://awesome-repositories.com/repository/mwilliamson-mammoth-js.md) (6,101 ⭐)
- [pdfcrafttool/pdfcraft](https://awesome-repositories.com/repository/pdfcrafttool-pdfcraft.md) (3,113 ⭐) — 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
- [hopding/pdf-lib](https://awesome-repositories.com/repository/hopding-pdf-lib.md) (8,515 ⭐) — pdf-lib is a JavaScript PDF manipulation library used for creating, modifying, and editing PDF documents programmatically. It functions as a cross-runtime tool compatible with Node, Browser, Deno, and mobile JavaScript environments.

The library provides a programmatic interface for document editing and form generation. It supports building interactive PDF forms, populating existing fields with custom data, and flattening forms into static content.

Its broader capabilities include generating new documents from scratch, rearranging or copying pages between files, and managing document metadata
- [libreoffice/core](https://awesome-repositories.com/repository/libreoffice-core.md) (4,045 ⭐) — This project is an open-source office suite that provides a collection of productivity applications for word processing, spreadsheets, presentations, and databases. It implements the Open Document Format standard to ensure interoperability between different office productivity tools.

The suite includes a specialized formula equation editor for mathematical formatting, a vector graphics editor for scalable images, and a relational database manager for organizing structured data.

The project covers broad functional domains including text document generation, spreadsheet management, presentatio
- [vikparuchuri/marker](https://awesome-repositories.com/repository/vikparuchuri-marker.md) (36,164 ⭐) — 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
- [stirling-tools/stirling-pdf](https://awesome-repositories.com/repository/stirling-tools-stirling-pdf.md) (81,109 ⭐) — Stirling-PDF is a self-hosted document processing suite designed for secure, private file management. It functions as a comprehensive transformation engine that executes complex operations—such as merging, splitting, converting, and redacting documents—directly on the host machine. The platform provides both a browser-based interface for interactive editing and a programmatic, API-first architecture that allows for the automation of document workflows through standard HTTP requests.

The project distinguishes itself through its focus on private, infrastructure-agnostic deployment and granular
- [datalab-to/surya](https://awesome-repositories.com/repository/datalab-to-surya.md) (20,889 ⭐) — Surya is a document processing platform designed to transform unstructured files into structured, machine-readable data. It provides a comprehensive suite of tools for text recognition, layout analysis, and reading order detection, enabling the conversion of PDFs and images into formats such as JSON, HTML, or markdown. The platform is built to handle complex document workflows, offering capabilities for data extraction, document segmentation, and automated form completion.

The platform distinguishes itself through a robust pipeline-based architecture that allows users to chain analysis tasks
- [pdf-rs/pdf](https://awesome-repositories.com/repository/pdf-rs-pdf.md) (1,672 ⭐) — This library is a toolkit for processing, manipulating, and inspecting PDF documents within the Rust programming language. It provides programmatic access to the internal structure of files, enabling the extraction of data and the modification of document content.

The project utilizes a strongly-typed system to map complex document objects into structured data models. It supports the parsing of existing files through lazy-loading and stream-based decoding, which allows for the retrieval of text, metadata, and images. The library also facilitates the creation of updated document versions by re
