Google Docs PDF Export Adds Extra Blank Pages at the End

Published in: Document Studio

Say you have a document created inside Google Docs that is exactly two pages long. However, when you print or export the document as a PDF file, a few extra blank pages are inserted at the end of the document.

You may not have an extra lines or white spaces after the last line of text and yet the blank pages may be added. Here’s a sample PDF with multiple blank pages insert in the end by Google Docs.

Screenshot 2018-07-02 at 12.55.24 PM.png

To confirm if your Google Document is affected by this issue, open the file inside Google Docs, go to the File menu and choose Print Preview. If any blank pages are added to your document in the print preview, they will show up in the exported PDF as well.

This is a very old bug in Google Docs and there are a few solutions you can try to get around the problem.

1. Turn on Print Layout - Open the document in Google Docs, go to the View menu and enable Print Layout. Now if you export the same document as a PDF file, you most likely won’t see the extra pages.


2. Change Margins - If the print layout option doesn’t resolve the problem, you may try changing the margins of the document.

Go to the File menu in Google Docs, choose Page Setup and here lower the margins. You may also try changing the page size from say A5 or Letter to A4. Click OK to apply the changes and export as PDF again to test if this resolve the issue.

3. Start from Scratch - If your problem is not resolved, open the Google Document, press Ctrl-A (or Cmd-A) to select the entire document, Ctrl-C to copy it to the clipboard, then create a new document and paste the content with Ctrl-V. The new document may not be affected by the PDF bug.

Document Studio uses the same PDF rendering engine of Google Docs to convert your document templates into PDF files. If you notice any blank pages in your exported PDF files, make sure the “Print Layout” setting is checked in the source document template.

📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: Document Studio

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube