Download Google Slide presentation (published to the web)

evandrix picture evandrix · Feb 19, 2017 · Viewed 31.7k times · Source

I would like to download this link as PDF:

https://docs.google.com/presentation/d/e/2PACX-1vRouwj_3cYsmLrNNI3Uq5gv5-hYp_QFdeoan2GlxKgIZRSejozruAbVV0IMXBoPsINB7Jw92vJo2EAM/pub?slide=id.p

Unfortunately, this URL uses non standard format that I recognise and can manipulate.

Modifying it to something like

https://docs.google.com/presentation/d/2PACX-1vRouwj_3cYsmLrNNI3Uq5gv5-hYp_QFdeoan2GlxKgIZRSejozruAbVV0IMXBoPsINB7Jw92vJo2EAM/edit

doesn't work.

The Google Drive file ID should be 44 alphanumeric characters, but clearly this is 86 characters long.

Anyone can help with interpreting what format this is in please?

Answer

KENdi picture KENdi · Feb 20, 2017

From this tutorial to generate a link to download a google slides must have this format:

https://docs.google.com/presentation/d/<FileID>/export/<format>

where <format> can be pptx or pdf.

This way, you can bypass Google Drive viewer or Google Slides editor and create direct download links to include in any web page. The main benefit is that you only need to maintain and host one presentation and then a direct link can be provided for anyone who need to download it in a different format.

Hope this information helps you.