Skip to converter

PDF to HTML — a reading copy, not a copy of the layout

Sometimes you want the words of a PDF openable in a browser as a plain page: a reading copy for review, a text version to paste into a doc, a page you can read on a phone without a PDF viewer. This route builds exactly that — a self-contained HTML file whose content is the extracted text, organised per page. It is a semantic reading view, not a replica: nothing about the original layout, fonts or images is reproduced, and the file carries no external stylesheet.

Text comes from the PDF text layer, not from OCR: a page that is only a scanned photograph returns nothing.

Drop files here or PDF, up to 20 MB
    Add a file to start.

    Processed on your device. Files aren’t sent anywhere.

    No sign-up. Nothing to install.

    What the reading copy is

    The exported file opens on its own. Its top heading is the source filename, followed by a short explanation that the text came from stored text content and that no OCR was performed. Each processed page gets its own block. There is no external stylesheet to download. Browser default fonts and spacing may differ, but the headings, page notes and text remain in the file.

    What each page block shows

    • A page heading marking which page the block belongs to.
    • The page size in points, width by height, so you can see at a glance whether a page is landscape or unusually shaped.
    • A character count for that page, which tells you whether the page carried much text or almost none.
    • The extracted text as paragraphs, escaped so that angle brackets and ampersands in the document display as text rather than markup.
    • A visible statement when a page had no text, so a graphic-only page explains itself instead of appearing as an empty section.
    AspectIn the PDFIn the reading copy
    TextStored with font referencesPlain paragraphs, escaped
    LayoutPositions on the pageNot reproduced; order follows the content stream
    FontsEmbedded or standard fontsNot listed and not carried over
    ImagesEmbedded picture objectsNot included and not inventoried
    SearchabilityDepends on the text layerDepends on what extraction returned

    Bounds that apply, and one that does not

    The page and input bounds apply: one file up to 20 MiB, pages chosen by slider 1 through 40 or Every page, and a document above 40 pages rejected rather than truncated.

    Unlike the TXT route, this HTML route has no 200,000-character global output cap; the limit you are working inside is the page and file bounds, not a character budget.

    Reviewing the order

    1. Open the exported file and read page 1 straight through; if it reads cleanly, the document's content order is straightforward.
    2. For a two-column page, expect the blocks to follow the document's own content stream, which is heuristic: left column and right column may interleave.
    3. Compare a suspicious page against the PDF viewer before quoting from it, so you do not present reordered text as the original sequence.
    4. Review pages with zero characters in the PDF viewer: they may be blank, scanned, or use lettering that extraction could not decode. A zero count does not identify which case applies.

    A reading copy is honest about what it lost: the words survive, the arrangement does not.

    Why order needs reviewing rather than trusting

    Questions about the exported page

    Does the HTML recreate the PDF's layout?
    No. It is a standalone semantic reading view: page headings, size in points, character counts and escaped text paragraphs. Positions, fonts and embedded images are not reproduced, and there is no coordinate data in the output.
    What happens with a scanned page?
    Extraction is not OCR, so a page whose words exist only as pixels contributes no characters. The reading copy visibly states that no text was extracted for that page instead of inventing one.

    Share this converter

    More sharing options