Convert Selected PDF Pages to Markdown Without Losing Source Numbers
To convert part of a PDF, open Advanced settings in the PDF-to-Markdown converter and enter the original PDF page numbers in Pages to convert. Use 2 for one page or 2, 4-5 for pages 2, 4 and 5. Convert, compare those pages with the PDF, then download the reviewed Markdown.
A short selection is useful when you need one chapter, a few reference pages or a passage from a paper. You can inspect a small output before working through the rest of the document.
Choose one page or several
- Choose your PDF.
- Open Advanced settings and find Pages to convert (blank = all).
- Enter your selection using the examples below.
- Select Convert to Markdown.
- Open page comparison and check each selected page. Correct the text, save page changes and download the result.
- Only the second PDF page: enter
2. - PDF pages 4 through 6: enter
4-6. - PDF pages 2, 4 and 5: enter
2, 4-5. - The whole PDF: leave the field blank.
Use the PDF's physical page positions. A cover counts as page 1 even if it has no printed number. If a paper's first printed page is the third page of the PDF, enter 3 to select it.
Selections are sorted into source order and duplicates are removed. Entering 5, 2, 4, 4 selects pages 2, 4 and 5, once each.
Check the result with a six-page sample
Open our six-page practice PDF. Each page contains a body section with its own number. Choose this file in the converter and enter 2, 4-5.
Check three things after conversion:
- The output contains Section 2, Section 4 and Section 5.
- Page comparison steps through original pages 2, 4 and 5.
- The Markdown source contains
<!-- Source page 2 -->, followed later by the markers for pages 4 and 5.
These source-page comments are visible in the Markdown text. A Markdown renderer may hide them from its formatted preview. Retain them in the saved file if you need to find a passage in the original PDF later.
Our October 25 desktop and mobile browser checks verified this selection and its original page markers. Those checks used this fixed practice document. When converting your own file, also read the first and last paragraph of each selected page. A section may continue onto a page outside your selection.
Keep images or recognize scanned pages
If you want visual reference pages, enable Include source page images (ZIP) before converting your selection. Download ZIP + images and keep document.md beside the images/ folder after unzipping. The images are whole-page copies. Read the Obsidian guide for moving the note and image folder together.
For a selected page that produces no extracted text, use Recognize scanned pages after conversion. Choose the language, run OCR and compare the recognized text with the PDF. Pages with an existing text layer are outside this OCR workflow. See the scanned PDF guide.
Correct a page selection that fails
Use positive page numbers within the PDF's total page count and write ranges in ascending order. For a six-page PDF, 0, 7 and 5-2 are invalid. Separate selections with an English comma and use a hyphen for ranges, as in 2, 4-5.
Save your current output before converting a different selection. Changing the field prepares the next conversion. Run Convert to Markdown again to produce that selection.
The source file must be at most 20 MB and 100 total pages, even when you select fewer pages. Selecting one page from a 150-page file still exceeds the current file limit. Editable output is limited to 500,000 characters.
For columns and figure captions, use the research-paper guide. Before reuse, check the export with the output checklist.
Sample evidence comes from the self-created six-page PDF and the October 25 page-range browser checks. This guide describes the current browser converter.