/drivepdf

Convert documents in a Google Drive folder to pdf

Primary LanguageJavaScript

drivepdf

Bulk convert all Google Docs and Sheets in a Drive folder to pdf.

  1. Go to your Google Drive and create a new Google Apps Script.
  2. Paste the script drivepdf.js into the editor.
  3. Browse to the Drive folder you want to convert and copy the folder ID from the URL (https://drive.google.com/drive/folders/<folder_ID>)
  4. Paste the folder ID in the Apps Script folder ID placeholder.
  5. On the editor, select the function main.
  6. Click on run and accept the Google permissions.
  7. A new folder will be created on your personal drive with the converted files.