Bulk convert all Google Docs and Sheets in a Drive folder to pdf.
- Go to your Google Drive and create a new Google Apps Script.
- Paste the script drivepdf.js into the editor.
- 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>
) - Paste the folder ID in the Apps Script folder ID placeholder.
- On the editor, select the function main.
- Click on run and accept the Google permissions.
- A new folder will be created on your personal drive with the converted files.