Skip to content

A complete list of Google Docs URL parameters

Grant Kiely · Last Updated: February 12, 2025

Save time by exporting, previewing, creating templates, and more with these Google Doc URL parameters.


Google Docs has several built-in URL parameters that allow you to perform various helpful tasks to save time. The following is intended to be a reference guide for these URL parameters.

The following examples require the URL format https://docs.google.com/document/d/DOC_ID where DOC_ID is the document ID.

Export

/export?format=pdf - Export the document as a PDF document.

/export?format=docx - Export the document as a Word document.

/export?format=odt - Export the document as an OpenDocument text document.

/export?format=rtf - Export the document as a Rich Text Format document.

/export?format=txt - Export the document as a plain text document.

/export?format=html - Export the document as a HTML document.

/export?format=md - Export the document as a Markdown document.

/export?format=epub - Export the document as an epub document.

/export?format=zip - Export the document as a (zipped) HTML document with associated web page.

Preview

/preview - Preview the document without the title and toolbar.

/preview?rm=demo - Preview the document with an outline.

/preview?rm=embedded - Preview the document with the toolbar and outline.

/preview?rm=full - Preview the document with the file icon, toolbar, and outline.

Edit

/edit?rm=minimal - Edit the document without the title, menu or toolbar.

/edit?rm=demo - Edit the document with the toolbar.

/edit?rm=embedded - Edit the document with the menu and toolbar.

/edit?rm=full - Edit the document with the file icon, toolbar, and outline.

Mobile

/mobilebasic - View the document in mobile view.

/mobilebasic?rm=minimal - View the document in mobile view without the title.

Copy

/copy - Copy the document.

/copy?copyComments=true - Copy the document with comments.

/copy?userstoinvite=email1,email2 - Copy the document and invite users to edit.

/copy?copyDestination=FOLDER_ID - Copy the document to a specific folder.

/copy?title=NewTitle - Copy the document with a new title.

/copy?copyCollaborators=false - Copy the document without collaborators.

/copy?includeResolvedCommentsOnCopy=true - Copy the document with resolved comments.

/copy?title=NewTitle&usersToInvite=email1,email2 - Combine parameters to create a custom copy URL. For example, to copy a document with a new title and invite users to edit.

Template

/template/preview - Create a new document based on a template.

.new

https://docs.new - Create a new document.

Embed a document

<iframe src="https://docs.google.com/document/d/DOC_ID/preview" width="100%" height="600px"></iframe> - Embed a document in an iframe.

Open as a specific user

/edit?authuser=USER_EMAIL - Open a document with a specific email address.

Are you ready to create a knowledge base?

Start using You Need A Wiki today!

Get started for free