Alternatively, you can also read this article to learn more details.
Direct download link for original Google docs
The trick of editing the direct download URL also works for original Google documents. This will be very useful if you want to give users the option to download Google Document as a read-only PDF file or Google Spreadsheet as an Excel XLS file.
Google Docs – Direct Download
Any document in your Google Drive has a URL like:
https://docs.google.com/document/d/DOC_FILE_ID/edit
Replace /edit
equal /export?format=
, add the file format in which the document will be saved, and your download link should look like this:
https://docs.google.com/document/d/DOC_FILE_ID/export?format=pdf https://docs.google.com/document/d/DOC_FILE_ID/export?format=doc
The above links will download Google documents in Word (.docx) and PDF formats. You can also change to txt, html, odt (OpenDocument) or epub format.
Google Slides – Download Link
Like Google Docs, the URL of presentations in Google Drive has the following format:
https://docs.google.com/presentation/d/PRESENTATION_ID/edit
The direct download links for Google Slides are slightly different than for Google Docs. Instead of, replace /edit
equal /export/format
where format can be pptx to load Google Slides as Microsoft Powerpoint or PDF file.
https://docs.google.com/presentation/d/PRESENTATION_ID/export/pdf https://docs.google.com/presentation/d/PRESENTATION_ID/export/pptx
Download Google Slides as PNG file
With Google Slides, you can export your entire presentation as a PDF, or you can create links that download the slides as high-resolution PNG files.
All you need to do is add ?pageid=pPAGE_NUMBER
to the URL. So if I load the 10th slide as a PNG file, the URL will be:
https://docs.google.com/presentation/d/FILE_ID/export/png?pageid=p10
Google Sheets – Export Links
Open Google Spreadsheet in Google Drive, put the sheet in Public (or share with Anyone with a link) and the url should look like:
https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit
The direct download links for Google Sheets are similar to Google Docs, and sheets can be exported as PDF, Excel XLSX, and CSV files.
https://docs.google.com/spreadsheets/d/FILE_ID/export?format=xlsx https://docs.google.com/spreadsheets/d/FILE_ID/export?format=pdf https://docs.google.com/spreadsheets/d/FILE_ID/export?format=csv
Copy and create any shared Google Drive files of your own
Replace /edit
equal /copy
in the URL of any original Google Drive file, and anyone can click that link to quickly create their own copy of that file in their own Google Drive.
Link gốc: https://docs.google.com/document/d/FILE_ID/edit Link copy: https://docs.google.com/document/d/FILE_ID/copy
Tips /copy
Also works for Google Docs, Sheets, Slides and Google Scripts. To add ?copyComments=true
if you want the copied document to include comments from the original document. Put includeResolvedCommentsOnCopy = false
to skip duplicating resolved comments and copyCollaborators = false
to not share the copied material with the original collaborators.
You can also use it for Google Forms, but the form will only be copied to another user’s Google account if the form owner has granted access to the form.
Invite users when copying documents
If you add [email protected]
to the copy URL, the Google user who is copying the document will be prompted to share the document with the specific Google account immediately after copying the document.
https://docs.google.com/document/d/FILE_ID/copy?userstoinvite=emailaddres
Google Drawings – Embed as an image
You can export Google Drawings as SVG, PNG, JPEG, or PDF files by replacing /edit
Fort /export/FORMAT
.
For example, if the URL of Google Drawing is:
https://docs.google.com/drawings/d/FILE_ID/edit
The direct link to download the drawing in a vector format like SVG or as a PDF file would be:
https://docs.google.com/drawings/d/FILE_ID/export/svg https://docs.google.com/drawings/d/FILE_ID/export/pdf https://docs.google.com/drawings/d/FILE_ID/export/jpg
You can even use these links to embed Google Drawing as inline images in your HTML web pages using the tag below:
<p> <img src="https://docs.google.com/drawings/d/FILE_ID/export/png" alt="Google Drawing" /> </p>