I have a published Google Docs on my site and I want users to have the option to download the file as a PDF. It's not important if the link will be within the HTML page or on my site.

Link to view PDF version of a Google Doc is old, and not answering my question.

I’m not sure how I can use Making download link to DOMPDF generated pdf on same page, since I need to have that on the HTML/within the Google Docs page, and I can't edit the server pages there.

  • The user's system/preferences decide how to handle a PDF file. Short of providing a file type that a browser cannot open (like a zip), there is no way to force a link to a PDF to download versus opening in the browser. – phantom42 Jul 9 '13 at 14:32
  • @phantom42 I know. I need a link to the PDF. Using instructions, the user will either have to 'right click' save, or view/print from the browser. currently, I only able to get html format - not good for my needs. – Saariko Jul 10 '13 at 7:04

This question was almost already answered here.

To export the document as a PDF, the correct URL is https://docs.google.com/uc?export=pdf&id=YourIndividualID

| improve this answer | |
  • This worked for a ZIP, JPG file - and others that are stroed as files. I need it to work for a google doc. and export as PDF – Saariko Jul 10 '13 at 7:18

For example: docs.google.com/document/d/[FILE_ID]/export?format=pdf

e.g.: docs.google.com/document/d/1-KPW5iiNsmRiloTPMJ6DgQ2tJ4s8UvFXnA_fN1j9Jvk/export?format=pdf


| improve this answer | |

File > Download As > PDF Document (.pdf)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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