CreateWithAIHub

Library Unstructured

Unstructured

Open-source Python library that parses PDFs, Word, HTML, images and more into structured elements for LLM pipelines.

Document parsingFreeOpen source
Visit website ↗
Save

What it is

Unstructured is an open-source library for preprocessing documents for language models: it partitions PDFs, HTML, Word documents, images, emails and other formats into typed elements such as titles, text and tables that can be chunked and embedded. It can be installed per file type or with all document extras, or run from a Docker image. The company also runs a hosted Unstructured platform and Transform API with a free allowance and per-page pricing.

What it's useful for

Turning a folder of mixed PDFs and Word files into clean, chunked text for a RAG index.

Key features

  • Partitions PDFs, HTML, Word, PowerPoint, images, emails and more into structured elements
  • Per-format extras such as unstructured[docx,pptx] or unstructured[all-docs]
  • OCR and PDF handling through tesseract and poppler
  • Docker image built from main
  • Hosted platform: 10,000 free pages, then $0.015 per page; audio and video on paid plans

How to use it

Before you start

  • Python
  • libmagic, poppler, tesseract and libreoffice for full format support
All document types
pip install "unstructured[all-docs]"
Docker
docker pull downloads.unstructured.io/unstructured-io/unstructured:latest

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Full document support needs system packages: libmagic, poppler, tesseract and libreoffice
  • The README says higher-quality output is available through the hosted Transform v2 API
  • Hosted Business plans (dedicated instance, VPC) are custom priced

MCP servers for this

Firecrawl's MCP server that lets agents scrape, crawl, map and search the web and get clean markdown back.

Free plan + paidOpen sourceDeal

Apify's MCP server that lets agents find and run ready-made Actors from Apify Store for web scraping, data extraction and automation.

Free plan + paidOpen source

Microsoft's MCP server for browser automation that drives pages through Playwright accessibility snapshots.

FreeOpen source

Skills for this

Hugging Face's Agent Skills for the Hub CLI, datasets, model training, evaluation, Spaces and SageMaker deployment.

FreeOpen source

Related resources

Z.ai's GLM model family (GLM-5.3, GLM-5.3-Flash): open-weight MoE language models with a 1M-token context, API and chat app.

Free plan + paid

Open-source vector database from Lite in-process to distributed Kubernetes, with managed Zilliz Cloud.

FreeOpen source

Open-source vector search engine written in Rust, with hybrid search and payload filtering, self-hosted or on Qdrant Cloud.

FreeOpen source

Open-source platform that automates browser workflows with LLMs and computer vision, self-hosted or as Skyvern Cloud.

Free plan + paidOpen source

Type to search. Use ↑ ↓ and Enter.