11---
22title : " Google Docs Tools"
33description : >
4- Upload Markdown as native Google Docs (md2gdoc) and
5- download Google Docs as Markdown (gdoc2md).
4+ Upload Markdown as native Google Docs (md2gdoc),
5+ download Google Docs as Markdown (gdoc2md), and
6+ download Google Docs as Word files (gdoc2docx).
67---
78
89import {
@@ -22,6 +23,8 @@ manual steps.
2223
2324` md2gdoc ` reduces this to one command.
2425` gdoc2md ` does the reverse.
26+ ` gdoc2docx ` downloads Google Docs as Word (.docx)
27+ files.
2528
2629## Installation
2730
@@ -36,7 +39,8 @@ uv tool install 'claude-code-tools[gdocs]'
3639
3740:::note
3841This setup is shared by all Google tools
39- (` md2gdoc ` , ` gdoc2md ` , ` csv2gsheet ` , ` gsheet2csv ` ).
42+ (` md2gdoc ` , ` gdoc2md ` , ` gdoc2docx ` , ` csv2gsheet ` ,
43+ ` gsheet2csv ` ).
4044You only need to do it once per GCP project.
4145:::
4246
@@ -197,6 +201,34 @@ to use local paths.
197201- ` --no-images ` -- strip images to placeholders
198202- ` --keep-base64 ` -- keep base64 data inline
199203
204+ </TabItem >
205+ <TabItem label = " gdoc2docx (Word)" >
206+
207+ Download Google Docs as Word (.docx) files:
208+
209+ ``` bash
210+ # Download from root
211+ gdoc2docx " My Document"
212+
213+ # Download from a specific folder
214+ gdoc2docx " My Document" --folder " PNL/Reports"
215+
216+ # Save with a custom name
217+ gdoc2docx " My Document" -o report.docx
218+
219+ # List docs in a folder
220+ gdoc2docx --list --folder PNL
221+ ```
222+
223+ ### Supported Source Formats
224+
225+ - ** Google Docs** -- exported as DOCX via the Drive
226+ API
227+ - ** DOCX** -- downloaded directly (no conversion
228+ needed)
229+ - ** DOC / ODT** -- converted via a temporary Google
230+ Doc, then exported as DOCX
231+
200232</TabItem >
201233</Tabs >
202234
0 commit comments