Google Docs PDF Export Adds Extra Blank Pages at the End

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.

print-layout.png

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.

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

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.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.