A PDF is easy to share until you need to change a paragraph, reuse a table, or collect several documents in one searchable notebook. Docling can turn that PDF into Markdown, a text file that uses simple markers for headings, lists, tables, and image links.
We tried it with one of our own articles, saved as a three-page PDF containing two diagrams and a table. IBM’s Granite Docling V2 recovered the section headings and the table’s contents. Keeping the diagrams in the Markdown required an additional export step. We compared the Markdown and its picture export with the source PDF.
When is converting a PDF useful?
Suppose you have an old training handout and want to update its instructions. Markdown gives you editable paragraphs and tables without copying each page by hand. You can also keep converted manuals in a notes folder or prepare documents for an AI assistant that reads local text files. If your assistant already handles your PDF well and you only need one answer, conversion may add an unnecessary step.
Docling is a free, open-source document-processing toolkit, started at IBM Research Zurich and now hosted by LF AI & Data. Its code is MIT-licensed and can run locally, using downloaded models and your computer’s resources. Granite Docling V2 is a model you can use for the conversion. IBM released its 500M and 2B versions on November 30, 2026, under Apache 2.0. It reads page images into a structured format called DocLang, which Docling can export as Markdown, HTML, or JSON.
Our input: an article with pictures and a table
We took our Utopia product-recall article and laid out its public text, two diagrams, captions, and table across three A4 pages. The example uses fictional orders, so the upload contains no customer records. We kept the original for comparison.
We used the table to check whether Docling kept the dates and order numbers. On November 6, no affected orders had been confirmed because the recall notice had not yet been recorded. By November 8, orders #103 and #104 were confirmed, while #105 used a different lid batch. Losing either date or an order number would change the meaning.
Open the input PDF to see the document we submitted. We made it from an article for this test; when you already have an editable source document, you can normally use that directly.
Try the upload-and-convert route
The official Granite Docling V2 Playground provides a browser interface for PDFs and images. Its code currently limits a PDF upload to ten pages. That is a demo limit, not a limit of the Docling toolkit.
- Choose a file. Upload a PDF you are allowed to share with the hosted demo. Use our public sample if you want to try it without uploading a private document.
- Convert and inspect. Check the selected model, run the conversion, and compare the original page with the reading view. You can leave the structured-markup panel alone for a first try.
- Download the result. Markdown gives you editable text. HTML is convenient for viewing the result with its pictures. Keep the DCLX download if you want to export the parsed document again.
Our run submitted the PDF through that public demo’s API with Granite Docling V2 2B. The returned status reported three pages converted in 37.8 seconds. This was one run on a shared service; it does not predict conversion time for another document or computer. We then used Docling Core 2.109.0 on Windows to export the saved result with image files.
What survived the conversion?

Swipe or scroll horizontally to view all columns.
| What we checked | Result in this PDF |
|---|---|
| Section headings | All four appeared in the Markdown. |
| Recall table | Both headers and all four body cells matched after normalizing spaces. |
| Captions | Both original captions remained in the text. |
| Diagrams | The default Markdown contained two placeholders. Re-exporting with referenced images produced two PNG files and working links. |
| Formatting and links | The title and section headings all became ## headings. Embedded PDF links were not restored as Markdown links. |
The November 8 row still named #103 and #104 as affected and explained why #105 was outside the recall. The full source URL printed near the title also survived. However, linked reference labels inside paragraphs became plain text. Those links and the heading hierarchy would need attention before republishing the converted document.
Keep the pictures beside the Markdown
A Markdown file commonly points to separate picture files. In this demo’s default download, the picture positions were marked with <!-- image -->. Opening that file alone therefore did not show the two diagrams.

We downloaded the DCLX archive, loaded it with Docling Core, and used the referenced-image export. The result was article48.md plus an images/ folder. Keep both together so the relative image links continue to work. Our download includes that ready-to-open result, the untouched default Markdown, the PDF, and the short export script.
Download the PDF, Markdown, pictures, and reproduction files. Extract the ZIP and open preview.html, or open article48.md in a Markdown editor.
If you work with a coding assistant such as Codex or Claude Code, you can ask: “Use Docling to convert this PDF into Markdown, export its pictures into an accompanying images folder, and check that the relative image links work.” You still need Docling installed in an environment that can access the PDF.
Check the parts you will reuse
This test does not establish accuracy for handwriting, scans, or other languages. Our input was an English PDF with a straightforward, single-column layout.
Before using a converted file, check the table values, reading order, image links, and references against the PDF. Then make the changes you needed: update the handout, reuse the table, or add the document to your notes. Keep the original PDF alongside it so you can resolve any uncertainty later.