All Google Docs URL parameters, functions, and commands

The official documentation for all Google Docs URL parameters, functions, and commands is not readily available. However, users have shared some insights and tricks related to Google Docs URL parameters and functions. We have collected them here.

You can set any of them and see the results live below.

Original article: How to embed a PDF in HTML without downloading it.

Parameters

/copy
/export
/edit
/view
/preview
/create
/pub?
/fm?id=
/tq?tqx=out:html
&key=[ID]
&gid=[#]
&single=[true|false]
&range=[CellAddress|CellAddress1:CellAddress2]
&embedded=[true|false]
&widget=[true|false]
&output=[html|txt|csv|pdf]
&format=[pdf|docx|xlsx|pptx]
&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]
        

Your environment: