# Unstructured

CreateWithAI Hub page: https://createwithaihub.com/open-source/unstructured
Latest version of this file: https://createwithaihub.com/open-source/unstructured.md

- Type: Library · Category: Libraries & Open Source
- Publisher: Unstructured
- Pricing: Free · License: Apache-2.0
- Runs on: API (cloud), Docker / self-hosted

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

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.

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

## Connection

- Language: Python

## Before you start

- Python
- libmagic, poppler, tesseract and libreoffice for full format support

## Install steps from the official documentation

All document types:

```
pip install "unstructured[all-docs]"
```

Docker:

```
docker pull downloads.unstructured.io/unstructured-io/unstructured:latest
```

## Limitations

- 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

## Official links

- Website: https://unstructured.io
- Source repository: https://github.com/Unstructured-IO/unstructured
- Source: https://github.com/Unstructured-IO/unstructured (README: description, 'completely free' open-source library, install commands and extras, system dependencies, Docker image, Transform v2 API mention; LICENSE Apache-2.0)
- Source: https://unstructured.io/pricing (Hosted platform: Free 10,000 pages, Pay-As-You-Go $0.015/page (audio $0.015/min, video $0.045/min), Business custom)
