Convert Google Docs to PDF With Custom Margins
Custom margins set in a Google Doc carry directly into the PDF when you export through the Docs to PDF extension. The page layout dimensions you configured in File > Page setup are used by Google's rendering engine without any alteration.
How margins are applied in the export
Google Docs stores margin settings as part of the document's page setup. When the extension calls Google's export API, those settings are read and applied to the PDF rendering. Top, bottom, left, and right margins all carry through at the values you set.
Narrow margins and content cutoff
Margins narrower than 0.5 inches may cause content to be cut off by some printers, even if the PDF looks correct on screen. If the document is intended for printing, set margins to at least 0.5 inches on all sides. For digital-only documents, narrow margins are fine.
Mirror margins for double-sided documents
Google Docs supports mirrored margins for double-sided printing. Set this up in File > Page setup under Pages. The inner and outer margin values alternate between left and right pages. This setting exports correctly to PDF and produces a document ready for double-sided printing.
Frequently Asked Questions
Why are the margins different in my PDF than in the Google Doc?
If you used a third-party converter, it may have applied its own default margins. Use the Docs to PDF extension to export through Google's API, which uses the margins set in the document.
Related article
Best page margins for Google Docs PDF export →Ready to Try It?
Install the free Chrome extension and start converting your Google Docs to PDF in one click.
Install Free Extension