How the PDF is turned into Markdown
A PDF doesn't store paragraphs and headings the way a word processor does: it stores pieces of text and where to draw them. So the converter works out the structure from what it can read, in one of two ways.
- Tagged PDFs. Many PDFs saved from Word and other office apps carry tags, the same structure a screen reader follows: this is a heading, this a paragraph, this a table with rows and cells. When a PDF has them, they decide the Markdown, including real tables. Text the tags mark as page furniture, such as running heads, is left out.
- Other PDFs. Without tags, the layout decides. The most common text size is taken as body text and larger sizes as headings, the largest first (#, ##, ###). Lines close together become one paragraph, and a word broken by a hyphen at a line's end is joined up again. A line starting with a bullet or a number such as "1." starts a list item, nested by its indent. Lines in a fixed-width font become a code block.
In both, bold and italic words stay bold and italic (between stars in the Markdown), words set in a fixed-width font become inline code (between backticks), and words under a web or email link stay a link to the same address.
Headers, footers and page breaks
Lines repeated at the top or bottom of most pages (a document title, a company name, "Confidential") and page numbers are left out, since in Markdown they would interrupt the text on every page. Switch Leave out headers and footers off to keep them.
A paragraph that runs onto the next page is joined up across the page break when the next page carries on mid-sentence. If you would rather see where each page ended, switch on Mark page breaks: a horizontal rule (---) is put between pages, and nothing is joined across them.
What isn't converted
- Pictures. Photos, charts and drawings aren't part of the Markdown; only text is.
- Tables in untagged PDFs. Without tags a table's cells come out as lines of text, since there is no reliable way to tell a table from columns of words.
- Several columns. Text in two or three columns comes out in the order the PDF stores it, which is usually, but not always, column by column.
- Scans. A scanned PDF has pictures of text, not text. Make it searchable with OCR PDF first, then convert the searchable copy here.
Up to 300 pages are converted at a time; split a longer document with Split PDF. Everything happens in your browser, on your device: the PDF is never uploaded, and there is no account or daily limit. An encrypted PDF has to be unlocked first. To compare two versions of a document's wording instead, use Compare PDF.
Updated