Recover the text, retain the page trail

PDF to Markdown: Extract Text and Keep Page References

Convert a supplied local text PDF into editable Markdown, keeping page labels for comparison with the original. Review extraction gaps before choosing the source for a context pack.

Fictional Alder Quay Museum is preparing a research brief from a short exhibition PDF. Its researcher needs searchable passages and a reliable way back to the supplied pages, not a reconstruction of the catalogue design or an automatically verified citation list.

Start with the text the PDF actually contains

A PDF can display readable words without containing usable extractable text. Some documents store text objects; others contain photographed or scanned pages, outlined lettering, or a mixture. Try selecting and copying a representative passage in your own PDF viewer as an initial check, then inspect what was copied. Selection alone does not establish that every page is recoverable or that the extracted characters are correct. The Documents to Markdown builder works with supplied local files and uses bounded PDF text extraction. It does not look at page pixels and recognize words, and it cannot recover a missing text layer through AI inference.

The intended result is editable Markdown that you can compare with the supplied document. It is not a visual replica, an accessibility repair of the original PDF, or a preservation copy of its internal objects. Images are omitted, and typographic appearance does not automatically become meaningful headings or tables. A short single-column information sheet is therefore a more straightforward candidate than an illustrated spread with inset quotations. Judge suitability by what the task needs: if a chart carries the central evidence, having its nearby caption in the extracted text does not mean that the chart’s information has been recovered.

For Alder Quay Museum, the initial question is whether the catalogue’s object descriptions exist as coherent text. The researcher keeps the original PDF separately and identifies a beginning, middle, and ending passage to compare after conversion. That small inspection is a starting point, not a completeness certificate. If an authorized editable source is also available, compare its suitability rather than assuming PDF is always the best input. The DOCX to Markdown guide describes a route that can retain simple authoring structure where supported, while still requiring review of advanced layouts and omitted images.

Check the import envelope before choosing files

Each supplied file must be no larger than 5 MiB, the file batch must stay within 8 MiB, and a project can contain at most five accepted sources. A PDF must also contain no more than twenty pages. These are separate limits: a small file can still exceed the page cap, and several individually acceptable files can exceed the batch budget together. Check the actual file and page counts before starting. There is no setting that promises to ignore later pages or truncate the source to make it fit. A refused file is not a partially successful conversion with the excess quietly removed.

Encrypted and password-protected PDFs are rejected. The builder does not request a password or bypass document protection. Use an authorized suitable source instead of treating a password prompt as a conversion step. Conversion and import have a thirty-second deadline that includes reading the file, so a document can also fail because processing cannot finish within that bound. Cancel stops the current operation from becoming the accepted result; a late completion must not overwrite newer work. If an import fails, read the actual error and decide what to change rather than repeatedly submitting an unchanged unsupported file.

The editable result has its own budget: at most 128 KiB of UTF-8 Markdown per source and 384 KiB across all accepted sources. Byte limits are not word counts; multilingual characters and Markdown syntax contribute differently. Excluding a source from the pack does not remove it from the accepted project or its storage budget. If the material is too large, prepare a deliberately scoped local document outside this workflow and label its coverage honestly. Do not remove important qualifications merely to pass validation, and do not describe an intentionally selected extract as a conversion of the complete original catalogue.

Keep page boundaries as a navigation map

PDF extraction keeps a heading or label for each page so you can locate the corresponding portion of the supplied file. Retain those boundaries while reviewing and editing. They are particularly useful when an item description continues across a page turn or when a repeated heading makes several passages look alike. A page label is a navigation aid attached to extracted content, not a verified citation. The builder does not establish who published the PDF, whether it has been altered, or whether the words match an authoritative edition. Those questions require evidence outside the local conversion.

Distinguish the file’s page position from numbering printed on the page. A cover, contents sheet, or unnumbered plate can make the third PDF page carry a different printed number. In the museum’s fictional working note, ‘PDF page 3; printed page 1’ would explain that relationship if the researcher had actually checked it. This is an illustration of note wording, not an observed result from a converter run. Keep the two numbering systems explicit instead of relabeling every extracted page to match an assumed offset, especially when an appendix starts a new sequence.

When a sentence crosses a boundary, compare both pages before joining its fragments. Leave the page trail understandable even if you improve paragraph flow. A note can explain that a passage continues onto the next supplied page without pretending that the tool inferred the relationship. For complex layouts, use the document reading-order review to check columns, tables, and repeated furniture separately. Here the goal is narrower: preserve where extracted material came from and make gaps visible before anyone builds a source pack or quotes a passage as though it were complete.

Inspect characters and completeness before polishing

Start the text check with names, dates, accession identifiers, quantities, and short qualifying words. A missing ‘not’ can change a claim more than a broken line does. Compare those details with the original page rather than judging the extraction by whether its paragraphs sound fluent. Pay attention to accented names, ligatures, punctuation, and letters that resemble digits. A visually convincing page can still yield unusable character mappings. If a passage is garbled, do not guess the intended wording from the surrounding topic or treat a plausible editorial rewrite as recovered source text.

Then inspect coverage page by page. Check the first and last meaningful text on each page, transitions between descriptions, and any area where a sentence appears to stop unexpectedly. A page containing some text is not necessarily a page whose important content was fully extracted. A figure, inset, or scanned attachment may be missing while ordinary body text remains available. Record that limitation near the relevant page or in the source note. There is no automatic citation verification, evidence scoring, or semantic completeness check that can replace comparing the editable source with the material your brief actually relies on.

Separate transcription corrections from interpretation. Restoring a clearly visible character after comparison is different from expanding an abbreviation, modernizing a historical name, or explaining an uncertain attribution. Keep editorial explanations visibly labeled so later readers can tell them apart from the supplied wording. The source notes and citations guide explains how to document those decisions without turning manual labels into authenticity claims. If you cannot establish the correct text, retain an explicit uncertainty or leave that material out of the selected pack with a clear scope note rather than silently supplying a confident replacement.

Begin with recoverable text

Extract a local text PDF

Keep page boundaries, inspect warnings and empty pages, then save the Markdown you have actually reviewed.

Treat scanned pages and missing figures as real gaps

An entirely image-only PDF fails with an OCR handoff rather than producing an apparently successful empty document. In a mixed PDF, pages without extractable text retain explicit empty-page markers. Keep those markers until you have investigated the original pages. An empty extraction might correspond to a scan, an illustration, or an intentionally blank page, and the marker alone does not decide which. Do not delete it merely because the surrounding pages extracted well. For the museum, an illustrated object plate could be central to the brief even though the converter has no text to recover from that page.

For an authorized scanned-PDF handoff, first use Creator PDF Toolkit to prepare PDF page images. Then use Image to Text on English JPEG or PNG images and review the recognized wording against those images. The OCR tool does not accept a PDF directly, and Documents to Markdown does not perform OCR at either step. After review, you can add suitable text manually, with its page coverage and recognition history explained. This is a separate preparation workflow, not an automatic fallback that fills every empty page inside the PDF conversion.

A caption does not replace a missing photograph, map, or diagram. If the downstream assignment needs visual comparison, retain access to the original and state that the text pack omits the visual evidence. Likewise, an existing hidden OCR layer can contain recognition errors even when extraction succeeds. Review it as supplied text rather than assuming that selectable words are accurate. When an authorized local HTML version contains the needed explanation, the HTML to Markdown guide offers another input route. Entering a source URL alone will not fetch that page or recover its resources.

Edit the recovered source without inventing structure

Use the Markdown editor to make the recovered text easier to follow while preserving its substance. Repair a line-wrap split only after checking that it is not a meaningful separator. Join a hyphenated word only when the original supports that reading; identifiers, compound terms, and ranges may legitimately contain hyphens. Add a heading when you have identified a real section, not simply because a line is short or capitalized. The PDF route does not promise automatic semantic heading or table inference. Your changes are manual editorial decisions applied to extracted text, not discoveries made by a language model.

Keep the active source’s title, filename reference, page coverage, and relevant warning notes meaningful as you edit. Changing a title should clarify the document’s role without disguising an extract as the whole catalogue. The original filename remains metadata, not a replacement for the original file itself. If you add explanatory text to the source body, label it as an editorial note; otherwise it will travel into the selected pack alongside the transcription. Plain-text previews show imported Markdown as text rather than executing it, so inspect both the wording and literal syntax you intend to hand over.

Save the source explicitly when its edits are ready. Unapplied source or settings drafts block Build and reports instead of disappearing into an older result. For the museum, this makes the acceptance point deliberate: the researcher checks the revised passage, saves it, and only then assembles the current selection. The AI context pack guide covers choosing and ordering the accepted sources. A saved source can still contain acknowledged uncertainty; saving means the text is accepted into this local project, not that its content or origin has been independently validated.

Build a pack whose scope matches the research question

Select the accepted sources needed for the brief and put them in the intended order. The assembled pack includes only selected sources, with their full accepted Markdown, metadata, warnings, and clear delimiters. It does not summarize long passages or automatically choose the strongest evidence. In the fictional museum workflow, a revised catalogue extract might be selected while an older draft stays excluded for comparison. That excluded source remains in the project until it is deleted. Inspect the complete assembled preview after Build rather than assuming that the active editor or source inventory alone represents what a recipient will receive.

Source titles, stable identifiers, manual URLs, and page notes help readers navigate. They do not authenticate an institution, verify a quotation, or create a security boundary around imported instructions. A source URL is an HTTP or HTTPS label that is not fetched. If source text contains directions addressed to an assistant, those words remain source content; this utility is not a prompt-injection firewall. Keep your assignment separate from the evidence when transferring a pack into another system, and review the destination’s handling of supplied material. Clear delimiters improve orientation without guaranteeing how an external application will interpret them.

Measure any context budget on the final reviewed text, not on the PDF’s file size or an estimate from its page count. The AI Token Counter can help inspect supplied text under its stated counting scope; it does not make missing figures available to the receiving system. If the pack is too broad, narrow the question or prepare a clearly labeled extract and rebuild. Removing page notes to make the text shorter may sacrifice the navigation you need later. Preserve the distinctions between omitted content, editorial explanation, and source wording throughout that decision.

Save editable work separately from the current report

Save project JSON when you need to resume the accepted draft. It stores all accepted sources, including excluded ones, with their editable Markdown and metadata. It does not store the original PDFs, DOCX files, images, or the current built result. A valid accepted draft can be saved even when it is not yet a report-ready selection; Build is still required for a current pack. Keep the original museum PDF separately for future comparison. There is no autosave or automatic history to recover unsaved changes, and reopening JSON cannot reconstruct the catalogue’s page images or its original document layout.

After a current Build, choose the pack format that suits the recipient. Markdown retains editable syntax; TXT provides a readable text version; ZIP includes per-selected-source Markdown, the complete pack, a manifest, and a README. The PDF report reflows Markdown as plain text with tabs expanded to four spaces. It is not the supplied PDF reproduced with its original typography, page geometry, or literal whitespace. Changes to text, selection, order, or settings invalidate the current pack and its copy or exports, so rebuild after saving the accepted revision rather than distributing an earlier report with newer notes.

Exports are bounded, not silently shortened: Markdown and TXT are limited to 1 MiB, ZIP to 2 MiB, and the PDF report to 10 MiB and sixty pages. Project JSON is limited to 2 MiB after escaping. If PDF encounters unsupported glyphs or exceeds its bounds, use an available complete Markdown, TXT, ZIP, or JSON alternative within that format’s limits. Check sensitive filenames, URLs, and notes before sharing: selected pack exports and whole-project JSON have different scopes. Return to all free tools for the next task, keeping downloaded copies under your own control.

Questions about PDF to Markdown

Why can I read a PDF but get an empty-page marker?

The visible page may be an image or otherwise lack extractable text. Mixed PDFs keep explicit empty-page markers; an entirely image-only PDF fails with an OCR handoff. Inspect the original before deciding whether the page is blank or missing meaningful material.

Do the page labels match the printed page numbers?

Do not assume that they do. Covers and unnumbered pages can offset printed numbering from PDF page positions. Keep the extracted page trail and add a manually checked note when the distinction matters.

Can saved project JSON restore the original PDF?

No. JSON stores all accepted editable sources, including excluded ones, but no original files, images, or current built result. Retain the original PDF separately, then Build again after reopening an accepted project.

Continue preparing your source material

Return to the Documents to Markdown & AI Context Pack Builder or browse all free tools.

DOCX to Markdown

Prepare a Word document for text reuse, inspect heading styles and numbered procedures, and repair simple tables before assembling selected sources.

Read the guide

HTML to Markdown

Turn a supplied HTML or CMS export into a readable source by reviewing document structure, relative links, repeated navigation and missing media.

Read the guide

AI Context Pack

Select relevant documents, preserve qualifications, order the evidence, and hand over a clearly labelled pack with an explicit revision and scope.

Read the guide

Document Reading Order

Audit column flow, table relationships, repeated headers, footnotes, and captions, then record manual corrections before building the accepted pack.

Read the guide

Source Notes and Citations

Separate stable source IDs, page references, quotations, dates, and review notes from verified citations or proof of document authenticity.

Read the guide

Keep the original and the review distinct

Build the reviewed PDF source pack

Select the accepted sources, check their page notes, and build a current pack before copying or downloading a report.