On Thursday French large language model (LLM) developer Mistral launched a new API for developers who handle complex PDF documents. Mistral OCR is an optical character recognition (OCR) API that can turn any PDF into a text file to make it easier for AI models to ingest.
LLMs which underpin popular GenAI tools like OpenAI’s ChatGPT work particularly well with raw text. So companies that want to create their own AI workflow know that it has become extremely important to store and index data in a clean format so that this data can be reused for AI processing.
Unlike most OCR APIs, Mistral OCR is a multimodal API, meaning that it can detect when there are illustrations and photos intertwined with blocks of text. The OCR API creates bounding boxes around these graphical elements and includes them in the output.
Mistral OCR also doesn’t just output a big wall of text; the output is formatted in Markdown, a formatting syntax that developers use to add links, headers, and other formatting elements to a plain text file.
LLMs rely heavily on Markdown for their training data sets. Similarly, when you use an AI assistant, such as Mistral’s Le Chat or OpenAI’s ChatGPT, they often generate Markdown to create bullet lists, add links, or put some elements in bold. Assistant apps seamlessly format the Markdown output into a rich text output. That’s why raw text — and Markdown — have become more important in recent years as GenAI has boomed.
“Over the years, organizations have accumulated numerous documents, often in PDF or slide formats, which are inaccessible to LLMs, particularly RAG systems. With Mistral OCR, our customers can now convert rich and complex documents into readable content in all languages,” said Mistral co-founder and chief science officer Guillaume Lample.
“This is a crucial step toward the widespread adoption of AI assistants in companies that need to simplify access to their vast internal documentation,” he added.
Mistral OCR is available on Mistral’s own API platform or through its cloud partners (AWS, Azure, Google Cloud Vertex, etc.). And for companies working with classified or sensitive data, Mistral offers on-premise deployment.
According to the Paris-based AI company, Mistral OCR performs better than APIs from Google, Microsoft and OpenAI. The company has tested its OCR model with complex documents that include mathematical expressions (LaTeX formatting), advanced layouts, or tables. It is also supposed to perform better with non-English documents.

Given that Mistral OCR does one thing and one thing only, the company believes it is also faster than what’s out there. That’s not a surprise if you compare it with a multimodal LLMs like GPT-4o, which also has OCR capabilities (among many other features).
Mistral is also using Mistral OCR for its own AI assistant Le Chat. When a user uploads a PDF file, the company uses Mistral OCR in the background to understand what’s in the document before processing the text.
Companies and developers will most likely use Mistral OCR with a RAG (aka Retrieval-Augmented Generation) system to use multimodal documents as input in an LLM. And there are many potential use cases. For instance, we could envisage law firms using it to help them swiftly plough through huge volumes of documents.
RAG is a technique that’s used to retrieve data and use it as context with a generative AI model.
Romain Dillet is a Senior Reporter at TechCrunch. He has written over 3,000 articles on technology and tech startups and has established himself as an influential voice on the European tech scene. He has a deep background in startups, privacy, security, fintech, blockchain, mobile, social and media. With twelve years of experience at TechCrunch, he’s one of the familiar faces of the tech publication that obsessively covers Silicon Valley and the tech industry. In fact, his career started at TechCrunch when he was 21. Based in Paris, many people in the tech ecosystem consider him as the most knowledgeable tech journalist in town. Romain likes to spot important startups before anyone else. He was the first person to cover N26, Revolut and DigitalOcean. He has written scoops on large acquisitions from Apple, Microsoft and Snap. When he’s not writing, Romain is also a developer — he understands how the tech behind the tech works. He also has a deep historical knowledge of the computer industry for the past 50 years. He knows how to connect the dots between innovations and the effect on the fabric of our society. Romain graduated from Emlyon Business School, a leading French business school specialized in entrepreneurship. He has helped several non-profit organizations, such as StartHer, an organization that promotes education and empowerment of women in technology, and Techfugees, an organization that empowers displaced people with technology.