Practical Β· document conversion Β· DocTags β Markdown
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.
Pick a sample, or drop your own page image:
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 β