Convert PDF to HTML

or drop one here

One PDF at a time. No preset file size or page limit.

Choose the HTML output

Preserved pages keep the PDF's appearance as images. Selectable text is added where the PDF has a text layer.

Choose one PDF, choose the HTML format, and download one file. Preserved pages keep the page appearance as embedded images and add selectable text when the PDF contains it. Flowing article turns selectable text into headings and paragraphs that fit the screen. Everything runs in your browser; the PDF is not uploaded.

How to convert a PDF to HTML

  1. Choose a PDF

    Select one file or drop it onto the converter. Its name and page count appear before you convert. You can replace it without refreshing the page.

  2. Choose the HTML format

    Preserved pages is selected first for a visual copy. Switch to Flowing article if you need text that reflows and can be edited.

  3. Compare and download

    After conversion, compare the first PDF page with the HTML preview shown beside it. Then download the self-contained HTML file.

Which HTML format should you choose?

Preserved pages is for sharing a visual copy. Each PDF page becomes an image inside the HTML. If the PDF already has selectable text, a positioned text layer lets people select and search it. The layout stays fixed, and headings or table cells do not become editable HTML elements.

Flowing article is for editing or adapting the words to a website. It builds paragraphs and likely headings from the PDF's text layer. It does not carry over photographs, charts, complex tables or exact placement. Check the reading order on pages with columns before publishing. For an editable document rather than a webpage, use PDF to Word. For plain text with lightweight formatting, try PDF to Markdown.

What to check in the result

The on-page comparison shows the first page only. Download and open the HTML to inspect later pages, especially columns, tables, footnotes and small text. The converter checks that the HTML contains the expected pages and extracted text, but those checks cannot prove that the reading order or appearance is perfect.

An image-only scan has no text to turn into an article. Preserved pages can show that scan visually; Flowing article stops and asks for a PDF with selectable text or prior OCR. If you need the original pictures stored inside the PDF, use Extract images instead.

PDF to HTML frequently asked questions

Is my PDF uploaded?
No. The page and its converter assets need to load first, but your PDF is then read and converted in this browser tab.
Will the HTML look exactly like the PDF?
Preserved pages keep a picture of each page with the same proportions and add selectable text where available. It is a visual copy, not a rebuild of the PDF as editable HTML layout. Flowing article deliberately changes the layout so text fits different screens.
Can I edit the result?
You can edit either HTML file in a code editor. Flowing article contains actual headings and paragraphs. Preserved pages contain page images and a positioned text layer, so changing its visual content means changing the source PDF and converting again.
What happens with scans?
Preserved pages can include a scan as an image. Flowing article needs selectable PDF text and refuses an image-only scan. OCR is a separate step.
Are images, tables and links carried over?
Preserved pages show them as part of the page image, but do not recreate table cells, clickable links or form fields. Flowing article carries text only; inspect any table or link manually.
Can the downloaded HTML open offline?
Yes. The HTML includes its own styles. Preserved pages also embed their page images and text layer. The downloaded file does not need scripts or external assets to open.
Is there a file size limit?
There is no preset megabyte or page limit. Large files can still run out of browser memory, particularly when their pages contain high-resolution scans.

The other PDFGym tools

Need a different result from the same PDF? These tools also work in your browser.

Related tools for HTML and PDF