Xuất loại MIME cho tài liệu trên Google Workspace
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Bảng sau đây cho biết cách các tài liệu trên Google Workspace được liên kết với các loại MIME khi xuất:
Loại tài liệu
Định dạng
Loại MIME
Đuôi tệp
Tài liệu
Microsoft Word
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.docx
OpenDocument
application/vnd.oasis.opendocument.text
.odt
Văn bản đa dạng thức
application/rtf
.rtf
PDF
application/pdf
.pdf
Văn bản thuần túy
text/plain
.txt
Trang web (HTML)
application/zip
.zip
EPUB
application/epub+zip
.epub
Markdown
text/markdown
.md
Bảng tính
Microsoft Excel
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xlsx
OpenDocument
application/vnd.oasis.opendocument.spreadsheet
.ods
PDF
application/pdf
.pdf
Trang web (HTML)
application/zip
.zip
Giá trị được phân tách bằng dấu phẩy (chỉ trang tính đầu tiên)
text/csv
.csv
Giá trị được phân tách bằng dấu tab (chỉ trang tính đầu tiên)
text/tab-separated-values
.tsv
Bản trình bày
Microsoft PowerPoint
application/vnd.openxmlformats-officedocument.presentationml.presentation
.pptx
ODP
application/vnd.oasis.opendocument.presentation
.odp
PDF
application/pdf
.pdf
Văn bản thuần túy
text/plain
.txt
JPEG (chỉ trang trình bày đầu tiên)
image/jpeg
.jpg
PNG (chỉ trang trình bày đầu tiên)
hình ảnh/png
.png
Đồ hoạ vectơ có thể mở rộng (chỉ trang trình bày đầu tiên)
image/svg+xml
.svg
Bản vẽ
PDF
application/pdf
.pdf
JPEG
image/jpeg
.jpg
PNG
hình ảnh/png
.png
Đồ hoạ vectơ có thể mở rộng
image/svg+xml
.svg
Apps Script
JSON
application/vnd.google-apps.script+json
.json
Google Vids
MP4
application/mp4
.mp4
Lưu ý: Để xem danh sách tất cả các định dạng xuất được hệ thống hỗ trợ cho một người dùng, hãy truy xuất tài nguyên about
bằng cách gọi phương thức about.get
với tham số fields
được đặt thành exportFormats
.
Bạn cũng có thể xuất tài liệu Google Workspace bằng Google Apps Script. Để biết thêm thông tin về các định dạng được hỗ trợ khi xuất nội dung trong Apps Script, hãy xem tài liệu tham khảo cho
Google Tài liệu ,
Google Trang tính và Google Trang trình bày .
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0 . Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers . Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-29 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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)"]]