drmingler/docling-api

Easily deployable and scalable backend server that efficiently converts various document formats (pdf, docx, pptx, html, images, etc) into Markdown. With support for both CPU and GPU processing, it is Ideal for large-scale workflows, it offers text/table extraction, OCR, and batch processing with sync/async endpoints.

What it solves

This project provides a scalable backend server that converts various document formats—including PDF, DOCX, PPTX, CSV, HTML, images, and AsciiDoc—into Markdown. It solves the problem of efficiently processing complex documents at scale, providing a robust API for both single and batch conversions.

How it works

The server is powered by IBM's Docling parser. It uses a distributed architecture consisting of a FastAPI application for the REST API, Celery workers for processing tasks, and Redis as the message broker and result backend. The system supports both synchronous (immediate) and asynchronous (job-tracked) conversion modes, and can be optimized for either CPU or GPU-accelerated processing.

Who it’s for

Developers and organizations needing to convert large volumes of diverse document types into a clean Markdown format for further processing, such as for use in LLM pipelines or data extraction tasks.

Highlights

  • Broad Format Support: Handles PDF, DOCX, PPTX, HTML, images (JPG, PNG, TIFF, BMP), AsciiDoc, and CSV.
  • Hign-Performance Processing: Offers GPU acceleration for production environments and horizontal scaling via Celery workers.
  • Flexible API: Supports synchronous single/batch conversion and asynchronous jobs with tracking.
  • Advanced Extraction: Includes table detection, image extraction, and multi-language OCR support.
  • Monitoring: Integrated Flower dashboard for tracking task status and worker performance.

Related

  • Project
  • Project
  • Project
  • Project
  • Project