PDF to HTML
Turn a PDF into a clean HTML page with real headings, paragraphs and lists.
Your file never leaves your device.
How it works
Choose a PDF and the converter reads its text in your browser. It works out the reading order, spots headings by their size, joins lines back into paragraphs, undoes words split by hyphens at the end of a line, and removes running headers, footers and page numbers. Then it builds your HTML page.
What it can and can't do
- Works best on PDFs made from a document, such as Word exports, reports, articles and books.
- Scanned PDFs have no text to extract. Those pages are skipped, and the tool tells you which ones.
- Tables are kept. Text lined up in columns becomes a real table, with its first row as the header; in a text file the columns are lined up with spaces. A table that runs onto the next page stays one table.
- Layout isn't copied. Multi-column pages and text boxes come out as plain paragraphs. HTML and EPUB keep the pictures, between the paragraphs around them; icons, logos on every page and backgrounds are left out.
- Headings are found by text size, so a heading set in the same size as the body text stays a paragraph.
When to use it
- Publish a document as a web page that reads well on phones.
- Move content from a PDF into a website, blog or CMS.
- Make a PDF easier to read with screen readers, which handle real headings better.
Frequently asked questions
Is my PDF uploaded to your server?
No. The conversion runs in your browser and your file never leaves your device. The HTML page is made on your device too. Only a count of how many conversions you ran today is sent to our server.
Does it work on scanned PDFs?
No. A scanned page is a picture of text with no text layer, so there is nothing to extract. Pages like that are skipped and listed after the conversion. Turning a scan into text needs OCR, which this tool doesn't do.
Does it keep the PDF's layout?
No, and that's on purpose. It rebuilds the reading order, headings, paragraphs and lists so the HTML page reads well, rather than copying the page layout. Tables are kept as real tables, but multi-column pages and text boxes become plain paragraphs. Pictures are kept in HTML and EPUB, between the paragraphs around them.
What's the file size limit?
One PDF at a time, up to 50 MB and 1,000 pages. Password-protected PDFs need the password removed first.
What kind of HTML do I get?
One clean HTML5 page using real headings (h1 to h3), paragraphs, lists and tables, with a little built-in styling so it reads well. There are no scripts, no tracking and no positioned boxes, so it's easy to edit or paste into a website.
Is the HTML safe to put on my website?
Yes. All text from the PDF is escaped, so it can't add its own tags or scripts to the page.