In der folgenden Tabelle sehen Sie, wie Google Workspace-Dokumente den MIME-Typen für den Export zugeordnet werden:
| Dokumenttyp | Format | MIME-Typ | Dateiendung |
|---|---|---|---|
| Dokumente | Microsoft Word | application/vnd.openxmlformats-officedocument.wordprocessingml.document | DOCX |
| OpenDocument | application/vnd.oasis.opendocument.text | ODT | |
| RTF | application/rtf | RTF | |
| application/pdf | |||
| Nur Text | text/plain | .txt | |
| Webseite (HTML) | application/zip | .zip | |
| EPUB | application/epub+zip | .epub | |
| Markdown | text/markdown | .md | |
| Tabellen | Microsoft Excel | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | XLSX |
| OpenDocument | application/vnd.oasis.opendocument.spreadsheet | .ods | |
| application/pdf | |||
| Webseite (HTML) | application/zip | .zip | |
| Kommagetrennte Werte (nur erstes Tabellenblatt) | text/csv | CSV | |
| Tabulatorgetrennte Werte (nur erstes Tabellenblatt) | text/tab-separated-values | TSV | |
| Präsentationen | Microsoft PowerPoint | application/vnd.openxmlformats-officedocument.presentationml.presentation | .pptx |
| ODP | application/vnd.oasis.opendocument.presentation | ODP | |
| application/pdf | |||
| Nur Text | text/plain | .txt | |
| JPEG (nur erste Folie) | image/jpeg | JPG | |
| PNG (nur erste Folie) | image/png | PNG | |
| Scalable Vector Graphics (nur erste Folie) | image/svg+xml | SVG | |
| Google Zeichnungen | application/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 | video/mp4 | .mp4 |
Wenn Sie eine Liste aller vom System unterstützten Exportformate für einen Nutzer aufrufen möchten, verwenden Sie die Methode get für die Ressource about, wobei der Parameter fields auf exportFormats festgelegt ist.
Sie können Google Workspace-Dokumente auch mit Google Apps Script exportieren. Weitere Informationen zu unterstützten Formaten beim Exportieren von Inhalten in Apps Script finden Sie in der Referenzdokumentation für Google Docs, Google Sheets und Google Präsentationen.