Convert PDF to HTML

Turn a PDF into a web page you can edit or publish.

Drop your PDF hereor click to choose — up to 50 MB free

This converts a PDF into one self-contained HTML file holding the text of every page. The words stay real text that can be selected, searched and edited in the markup. Pictures are embedded in the same file, and the markup follows the positions of the text on the page instead of rebuilding headings, lists and tables. Use it to get the wording of a PDF into a browser or a content system.

How to use it

  1. Drop the PDF you want as a web page on the page, or click to choose it.
  2. Click Convert to HTML; there are no options.
  3. Download the .html file and open it in a browser.
  4. Copy the text you need, or tidy the markup in an editor before publishing it.

What the HTML file contains

You get one file for the whole document, with its styles inside it and no folder of assets beside it. All pages are in that file, one after another. Each line of text is placed where it sat on the PDF page, with its size and colour, so the result resembles the original when opened in a browser.

That resemblance comes from fixed positions, not from structure. A PDF does not record which text is a heading or which cells form a table, so the markup has no heading, list or table elements, and the page does not adapt to a narrow screen.

Pictures and scans

Everything on a page that is not text, such as photographs, logos, charts and ruled lines, is saved as one picture per page and embedded in the HTML behind the text, so no folder of images has to travel with the file. That picture is a JPG at screen size, not the original artwork; for each photograph at its stored resolution use Extract images. A page with nothing but text gets no picture.

A scanned PDF has no text to keep as text, so it is refused with a message that names OCR. Run OCR PDF first, which needs Premium.

Choosing a different output

For clean content to paste into a content system, plain words are often easier to work with than positioned markup: PDF to text gives exactly that. PDF to Markdown rebuilds headings, lists and tables and converts neatly to HTML; it is a Premium tool that sends the document text to an AI model. The reverse direction is HTML to PDF.

Questions

Does the HTML keep the layout of the PDF?

It keeps where the text was and how large it was, by fixing each line at a position. Pictures sit behind the text as one image per page. It is not a responsive layout. On a phone the page is as wide as the PDF page was.

Are the images included in the HTML file?

Yes. Each page that has pictures or drawings gets one image, embedded in the HTML itself, so the single file shows them without anything beside it. A picture-heavy document therefore gives a large HTML file. For each photograph as its own file, use Extract images.

Can I publish the HTML file as it is?

You can, and it will display, but fixed-position text suits a preview better than a real web page. For anything people will read on different screens, take the text and rebuild the structure in your own template.

Why does it say no text could be read from this PDF?

The PDF is a scan: its pages are pictures of text. There is nothing to convert until OCR PDF has added a text layer.

Are tables converted to HTML tables?

No. Table contents come through as separate pieces of positioned text. For the data in rows and columns, convert with PDF to Excel.

Is the converted page stored or published anywhere?

No. The HTML file is only offered to you as a download, and it is deleted along with the PDF within one hour.