Export MIME types for Google Workspace documents

Google Workspace documents map to the following export MIME types:

Document Type Format MIME Type File Extension
Documents Microsoft Word application/vnd.openxmlformats-officedocument.wordprocessingml.document .docx
OpenDocument application/vnd.oasis.opendocument.text .odt
Rich Text application/rtf .rtf
PDF application/pdf .pdf
Plain Text text/plain .txt
Web Page (HTML) application/zip .zip
EPUB application/epub+zip .epub
Spreadsheets Microsoft Excel application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .xlsx
OpenDocument application/x-vnd.oasis.opendocument.spreadsheet .ods
PDF application/pdf .pdf
Web Page (HTML) application/zip .zip
Comma Separated Values (first-sheet only) text/csv .csv
Tab Separated Values (first-sheet only) text/tab-separated-values .tsv
Presentations Microsoft PowerPoint application/vnd.openxmlformats-officedocument.presentationml.presentation .pptx
ODP application/vnd.oasis.opendocument.presentation .odp
PDF application/pdf .pdf
Plain Text text/plain .txt
JPEG (first-slide only) image/jpeg .jpg
PNG (first-slide only) image/png .png
Scalable Vector Graphics (first-slide only) image/svg+xml .svg
Drawings PDF application/pdf .pdf
JPEG image/jpeg .jpg
PNG image/png .png
Scalable Vector Graphics image/svg+xml .svg
Apps Script JSON application/vnd.google-apps.script+json .json

You can also export Google Workspace documents using Google Apps Script. For more information on supported formats when exporting content in Apps Script, see the reference documentation for Google Docs, Google Sheets, and Google Slides.