Skip to main content
Document loaders provide a standard interface for reading data from different sources (such as Slack, Notion, or Google Drive) into LangChain’s Document format. This ensures that data can be handled consistently regardless of the source. All document loaders implement the BaseLoader interface.
Community document loaders are user-contributed and unverified. LangChain does not review or endorse these integrations; use them at your own risk.

Interface

Each document loader may define its own parameters, but they share a common API:
  • load(): Loads all documents at once.
  • lazy_load(): Streams documents lazily, useful for large datasets.

By category

Productivity tools

The below document loaders allow you to load data from commonly used productivity tools.

Webpages

The below document loaders allow you to load webpages.
PyPDFLoader, PyMuPDFLoader, PDFMinerLoader, and PDFPlumberLoader live in the unmaintained langchain-community package but should no longer be used. Prefer one of the partner packages above for new work. See the LangChain Community sunset notice.

PDFs

Partner and community loaders for PDF files. Hosted partner guides are listed first. Classic loaders from langchain-community and other community packages follow. For the full download-sorted catalog, see All document loaders.

Cloud providers

The below document loaders allow you to load documents from your favorite cloud providers.

Common file types

The below document loaders allow you to load data from common data formats.
Older tutorials often import TextLoader and JSONLoader from langchain_community. Those classes still ship in the unmaintained langchain-community package but should no longer be used. Prefer one of the partner packages above for new work. See the LangChain Community sunset notice.

All document loaders