Convert PDF to HTML

Turn PDF documents into HTML. One HTML file that looks like the pages: each page's drawings and pictures sit behind its text, which stays selectable at its place.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PDF files on the dialor turn it to pick what to do

A web page that looks like your PDF.One HTML file with each page's look kept and its text still selectable.

  1. What you get

    One HTML file that looks like the pages of the PDF. The drawings and pictures of each page sit behind its text. The text stays selectable at its place on the page.

  2. What changes

    Text does not reflow. It stays where the page puts it instead of adapting to the width of the window. Fonts are replaced by similar ones, so the fonts in the HTML are not the ones in the PDF.

    A scanned page has no text in the HTML. There is nothing to select on it.

  3. Options and locked files

    Set Pages to convert only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when Pages is left out.

    A PDF that asks for a password opens with the Password option. The password is used for this one job and deleted when it ends. Without it, the conversion stops with input_encrypted.

    A file that cannot be parsed stops with input_corrupted.

PDF and HTML.What each format is, and the options this conversion takes.

  1. 01 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  2. 02 · password

    Password

    Opens a file that asks for a password. The password is used for this one job and deleted when it ends. Without it, a locked file fails with input_encrypted.

The formats

From · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents
To · HTML

HTML

The markup of web pages. Text, links and structure, usually with CSS and images alongside.

Extensions
.html .htm
MIME type
text/html
Kind
Text and data

In your code.The same PDF to HTML conversion through the API, for your app or your agent.

terminal
$ cv convert report.pdf report.html
$ cv convert report.pdf report.html

Questions.What people ask about PDF to HTML.

01OF 04

Yes. Drawings and pictures sit behind the text, and the text stays at its place on the page. Fonts are replaced by similar ones.

Yes, on pages that have text. A scanned page has no text.

The file needs a password. Enter it in the Password option and convert it again.

Yes. Set Pages to a range such as 1-3,7, and only those pages are read. To go the other way, use HTML to PDF.

More conversions.Other ways in and out of PDF and HTML.