ส่งออกประเภท 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) text/html .html
หน้าเว็บ (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
วาดเขียน 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 video/mp4 .mp4

ตัวเลือกการส่งออกเพิ่มเติม

หากต้องการดูรายการรูปแบบการส่งออกทั้งหมดที่ระบบรองรับสำหรับผู้ใช้ ให้ใช้วิธี get ในแหล่งข้อมูล about โดยตั้งค่าพารามิเตอร์ fields เป็น exportFormats

นอกจากนี้ คุณยังส่งออกเอกสาร Google Workspace โดยใช้ Google Apps Script ได้ด้วย ดูข้อมูลเพิ่มเติมเกี่ยวกับรูปแบบที่รองรับเมื่อส่งออกเนื้อหาใน Apps Script ได้ที่เอกสารอ้างอิงสำหรับ Google เอกสาร, Google ชีต, และ Google สไลด์