ImagePDF.Tools

Convert a PDF Into a Real Web Page

Processing securely on your device, no data sent to any server
PDF

or drop files here

Get one HTML file that holds the whole document, pictures included, either as tidy markup that adapts to any screen or as a faithful copy of every page. The conversion is computed by your own browser.

How it works

Out of the PDF, onto the web.

Load a text PDF

Guides, articles, newsletters and reports exported from Word or InDesign all work. If the PDF is protected, you enter its password first.

Flowing or exact

Flowing text gives clean markup that rewraps on a phone. Exact look reproduces each page as designed, with words you can still select and search.

Preview, then save

A live preview of the page appears in the result card. Save the single .html file and open it in any browser, or publish it as is.

Use cases

Why put a PDF into HTML?

A PDF is a fixed sheet of paper on a screen. HTML bends to the device, links into the rest of the web and can be read aloud, translated and indexed.

Publishing a PDF as a web page

Turn a white paper or policy into an HTML page that search engines can index heading by heading and visitors can read without opening a viewer.

Making a manual readable on phones

Pinch-zooming around an A4 page is miserable on a small screen. The flowing version wraps to the width of the phone with comfortable, readable type.

Moving content into a CMS

Copy the generated headings, lists and tables into WordPress or a docs site instead of retyping them and rebuilding every table by hand.

Better accessibility

Real heading levels, list markup and table headers let screen reader users jump through a document, which a flat PDF often does not allow.

Translating in the browser

Built-in browser translation handles HTML easily but usually cannot reach inside a PDF viewer. Either mode gives the translator real text to work on.

Archiving a designed brochure

Exact look keeps a brochure or certificate looking like the printed piece while every word stays selectable, and it prints one page per sheet.

Flowing versus exact: two kinds of HTML.

Flowing text has to guess the structure a PDF never recorded. It finds the size most of the text is set in and treats anything at least 15 percent larger as a heading, ranking the sizes into levels. Lines that share spacing, size and indent are joined into paragraphs, and a word broken by a hyphen at the end of a line is put back together. On a two-column page it reads down the left column before the right, and the result is styled for comfortable reading, with an automatic dark theme for readers whose device prefers one.

Exact look skips the guessing. Each page is rendered without its text and placed as the background of a page-shaped box, then every line is positioned on top as live text in its original colour, weight and font family. Sizes are set in container query units, so the text grows and shrinks with the page when the window is resized, and a small script fits each line to its original width. It is the right choice for brochures, forms and anything with a deliberate layout.

Both versions are a single file with everything embedded, so large picture-heavy documents produce large HTML files. Exact look in particular stores a picture for every page. The file is marked as English; if your document is in another language, change the lang attribute on the html tag so screen readers pronounce it properly.

What Flowing text turns into markup

Seen in the PDFBecomes
Type clearly larger than the body texth1, h2, h3 by size
A short bold line at body sizeh4
Lines starting with a bullet, "1." or "a)"ul or ol
Lines set in a monospaced fontpre and code
Ruled or column-aligned rowstable, numbers right-aligned
Embedded photos and figuresfigure with the image inside
Repeated headers and page numbersRemoved

Tiny icons and full-page background images are left out of the flowing version on purpose. Drawn charts, clickable links and form fields are not carried over in either mode. Angled text is left out of the flowing version and stays inside the page picture in the exact one.

Common questions

Questions answered.

What is the difference between Flowing text and Exact look?
Flowing text rebuilds the document as ordinary web markup, with real headings, paragraphs, lists and tables that rewrap to fit any screen. Exact look keeps every page exactly as designed by using the page as a picture and laying the real words over it. Choose flowing for reading and publishing, exact when the layout itself matters.
Is the HTML clean enough to paste into a CMS or blog?
Flowing text output uses plain semantic tags (h1 to h4, p, ul, ol, table, pre, figure) with no inline styles on the content, so it pastes well into WordPress, Ghost or a static site. The styling lives in a single style block in the head that you can delete or replace with your own.
Where do the pictures go? Is there a folder of images?
There is no folder. Each picture is encoded straight into the HTML as data, which keeps everything in one file you can email, open offline or drop onto a server. If you would rather host images separately, switch off "Include pictures" and add them yourself.
My chart is missing from the flowing version.
Flowing mode carries across pictures that are embedded as images in the PDF. Charts and diagrams that were drawn with lines and shapes, as most charts exported from Excel or PowerPoint are, are not images, so they do not come through. Use Exact look for pages where a drawn chart has to appear.
Why did the page numbers and running header disappear?
On purpose. In a document of three or more pages, text that repeats in the top or bottom margin of at least half the pages is treated as page furniture and dropped, along with lines such as "Page 4 of 12". On a web page those would just interrupt the reading.
Does the Exact look version need fonts installed?
Each line asks for the font family named in the PDF and falls back to a sans-serif font when the reader does not have it. A small script in the file then stretches or squeezes every line horizontally to the width it had in the PDF, so lines still fit their place even with a substitute font.
Can I convert a scanned PDF to HTML?
Not directly. A scan is a picture of text, and this converter needs real text to work with, so it stops and tells you when it finds none. Run the file through OCR PDF first, then convert the searchable result: Flowing text rebuilds it as a web page, and Exact look keeps the scan with its recognised words selectable but invisible on top.
Are links and form fields kept?
No. The converter reads the text, fonts, pictures and table lines of each page, but not the clickable link areas or form fields layered on top of it. Add any links you need to the HTML afterwards.
Does my PDF go to a server to be converted?
No. Reading the PDF, cutting out pictures and writing the HTML all happen in this tab with pdf.js and code running on your device. The page you save is created locally, which suits internal manuals and unpublished drafts.