talira

Compare

docx2pythonpython-docxDoclingUnstructured
What it isExtract docx headers, footers, text, footnotes, endnotes, properties, comments and imagesCreate and modify Word documents with PythonGet your documents ready for gen AIConverts PDFs, Office files, HTML and email into structured data for LLM pipelines
KindOpen sourceOpen sourceOpen sourceOpen core
Trust0.230.230.890.81
Stars——7059915742
Last commit——2026-11-152026-11-14
LicenceMITMITMITApache-2.0
PricingFree and open sourceFree and open sourceFree and open sourceUsage-based, free tier
Free tierYesYesYesYes
Self-hostableYesYesYesYes
Ways to run it———
  • Unstructured (open source library) (self-hosted, Apache-2.0): free
    You arrange: Python and the extras for the formats you need, System packages: libmagic, poppler-utils, tesseract-ocr, LibreOffice for Office documents, Compute for OCR and layout models, scaling and upgrades
  • Unstructured Platform (Free and Pay-As-You-Go): first 10,000 pages free, then $0.015 per page
  • Unstructured Business (SaaS or dedicated instance): custom (contact sales)
  • Unstructured Business in-VPC (self-hosted, proprietary): custom (Business agreement)
    You arrange: A cloud account and VPC with private subnets and NAT (Unstructured can build it with an IAM principal you give it, or you bring your own), A Kubernetes cluster, e.g. EKS 1.31+ with c5.4xlarge or larger nodes (2 to 5), PostgreSQL 16 (e.g. RDS), Four object storage buckets, Secrets and ConfigMaps for auth (JWKS/JWT), database, blob storage, Keycloak, Redis and OpenTelemetry, Unstructured's enablement team deploys the software into the cluster
SOC 2———Yes
HIPAA———Yes
SSO————
API——YesYes
Plugins————
MCP server——YesYes
Company——IBM and LF AI & Data Foundation
public company (NYSE:IBM)
Unstructured
Features
  • body, headers, footers, footnotes and endnotes as nested lists with paragraphs at depth 4
  • tables always returned as n×m lists; merged cells duplicated or left empty
  • Par objects with each paragraph's style, list position, runs and XML element
  • checkbox and dropdown selections
  • comments as (reference text, author, date, comment text)
  • document properties such as creator and lastModifiedBy
  • images, as bytes or saved to a folder, with placeholders in the text
  • math equations
  • All 13 features
  • open existing .docx files or create new ones, and save them
  • paragraphs, runs and character formatting (bold, italic, font, size, colour)
  • tables: add, read and modify rows, columns and cells
  • sections and page setup: orientation, size and margins
  • headers and footers
  • styles: apply and define paragraph, character and table styles
  • inline pictures sized in inches, centimetres or points
  • comments (added in 1.2.0)
  • All 11 features
  • PDF understanding: page layout, reading order, table structure
  • inputs: PDF, DOCX, PPTX, XLSX, HTML, EPUB, images, audio, email and more
  • exports: Markdown, HTML, WebVTT, DocTags, lossless JSON
  • OCR for scanned PDFs and images
  • vision-language models such as GraniteDocling
  • local execution for sensitive data and air-gapped environments
  • MCP server
  • CLI
  • partitioning into typed elements across 50-65+ file types
  • chunking and embedding
  • 20+ source connectors (S3, SharePoint, Google Drive, Snowflake, Databricks) and 20+ destinations including vector databases
  • Transform API with Parse and Extract (structured fields)
  • scheduled ETL pipelines
  • Docker images for the open-source library
  • MCP access to Transform
Limitations
  • Doesn't create Word documents: it extracts content from existing .docx files, and edits only lightly through their XML (search and replace)
  • Doesn't open the old binary .doc format from Word 2003 and earlier: it reads and writes Word 2007+ .docx files only
  • Doesn't add floating pictures that text wraps around: python-docx only supports inline pictures
  • Doesn't convert documents to Word or PDF: it exports Markdown, HTML, JSON and plain text