Supported formats quick reference

Request Description Mime types Supported input file extensions Supported output file extensions Comments
Text translation Synchronous requests in text string text/plain, text/html

inline

inline Translation API, Basic and Advanced
Batch text translation - Cloud Storage Asynchronous requests with accepted input and output file formats text/plain, text/html .txt, .html, .tsv .txt, .html, .tsv Translation Advanced API only
Document translation (Preview) Synchronous requests with accepted input and output file formats application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet inline, .docx, .pdf, .pptx, xlsx inline, .docx, .pdf, .pptx, xlsx Translation Advanced API only
Batch document translation (Preview) Asynchronous requests with accepted input and output file formats application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet .docx, .pdf, .pptx, xlsx .docx, .pdf, .pptx, xlsx Translation Advanced API only
Glossary creation Glossary files uploaded to Google Cloud project text/plain .tmx, .csv, .tsv n/a Translation Advanced API only
AutoML dataset creation Accepted formats for training data import. text/plain .tsv, .tmx n/a AutoML API only