Skip to content

Instantly share code, notes, and snippets.

@sdaityari
Forked from kawadhiya21/html2pdf.md
Last active August 29, 2015 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdaityari/5392d798f7370acaf0c5 to your computer and use it in GitHub Desktop.
Save sdaityari/5392d798f7370acaf0c5 to your computer and use it in GitHub Desktop.

PDF (Portable Document Formal) is a useful document format, and as the name portable. Once a document is converted to the PDF format, its formatting remains the same when viewed across a range of devices, irrespective of the platform. Due to its usability, there is often a need to convert documents from various formats to PDF. Webpages, which are basically HTML documents, belong to the same category.

Thus, we present 10 HTML to PDF converters with range of functionalites associated with each one.

##Convert HTML to PDF Online

pdfcrowd

This website is most used for PDF conversions of webpages. It provides multiple input methods — namely URL, File Upload and directly typing in into its WYSIWYG editors. It has a browser add-on which means you can PDF-fy any page you are viewing. It also provides an API so that you can convert any URL into PDF on your server using your favorite server-side language.

##HTML to PDF

htmlpdf

Although this website only deals with URLs, but it has few exceptional features. It allows to decide the page size having options like A4 and Letter, portrait and landscape mode, and with options for running JavaScript and loading images. It definitely has more features but works for URLs only.

##PDFaid

pdfaid

This website is no different but has other features like Scaling, Rotating, Repairing and Compressing the PDFs apart from conversion task. So this means that you can fit in multiple pages in one page by scaling the page size down.

##Web2PDF

web2pdf

This one has a unique feature, i.e., it allows to convert a page to PDF through email. Yes, simply send an email to submit@web2pdfconvert.com with subject as Convert and the URL in the body of the email and you will receive the PDF version soon. Best part is that the PDF remains saved in the email and you don't lose them.

able2extract

While you are online, you can use the cloud based version but if there is no internet (which is common in developing countries), you can use the downloadble version too. The downloadble version would help the privacy centric users. You can easily convert your sensitive documents into PDF without uploading them to an unknown remote server.

##HTML2PDF

html2pdf.co.uk

Whoa! In addition to other common features, this one provides an SDK as well. It's PHP SDK supports CSS2 and CSS3. This means that it is capable of converting all new CSS3 overloaded websites with stunning graphics and color variants spread across its page. Apart from that it has API too if you don't want the conversion on your server. And of course, the upload and convert version exists as well.

##PDFmyURL

pdfmyurl

If you are looking for a corporate plan, this one is a winner. It has a fremium model. Apart from conversion, it does encryption, water-marking, adding headers and footers to the page. It gives you the downloadble link of the PDF which you can download or share with anyone. It also has an API.

##Online-Convert

onlineconvert

This converter has the option of OCR. This means if the language of the webpage is not known, it can recognize it and hence identify the right encoding to be used in the PDF. This means it doesn't save the page as image. This helps you search a piece of text in the PDF as well. Checkout the other converters from this website as well which include DOC , DOCx, PPT, PPTX and FLASH.

##CoolUtils

coolutils

CoolUtils provides a customizable converter where not only the header and footer can be specified but also the type of the output file. This means that you can convert to PDF, EXCEL, PPT, DOCX all at the same time without any hassle. While the DOCX version can be used for editing, the PDF version can be used to read on laptops or tablets. This website can also convert the pages into JPG and PNG. This means you can make memes out of the images by manipulating them in a graphic editing software. They also have tons of other converters. Some the formats age too old and hence might be useless to work on, but converting those formats to PDF will be helpful.

##PDFOnline

pdfonline

This converter promises a lot of features like graphic quality retention, table structure, font recognition and multi-column pages. So it means, this website is good for making magazines from the HTML versions. It can also help you save newspaper cuts which you struggle to do because of default copy-paste provided by browsers as they are optimized for single column.

I think there can be few more in this list but as of now these are enough when compared to the number of features. Each one has some unique features and it would be wrong to declare a winner. We will update the list if someone beats these with new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment