MIME-Typen für Google Workspace-Dokumente exportieren

In der folgenden Tabelle sehen Sie, wie Google Workspace-Dokumente den MIME-Typen für den Export zugeordnet sind:

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
PDF application/pdf .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
PDF application/pdf .pdf
Webseite (HTML) application/zip .zip
CSV (nur erstes Tabellenblatt) text/csv .csv
TSV (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
PDF application/pdf .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
Zeichnungen 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 video/mp4 .mp4

Wenn Sie eine Liste aller vom System unterstützten Exportformate für einen Nutzer aufrufen möchten, verwenden Sie die get Methode für die about Ressource und legen Sie für den fields Parameter den Wert fest exportFormats.

Sie können Google Workspace-Dokumente auch mit Google Apps Script exportieren. Weitere Informationen zu den unterstützten Formaten beim Exportieren von Inhalten in Apps Script finden Sie in der Referenz dokumentation für Google Docs, Google Sheets, und Google Präsentationen.