← SmolDocling

Practical Β· document conversion Β· DocTags β†’ Markdown

A private document-to-Markdown converter

DocTags are structured, so they convert cleanly. Here SmolDocling reads a page and we turn its DocTags into Markdown β€” headings become #, tables become Markdown tables, formulas become $$…$$ β€” that you can copy straight out. Nothing leaves the device; this is what a private, offline document converter looks like.

Run it

The document image the model will convert

Pick a sample, or drop your own page image:

A business report page with headings and a bullet list A document containing a four-column data table A page with headings and mathematical formulas
Drop / choose a page image

Markdown

What's happening

SmolDocling emits DocTags; we parse each element (heading, paragraph, <otsl> table, <formula>) and render it as the matching Markdown. Because the model preserved the document's structure, the conversion is a straight mapping β€” not a fragile text-reflow guess. Swap in your own scan and you have an offline OCR-to-Markdown tool.

Next rung: Wild β€” extract tables and formulas β†’