Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to convert a PDF document to a collection of HTML pages that exhibit 'clean' markup, and generate/keep semantic info (chapters, sections...), as well as perform cleanup tasks (e.g. I am not interested in page numbers, or repeating the title of the chapter/document on each page).

Is there any such program?


share|improve this question

Calibre allows conversion of a pdf to htlmz format which is a single file html page with data. if you wanted to use it to create a collection of html pages, you would need to split the pdf up first depending upon your operating system. Calibre works on all major operating systems, install the program from import the pdf, then use 'convert books' option from ui and choose htmlz format. There are several settings pages that can be altered to get your final result

There is also a command line interface if this is something you'ld like to script up.

share|improve this answer

I wrote one, because I needed it for my website transcribing hundred thousands PDFs into semantic HTML without making a huge mess.

Here's my Github repository

It is a two step process, first the PDFs are processed using PDFtoHTML(Ex) which produces presentational HTML markup, than the documents are processed using producing semantic HTML including headings, paragraphs, lists and data tables.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .