Document recovery guide

Convert a scanned PDF into Markdown you can actually reuse.

Plain OCR gives you a stream of characters. Useful Markdown needs headings, paragraphs, lists, page boundaries and a reading order that can be reviewed before the text enters notes, a knowledge base or an AI workflow.

Public source and recovery preview

Alexander Graham Bell notebook, Library of Congress

Plain OCR text versus structured Markdown

Plain text flattens every region into one stream. Structured Markdown distinguishes headings from body text, keeps list items separate, records page boundaries and provides a stable format for diffs, search and downstream parsing.

Structure that should survive

Use it in notes, knowledge bases and RAG carefully

Markdown is easier to version and chunk than a raw OCR stream, but formatting does not make uncertain recognition correct. Keep the source manifest and review flags beside the document, and verify quotations before publishing or retrieving them as facts.

Limits and failure modes

Questions about this workflow

Will every heading be detected correctly?

No. Visual emphasis and semantic hierarchy are not always equivalent, so heading levels require review.

Can I use the Markdown in a RAG system?

Yes after review. Keep provenance and review flags so retrieved passages can be traced back to the source.

What if the PDF already has good text?

The free check helps identify whether deeper recovery is unnecessary.

Next best step

Run the free readability check before uploading. Diagnose a broken PDF first Return to the DocUnlocked hub.

Recover one document - $9