BASE

Unstructured

Unstructured

AI / ML development tool · Free

A Python library for parsing unstructured documents: it extracts text elements and metadata for ETL, search, and RAG applications.

Also known as: unstructured-io/unstructured; unstructured-etl; unstructured-io; document-structuring

Resource illustration: Unstructured

Open resource ↗

What you can use for free

A local code pipeline under Apache-2.0; rights for the selected models are checked separately.

Paid features and costs

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Access and limitations

A local code pipeline under Apache-2.0; rights for the selected models are checked separately. Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

Use cases

  • Split documents into text elements
  • Check extracted elements/metadata before ETL or RAG indexing

Example workflow

A possible workflow; this is not a report of hands-on testing.

Split documents into text elements.

Before you start

  • Test documents or tasks, and a quality criterion.
  • Models, a runtime, and a computing budget.

Steps

  1. Choose supported documents and a partitioning workflow.
  2. Check extracted elements/metadata before ETL or RAG indexing.
  3. Connect the workflow to the application and make errors observable.

Check your result

  • Check the result against reference examples and invalid inputs.
  • Inference costs, model rights, and data handling have been established.

Choosing Unstructured

Split documents into text elements

Choose this when

  • Split documents into text elements
  • Check extracted elements/metadata before ETL or RAG indexing

Requirements

  • System dependencies depend on format: libmagic for type detection, poppler and Tesseract for images/PDF, and LibreOffice for Office. all-docs includes Python extras for all formats.

Things to consider

  • Costs and limits of free use: Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.
  • Terms of use: Apache-2.0 for the code; third-party components retain their own terms.
  • Installing the base library does not establish OCR readiness or support for all file formats. Transform MCP and managed Pipelines are documented separately from the local open-source library.

Frequently asked questions

What can you use for free in Unstructured?

A local code pipeline under Apache-2.0; rights for the selected models are checked separately.

What additional costs might arise with Unstructured?

Model APIs, managed services, and computing resources are paid for separately; the code license does not license all model weights.

What terms of use matter for Unstructured?

Apache-2.0 for the code; third-party components retain their own terms.

How do you get started with Unstructured?

Choose supported documents and a partitioning workflow. Check extracted elements/metadata before ETL or RAG indexing. Connect the workflow to the application and make errors observable.

Must I install every Unstructured dependency for a single format?

No: the README separates the base installation for text, HTML, XML, JSON, and email from extras for other formats, such as docx/pptx. The partition function returns document elements for further processing.

License

Apache-2.0 for the code; third-party components retain their own terms.

Apache 2.0 — permissive license with patent terms

You can use and modify the code in commercial and closed-source projects. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks.

License terms

Technologies and topics

  • Unstructured
  • ml
  • Development

Sources

Other resources