Unstructured is a document processing library designed to extract and organize information from files containing text, images, tables, and other content. It transforms documents from different formats into structured elements that can be processed by downstream applications.
The library is particularly useful for preparing documents for search systems, information extraction, retrieval-augmented generation, and language model workflows. Instead of treating every document as an undifferentiated block of text, it attempts to preserve meaningful document components such as headings, paragraphs, lists, and tables.
Unstructured provides a common processing interface across multiple document types, reducing the need to develop separate extraction workflows for each format. Its modular architecture allows document processing pipelines to combine parsing, cleaning, and segmentation operations.
This is free and open source software.
Key Features
- Extracts content from PDFs, Word documents, PowerPoint presentations, spreadsheets, HTML, and other document formats.
- Processes plain text, Markdown, XML, JSON, email messages, and image-based documents.
- Automatic file type detection selects an appropriate document partitioning function.
- Partitions documents into structured elements such as titles, narrative text, list items, and tables.
- Preserves available metadata associated with extracted document elements.
- PDF processing supports different extraction strategies for varying document layouts.
- Optical character recognition enables text extraction from scanned documents and images.
- Document layout analysis helps identify distinct regions and content types.
- Text cleaning functions normalize whitespace and remove unwanted formatting artifacts.
- Chunking facilities divide extracted content into manageable segments for downstream processing.
- Title-aware chunking uses document structure to determine appropriate segment boundaries.
- Table handling supports the extraction and processing of tabular document content.
- Configurable processing functions support different file types and extraction requirements.
- Document elements can be converted into structured representations suitable for further analysis.
- Integration facilities support document ingestion and preprocessing workflows.
Website: github.com/Unstructured-IO/unstructured
Support:
Developer: Unstructured and contributors
License: Apache License 2.0
Unstructured is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Python Natural Language Processing Tools | |
|---|---|
| PyTorch-Transformers | Library of state-of-the-art pre-trained models for NLP |
| NLTK | Natural Language Toolkit |
| spaCy | Industrial strength natural language processing |
| scikit-learn | Machine learning library |
| Haystack | AI orchestration framework |
| Gensim | Vector space modeling and topic modeling toolkit |
| flair | Simple framework for state-of-the-art NLP |
| TextBlob | Python (2 and 3) library for processing textual data |
| doccano | Data labelling and text annotation platform |
| BERTopic | Topic modeling |
| textacy | Python library for performing NLP tasks |
| Presidio | Data protection and de-identification SDK |
| polyglot | Multilingual text (NLP) processing toolkit |
| AllenNLP | Apache 2.0 NLP research library |
| Snips NLU | Natural Language Understanding Python library |
| PyNLPI | Various modules useful for common, and less common, NLP tasks |
| nlpnet | Natural Language Processing with neural networks |
| Pattern | Web mining module |
| GluonNLP | Deep Learning for NLP |
| PyTorch-NLP | Neural network layers, text processing modules and datasets |
| NLP Architect | Deep Learning NLP/NLU library |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.