Granite Docling V2 on Mac can convert PDF pages into structured Markdown, HTML, or JSON without uploading the document to a cloud OCR service. IBM released the Apache 2.0 model family on November 30, 2026, with a 500M model for faster conversion and a 2B model for higher accuracy. Both support MLX on Apple silicon and preserve tables, formulas, layout, and reading order.

In short: start with Granite Docling V2 500M for routine PDFs and large collections. Try the 2B model when dense tables, formulas, small print, or difficult layouts matter more than speed. Local inference improves control over document data, but you still need to review the output before using it for search, RAG, or decisions.

What Is Granite Docling V2?

Granite Docling V2 is a pair of compact vision-language models designed for document conversion rather than general chat. Each page is rendered as an image, then converted into DocLang, a structured representation that records content, element type, bounding box, and reading order.

That distinction matters. Plain OCR may recover words while losing which text belongs to a table cell, caption, heading, formula, or code block. Granite Docling V2 can represent those relationships and export the result through Docling to Markdown, HTML, or JSON.

The models do not answer open-ended questions about a document. Their supported prompts request document elements such as text, tables, formulas, pictures, code, or layout. A separate retrieval or language model is still required if the final goal is document chat.

Which Granite Docling V2 Model Should You Use?

The family offers a practical speed-versus-quality choice:

Model Published size Best starting point for
Granite Docling V2 500M 0.54B parameters; about 1.15GB for the BF16 MLX weights Routine reports, batches, and lower memory use
Granite Docling V2 2B 2.2B parameters Dense layouts, complex tables, formulas, and quality-first conversion

IBM reports 94.0% pooled page-content similarity for the 500M model and 95.8% for the 2B model across 20,502 pages from ten benchmarks. Those are vendor results using revised DocLang ground truth. The technical report warns that its scores are not directly comparable with numbers published on the original benchmark leaderboards.

The 500M model also has two visual paths. Its default path uses 64 image tokens per tile, while a fine path uses 256 for dense pages. The MLX and Transformers integrations can let the model’s density router choose automatically. The 2B model always uses the denser 256-token path.

This makes 500M the sensible first test, not an automatic winner. A representative set of your own documents should decide whether the extra quality from 2B is worth its added memory and processing time.

How Do You Run Granite Docling V2 on a Mac?

On an Apple-silicon Mac, Docling can automatically select MLX when mlx-vlm 0.8.1 or later is installed. Use a fresh Python environment, then install the documented VLM dependencies:

python -m pip install "docling[vlm]" "mlx-vlm>=0.8.1"

Convert a local PDF with the 500M preset:

docling --vlm-model granite_docling_v2_500m report.pdf

Markdown is the default output. You can request another supported format with --to json or --to html, and select the larger model by changing the preset to granite_docling_v2_2b.

The first run downloads model files from Hugging Face, so it requires network access. After the dependencies and weights are present, verify the privacy boundary yourself: disconnect the network, process a non-sensitive test PDF, and confirm that the command completes without a remote API or fallback.

For a narrow extraction task, Docling also supports DocLang task filters. For example, --doclang-tasks table,layout asks for tables with their bounding boxes instead of converting every element. This can reduce unnecessary output, but it does not remove the need to check the extracted cells.

What Should You Validate Before Trusting the Output?

Document conversion errors are often plausible rather than obvious. A missing minus sign, shifted table column, incorrect reading order, or invented character can survive a quick skim and later contaminate search or retrieval.

Build a small test set containing the failure modes that matter to you:

  1. A native PDF with selectable text and multiple columns.
  2. A scanned page with small or skewed print.
  3. A table with merged cells, footnotes, and negative values.
  4. A page containing formulas, code, captions, or handwriting.
  5. At least one document in every language you expect to process.

Compare the rendered page with the exported Markdown or JSON. Check totals, dates, units, row and column alignment, headings, footnotes, and reading order. Record the model, package versions, output format, and any forced fine-route setting so later upgrades can be evaluated against the same pages.

We did not benchmark Granite Docling V2 for this post. IBM’s accuracy and H100 throughput figures are useful release evidence, not a prediction of speed or quality on a particular Mac.

Is Local PDF Conversion Automatically Private?

Local inference can keep page images and model computation on the Mac, avoiding the routine upload of source documents to a hosted OCR API. That is valuable for contracts, research, financial reports, and other sensitive material.

It is not a complete privacy guarantee. Package installation and model download contact external services, an application may add telemetry or cloud fallbacks, and exported Markdown or JSON can still be copied into a hosted RAG pipeline. Temporary files, backups, Spotlight indexing, and synced output folders can also widen the data boundary.

Treat the converted output as sensitive as the original. Store it in an appropriate location, define deletion and backup behavior, and inspect every downstream component. Our private document context guide explains the next step from conversion to local analysis, while the local AI privacy guide covers the wider application boundary.

The Bottom Line

Granite Docling V2 brings structured local PDF conversion to Apple-silicon Macs with models small enough for practical experimentation. The 500M version is the right default for most first tests; the 2B version is the quality-first alternative for demanding pages.

Use the model as a conversion component, not an authority. Keep sensitive documents local, test offline behavior, compare outputs against the original pages, and evaluate both models on the exact layouts that matter to your workflow. If the converted material will feed retrieval, our EmbeddingGemma 2 local search guide explains how to validate the next stage.

Sources