Embedding Google Docs
Parameters

Google Docs URL Parameters

I am not aware of any official documentation of the various parameters/arguments that can be used in conjunction with Google Docs URLs, but I have found an unofficial list here.

I have tried some of these in some of the tips I have given. But as they are not 'official' they may or may not continue to work. I have copied the list from that page below so it may be worth checking the source to see if any others have been added.

/copy

/export 

/edit 

/preview 

/create 

/pub? 

/fm?id= 

/tq?tqx=out:html 

&copyDestination=[Drive FolderID] 

&key=[ID] 

&gid=[#] 

&single=[true|false] 

&range=[CellAddress|CellAddress1:CellAddress2] 

&embedded=[true|false] 

&widget=[true|false] 

&output=[html|txt|csv|pdf] 

&gridlines=[false] 

&rm=[minimal|embedded|full|demo|?] 

&ui=2 (interface version) 

&chrome=[false] (full screen mode) 

&width=[width] 

&height=[height] 

&frameborder=[size of border] 

&q=[Search Query] 

&viewer? 

&start= 

&channel= 

&ibd= 

&client= 

&fmcmd=12 

&size=0 

&fzr=[true] 

&portrait=[false] 

&fitw=[true] 

&printtitle=[true] 

&sheetnames=[true] 

&pagenum=[CENTER] 

&attachment=[true] 

&alt=[rss] 

&tq=[query params here]


The 

Example of usage

If you want to provide a link to a Google Doc and force a copy to be made rather than have it just open then use the /copy suffix.

e.g.

https://docs.google.com/spreadsheets/d/1sqLhj7oWGPEU7vjm-SfD55jqJEi0h47CPeDcILtDUVE/copy

Some parameters are only appropriate for certain doctypes - e.g &range= would only make sense for a spreadsheet