Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to make an offline version of a website and I'm looking for a tool that would do the task automatically for the whole web site (circa 1000 pages of HTML + images).

Is there anything like that and free that will print a full website to PDF?

share|improve this question

migrated from stackoverflow.com May 9 '10 at 13:11

This question came from our site for professional and enthusiast programmers.

I guess you mean "web site"? –  grawity May 9 '10 at 18:13
Yes, I corrected it :) –  MartyIX May 10 '10 at 17:33
As most replies suggested, PDF printers will print the web page to a file. However! I suppose you have seen the kind of messes you get when you print a web page. I keep telling people to NEVER just print, but to ALWAYS use print preview (unless there is a print button on thr page itself). –  hdhondt Jan 18 at 10:32

8 Answers 8

up vote 5 down vote accepted

To recursively collect HTML pages (and images, etc.) into a single PDF file? Adobe Acrobat can definitely do this, though it's not free. It'll maintain the intra-site links and everything, though it can be cripplingly slow on very large pages (like the printable version of Eloquent JavaScript).

I'm not aware of any free tools that do this.

share|improve this answer
Acrobat has no facility for allowing you to log in to a website to access secure content, right? –  glenviewjeff Dec 20 '14 at 20:38

If you want to make it into one pdf you could try this -

use wget or HTTrack(or any other such downloader)

set an option to download all files to one directory on your local computer (rather than mirroring the source site)

use a small shell script to loop over all the .html files and merger them

 for i in *.html; 
 do cat $i >> giantfile.html; 

Then open this giantfile and print to pdf!!! that might be slow/impossible

BUT if all you need is an offline version of the site, just use wget or HTTrack. It will create a local mirror for you, browseable in any web browser.

share|improve this answer
You mean HTTrack (not HTTPtrack), right? httrack.com –  rob May 10 '10 at 19:06
yes..thank you. –  bryan May 10 '10 at 19:33
Won't the browser choke on the CSS / JS of the concatenated files? –  That Brazilian Guy Nov 4 '13 at 21:12

Cute PDF is what I've always used:


Again installs as a virtual printer. It also allows you to extract individual pages or merge pdfs.

share|improve this answer
On a lighter note, >implying Windows –  Delan Azabani May 9 '10 at 9:48
MartyIX updated his specs; he wants something that will save the entire website to a PDF, not just one page at a time. –  rob May 10 '10 at 19:12

Link: http://pdfmyurl.com/

This will convert a web page to a PDF document on-line for free.

share|improve this answer

Depends on your operating system.

On Windows: FreePDF (google it) for example. It installs as a virtual Printer that can "print" into PDF files.

On Mac: The printing system can output PDF on its own. Just open the "Print" dialog and hit the "PDF" button in the lower left corner.

On Linux: no idea.

Anyway this is more like a question for superuser.com ...

share|improve this answer
But the printing has to be done one by one, hasn't it? –  MartyIX May 9 '10 at 10:05
What do you mean by "one by one"? If you have a web page, you'll end up with a PDF version of it. –  lnwdr May 9 '10 at 11:14
For the record: most Linux systems will also probably have a native PDF printer driver. –  David Z May 9 '10 at 18:08
MartyIX updated his specs; he wants something that will save the entire website to a PDF, not just one page at a time. –  rob May 10 '10 at 19:10

Adding to Techpriester's answer...

Ubuntu can create PDFs out of anything you can print - including web pages. Just File > Print like you normally do, then choose Print to File and PDF.

share|improve this answer
Ok, then it's as simple as on Mac OS X. Hadn't had a detailed look at Ubuntu for a while now. :) –  lnwdr May 9 '10 at 9:43
MartyIX updated his specs; he wants something that will save the entire website to a PDF, not just one page at a time. –  rob May 10 '10 at 19:13

You can use a PDF printer, as some of the others have suggested, but if you go that route, you will need to use a web browser that allows you to print linked documents. To do this in Internet Explorer 8, click the Options tab on the print dialog and check the "Print all linked documents" box. Unfortunately, this may or may not work for you, depending on the link depth.

Options tab of Internet Explorer print dialog

Firefox does not seem to have an equivalent feature built-in, although there might be a plugin available which allows you to print linked documents.

Unless you really need the archived website to be in PDF format, your best option is probably to use HTTrack, as suggested by bryan. HTTrack gives you a lot of options to restrict download size or how deeply you traverse a site, as well as specify whether you want to follow any external links or include non-HTML documents, among other things.

share|improve this answer

Try the free web-based convertor Website2PDF, which will convert an entire web site into a single PDF file. The limit is 2000 HTML pages. The resulting file can be black and white.

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Moses Nov 4 '13 at 19:20
@Moses: Website2PDF seems to be a web-based free service. There is not much to explain. I would just extend the reply to something like: "Try the free web-based service...". Could you please extend the reply Николай? –  pabouk Nov 4 '13 at 19:35
You can use this free online convertor to create one PDF file and after that just print. –  Николай Гечев Jan 18 at 6:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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