Convert PDF to MD
Turn PDF documents into Markdown. Headings, paragraphs, lists, links and tables whose cells line up in rows and columns are recovered from the text layout.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop PDF files on the dialor turn it to pick what to do
PDF text as Markdown.Headings, lists, links and tables come back as plain Markdown text.
What you get
One MD file with the text of the PDF. Headings, paragraphs, lists and links are recovered from the text layout, so the structure of the document is written out as Markdown.
Tables whose cells line up in rows and columns come back as Markdown tables.
Scanned PDFs
A scanned PDF holds pictures of pages, not text, so there is nothing to recover and the conversion stops with
ocr_required. Set OCR to on to recognize the text in the pictures first.If OCR finds no text in the pictures either, the conversion fails with
unsupported_elements. Recognition can misread blurry text. Set Language to the languages in the file, such as en,ko, so OCR knows which letters to expect. This matters most for Korean, Japanese and Chinese. Set Straighten pages to turn crooked scans straight before they are read.Options
Set Pages to convert only some pages, such as 1-3,7. Every page is read when it is left out.
OCR is on auto by default. It then recognizes text only when Language or Straighten pages is set. Choose off to read only the text the file already has.
A PDF that asks for a password opens with the Password option. The password is used for this one job and deleted when it ends. Without it, a locked file fails with
input_encrypted.
PDF and MD.What each format is, and the options this conversion takes.
- 01 · deskew
Straighten pages
Turns pages that were scanned a little crooked back to straight before reading them, which helps OCR.
- 02 · language
Language
The languages the text is in, so OCR knows which letters to expect. Without it the text is read as English, so letters such as é, ß and ł come out wrong and other scripts, such as Cyrillic, Arabic, Thai, Korean or Chinese, are not read. Separate several with commas, such as fr,en.
- 03 · ocr
OCR
Whether to recognize the text in scanned pages and pictures. Recognition takes longer and can misread blurry text.
autoRecognize text only when Language or Straighten pages is set.onAlways recognize the text.offRead only text the file already has.
- 04 · pages
Pages
Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.
- 05 · password
Password
Opens a file that asks for a password. The password is used for this one job and deleted when it ends. Without it, a locked file fails with input_encrypted.
The formats
Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.
- Extensions
- MIME type
- application
/pdf - Kind
- Documents
Markdown
Plain text with light markup for headings, lists, links and code. What agents and developers write in.
- Extensions
- .md .markdown .mdown
- MIME type
- text
/markdown - Kind
- Text and data
In your code.The same PDF to MD conversion through the API, for your app or your agent.
$ cv convert report.pdf report.md$ cv convert report.pdf report.mdQuestions.What people ask about PDF to MD.
Yes. Set OCR to on, and the text in the page pictures is recognized first. Without it, the conversion stops with ocr_required.
Tables whose cells line up in rows and columns come back as Markdown tables.
Yes. Set Pages to single pages and ranges separated by commas, such as 1-3,7.
The file needs a password. Enter it in the Password option and convert again.