llama-index-readers-file
llama-index readers file integration
What it is and what it does
This package provides specialized file parsers for multiple document formats including PDFs, Word documents, spreadsheets, images, notebooks, presentations, and markup files. It wraps several underlying parsing libraries (beautifulsoup4, pypdf, defusedxml, striprtf, and pandas) to handle format-specific extraction. Each loader extracts text, metadata, and structure from its target format and integrates with the document abstraction layer, allowing you to build multi-format ingestion pipelines without writing custom parsing code.
The package is designed as the default integration for file loading, providing readers like DocxReader, PDFReader, EpubReader, HTMLTagReader, ImageReader, IPYNBReader, MarkdownReader, MboxReader, PptxReader, PandasCSVReader, CSVReader, XMLReader, and others. You select the appropriate reader for your file type and pass it to SimpleDirectoryReader, which then loads and structures the content for downstream indexing and retrieval tasks.
Use it for:
- Ingest a directory of mixed PDFs and Word documents for semantic search and indexing.
- Parse CSV files with PandasCSVReader or PagedCSVReader to load tabular data as documents.
- Extract text and structure from HTML files or email archives (MBOX) for knowledge base construction.
- Process Jupyter notebooks or Markdown files to index code and documentation together.
- Load images with ImageReader for multimodal document indexing.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides file loaders that parse documents in multiple formats (PDF, DOCX, images, CSV, HTML, Markdown, and others) into structured data for indexing and retrieval.
Yes. This is actively maintained with low install friction and no known vulnerabilities. It provides broad format coverage through readers for PDFs, DOCX, images, CSV, HTML, Markdown, notebooks, presentations, and more. Install it if you need to ingest documents from multiple file types.
Install
llama-index-readers-file on PyPI
pip
pip install llama-index-readers-fileuv
uv add llama-index-readers-filepoetry
poetry add llama-index-readers-fileInstalling llama-index-readers-file
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with current Python version support.
License in practice
MIT license permits commercial and private use with minimal restrictions.
Quickstart
pip install llama-index-readers-file
from llama_index.readers.file import PDFReader
parser = PDFReader()
file_extractor = {".pdf": parser}
documents = SimpleDirectoryReader("./data", file_extractor=file_extractor).load_data()
Requires llama-index-core as a runtime dependency; Python 3.10 or later.
Verify before relying
- Whether all listed loaders are fully functional or if some require additional system libraries.
- Performance characteristics when processing large files or directories with many documents.
- Whether image-based loaders require additional model downloads or API keys.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — beautifulsoup4, defusedxml, llama-index-core, pandas, pypdf, striprtf |
| Maintenance | actively maintained — 155 days since the last release |
| First released | |
| Downloads | 4,390,193/month — #2,314 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: llama_index_readers_file-0.6.0-py3-none-any.whl
Keywords: 10k, 10q, chart, eml, figure, html, hwp, image, invoice, ipynb, jupyter, notebook, pdf, pymupdf, receipt, sec, spreadsheet, tabular, unstructured.io, yaml, yml
Tags
More Text Processing packages
A drop-in replacement for Python's standard…
permissive · top 100 on PyPI
pyparsingpyparsing provides a library for building text…
permissive · top 1,000 on PyPI
docutilsDocutils converts plaintext documentation in…
unclear · top 1,000 on PyPI
RapidFuzzRapidFuzz provides fast fuzzy string matching…
permissive · top 1,000 on PyPI
tinycss2tinycss2 parses CSS strings into token and…
permissive · top 1,000 on PyPI
llama-parseLlamaParse parses complex documents (PDFs,…
permissive · top 1,000 on PyPI
llama-index-readers-llama-parseParses PDF files into structured markdown or…
permissive · top 5,000 on PyPI
llama-index-readers-confluenceLoads pages and attachments from Confluence…
permissive · top 15,000 on PyPI
llama-indexLlamaIndex is a data framework that connects…
permissive · top 5,000 on PyPI
llama-index-legacyLlamaIndex Legacy is a data framework for…
permissive · top 5,000 on PyPI
llama-index-coreLlamaIndex Core provides foundational…
permissive · top 5,000 on PyPI
llama-index-embeddings-langchainIntegrates Langchain embedding models with…
permissive · top 15,000 on PyPI
pymupdf4llmConverts PDFs and documents into clean,…
agpl · top 1,000 on PyPI
llama-index-llms-litellmIntegrates LiteLLM with LlamaIndex to provide…
permissive · top 15,000 on PyPI
llama-index-llms-langchainBridges LlamaIndex with LangChain LLM…
permissive · top 15,000 on PyPI