ส่งออกประเภท MIME สําหรับเอกสาร Google Workspace
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตารางต่อไปนี้แสดงวิธีที่เอกสาร Google Workspace แมปกับประเภท MIME ที่จะส่งออก
ประเภทเอกสาร
รูปแบบ
ประเภท MIME
นามสกุลไฟล์
เอกสาร
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
ข้อความล้วน
text/plain
.txt
หน้าเว็บ (HTML)
application/zip
.zip
EPUB
application/epub+zip
.epub
Markdown
text/markdown
.md
สเปรดชีต
Microsoft Excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlsx
OpenDocument
application/vnd.oasis.opendocument.spreadsheet
.ods
PDF
application/pdf
.pdf
หน้าเว็บ (HTML)
application/zip
.zip
ค่าที่คั่นด้วยคอมมา (เฉพาะชีตแรก)
text/csv
.csv
ค่าที่คั่นด้วยแท็บ (เฉพาะชีตแรก)
text/tab-separated-values
.tsv
งานนำเสนอ
Microsoft PowerPoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
.pptx
ODP
application/vnd.oasis.opendocument.presentation
.odp
PDF
application/pdf
.pdf
ข้อความล้วน
text/plain
.txt
JPEG (สไลด์แรกเท่านั้น)
image/jpeg
.jpg
PNG (สไลด์แรกเท่านั้น)
image/png
.png
กราฟิกเวกเตอร์ที่ปรับขนาดได้ (สไลด์แรกเท่านั้น)
image/svg+xml
.svg
วาดเขียน
PDF
application/pdf
.pdf
JPEG
image/jpeg
.jpg
PNG
image/png
.png
กราฟิกเวกเตอร์ที่ปรับขนาดได้
image/svg+xml
.svg
Apps Script
JSON
application/vnd.google-apps.script+json
.json
Google Vids
MP4
application/mp4
.mp4
หมายเหตุ: หากต้องการดูรายการรูปแบบการส่งออกทั้งหมดที่ระบบรองรับสำหรับผู้ใช้ ให้เรียกข้อมูล
แหล่งข้อมูล about
โดยเรียกใช้เมธอด about.get
โดยตั้งค่าพารามิเตอร์ fields
เป็น
exportFormats
นอกจากนี้ คุณยังส่งออกเอกสาร Google Workspace
ได้โดยใช้ Google Apps Script ดูข้อมูลเพิ่มเติมเกี่ยวกับรูปแบบที่รองรับ
เมื่อส่งออกเนื้อหาใน Apps Script ได้ที่เอกสารอ้างอิง
สำหรับ
Google เอกสาร ,
Google ชีต
และ Google สไลด์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-29 UTC
[null,null,["อัปเดตล่าสุด 2025-08-29 UTC"],[],[],null,["# Export MIME types for Google Workspace documents\n\nThe following table shows how Google Workspace documents map to export [MIME\ntypes](https://www.iana.org/assignments/media-types/media-types.xhtml):\n\n| Document Type | Format | MIME Type | 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/mp4 | .mp4 |\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`](/workspace/drive/api/reference/rest/v3/about#About.FIELDS.export_formats).\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).\n\nRelated topics\n--------------\n\n- [Google Workspace and Google Drive supported MIME types](/workspace/drive/api/guides/mime-types)"]]