I have a small pdf ebook and I want to publish this book in my blog with the table of contents. I am looking for a tool that to divide the book into sections and create Table of Contents in HTML format as the O'Reilly does. enter image description here

I have tried pandoc pdf to HTML. But the results were terrible.

Note: Please warn me if this image against the terms of use.

1 Answer 1


I have tried Calibre; it has created smooth HTML TOC and HTML content give it a try if you have this problem. It pulls all sections and chapters and creates an organized Table of Contents like this:

You can also add style with CSS and give it a nice looking.

Note: I mean structural design, not the whole document is smoothly converted. You must made manual changes on elements with bad structured pdf books.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.