← Discover
Discover · GitHub · Olmocr↑ +334 today

Convert PDF documents for AI

Developed by AllenAI, olmocr is a toolkit that converts PDF documents into text formats suitable for large language models. This software facilitates data set preparation processes by providing linear processing of complex document structures.

Updates

  • August 2, 2026: Stars 18,418 → 19,259, latest release v0.4.27 (March 12, 2026).

What you get

  • Converts PDF and image formats to clean Markdown text
  • Processes equations, tables, and complex layouts in the correct reading order
  • Automatically clears header and footer information

Installation

Installing system dependencies
sudo apt-get update
sudo apt-get install poppler-utils ttf-mscorefonts-installer msttcorefonts fonts-crosextra-caladea fonts-crosextra-carlito gsfonts lcdf-typetools
Creating a Python environment
conda create -n olmocr python=3.11
conda activate olmocr

If you don't write code

🤖 Paste this into your AI agent (Claude Code · Codex · Antigravity)

I want to convert the PDF documents I have into a clean Markdown format that artificial intelligence models can easily read. Can you explain to me step by step the installation steps required for this process and the method of running it on the local GPU?

Related dictionary terms

Who it is forIt is for researchers and developers who want to convert complex PDF documents into datasets for large language models.
LicenseApache-2.0

Links

TreScout did not build this tool · we found it in GitHub trends and wrote it up. This page describes the repository as of 2026-07-02: The star count and our text belong to that day, the repository may have changed since. Check the repository link for the current state. This page was machine-translated from the Turkish original · the Turkish version prevails.