Take the 2-minute tour ×

I have to convert html to the doc(x) and pdf format.

I found aspose, but this tool can do a lot of more work than i need, and thats why it isn't really cheap.

Are there similar tools, which can just do this conversion ?

I need this on a Desktopapplication where no word / office is installed

*Just for Info Finally bought asponse words. all other options weren't as good as this tool

share|improve this question

closed as off-topic by Jave, Harry, madth3, Eric Brown, JB. Sep 25 '13 at 3:55


  • "Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Jave, Harry, madth3, Eric Brown, JB.

Is the html from your webserver, or do you just have the file? –  Cymbals Dec 6 '11 at 17:28
It's stored in a database. They were imported E-Mail messages –  Boas Enkler Dec 6 '11 at 17:30

5 Answers 5

Maybe this http://kitpdf.com might help. I tried it, it's free and really easy to use.

share|improve this answer

You can use ABCPdf:


share|improve this answer

Assuming that these are essentially “documents” and not fancy graphical web pages (i.e. you'd like them to be legible, but aren't deeply concerned with the minutiæ of web layout formatting), you can use LibreOffice to convert them; either manually (open, export as…) or using the "headless" mode, e.g.:

soffice -headless -convert-to pdf -outdir pdfs/ *.html
soffice -headless -convert-to doc -outdir docs/ *.html

Free, cross-platform, but a bit of a hefty install. (I think it's nearing the half-gigabyte mark for the full suite with all the plug-ins installed, but you should only need the Writer component)

share|improve this answer

I can't speak for docx format, but you might look into DocRaptor to convert HTML to PDF format. It definitely handles CSS styling better than comparable programs, and doesn't just give you an image like creating a PDF with Photoshop.

share|improve this answer

If the webpage is or can be hosted then you can download an extension for Google Chrome called Screen Capture, this allows you to take a full screen grab of the webpage then you can paste it into Photoshop and Save As a .pdf (that is assuming you have Photoshop that is)

share|improve this answer
sorry I forgot to mention that i have a desktop application (Winform / WPF) and now office is installed –  Boas Enkler Dec 6 '11 at 17:23
That gives you a PDF with a picture in it, not a PDF with words in it. That may be acceptable to Boas but it's worth pointing out the difference. –  Stephen P Dec 6 '11 at 20:30
