Send feedback
Export MIME types for Google Workspace documents
Stay organized with collections
Save and categorize content based on your preferences.
The following table shows how Google Workspace documents map to 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
Markdown
text/markdown
.md
Spreadsheets
Microsoft Excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlsx
OpenDocument
application/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
Google Vids
MP4
application/mp4
.mp4
Note: To view a list of all system supported export formats for a user, retrieve
an about
resource by calling the about.get
method with the fields
parameter set to
exportFormats
.
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 .
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["Google Workspace documents map to the following export MIME types:\n\n| Document Type | Format | [MIME Type](https://www.iana.org/assignments/media-types/media-types.xhtml) | File Extension |\n|-------------------|---------------------------------------------|-----------------------------------------------------------------------------|----------------|---|---|---|\n| **Documents** | Microsoft Word | application/vnd.openxmlformats-officedocument.wordprocessingml.document | .docx |\n| | OpenDocument | application/vnd.oasis.opendocument.text | .odt |\n| | Rich Text | application/rtf | .rtf |\n| | PDF | application/pdf | .pdf |\n| | Plain Text | text/plain | .txt |\n| | Web Page (HTML) | application/zip | .zip |\n| | EPUB | application/epub+zip | .epub |\n| | Markdown | text/markdown | .md |\n| **Spreadsheets** | Microsoft Excel | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | .xlsx |\n| | OpenDocument | application/vnd.oasis.opendocument.spreadsheet | .ods |\n| | PDF | application/pdf | .pdf |\n| | Web Page (HTML) | application/zip | .zip |\n| | Comma Separated Values (first-sheet only) | text/csv | .csv |\n| | Tab Separated Values (first-sheet only) | text/tab-separated-values | .tsv |\n| **Presentations** | Microsoft PowerPoint | application/vnd.openxmlformats-officedocument.presentationml.presentation | .pptx |\n| | ODP | application/vnd.oasis.opendocument.presentation | .odp |\n| | PDF | application/pdf | .pdf |\n| | Plain Text | text/plain | .txt |\n| | JPEG (first-slide only) | image/jpeg | .jpg |\n| | PNG (first-slide only) | image/png | .png |\n| | Scalable Vector Graphics (first-slide only) | image/svg+xml | .svg |\n| **Drawings** | PDF | application/pdf | .pdf |\n| | JPEG | image/jpeg | .jpg |\n| | PNG | image/png | .png |\n| | Scalable Vector Graphics | image/svg+xml | .svg |\n| **Apps Script** | JSON | application/vnd.google-apps.script+json | .json |\n| **Google Vids** | MP4 | application/vnd.google-apps.vid | .mp4 |\n| | [Google Vids](https://workspace.google.com/products/vids/) is only available to trusted testers. It's not fully supported on all methods of Google Drive API. ||| | | |\n\n| **Note:** To view a list of all system supported export formats for a user, retrieve an [`About`](/workspace/drive/api/reference/rest/v3/about) resource by calling the [`about.get`](/workspace/drive/api/reference/rest/v3/about/get) method with the `fields` parameter set to `exportFormats`.\n\nYou can also export Google Workspace\ndocuments using Google Apps Script. For more information on supported formats\nwhen exporting content in Apps Script, see the reference\ndocumentation for [Google Docs](/apps-script/reference/document/document#getascontenttype), [Google Sheets](/apps-script/reference/spreadsheet/spreadsheet#getascontenttype),\nand [Google Slides](/apps-script/reference/slides/image#getascontenttype)."]]