Convert Document
Converts an uploaded document file, provided text, or a document available at a web URL into another supported file format. Converting a PDF file to another format is not supported. The converted file is returned as binary content in the response body. Provide exactly one of content, text, or url.
Endpoints
OAuth Scope
curl --request POST \
--url https://www.zohoapis.com/writer/api/v1/documents/convert \
--header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \
--header 'content-type: multipart/form-data' \
-F 'content=@file_path' \
-F 'text=string' \
-F 'url=http://example.com' \
-F 'format=docx' \
-F 'password=string' \
-F 'filename=string'Request Body
multipart/form-dataThe document file to be converted. Supported formats: docx (up to 50 MB), rtf, odt, txt, html, epub (up to 10 MB).
The text content to be converted into a document.
The web URL of the document to be converted. Supported formats: docx (up to 50 MB), rtf, odt, txt, html, epub (up to 10 MB).
The output format to convert the document into.
A unique password for the document to be converted. Applicable when content or url is provided.
A name for the converted document.
// Note: payload contains multiple type attributes
// type: file
content = <file>
// type: string
text = string
// type: string(uri)
url = http://example.com
// type: string
format = docx
// type: string
password = string
// type: string
filename = string200 The converted document is downloaded.© 2026, Zoho Corporation Pvt. Ltd. All Rights Reserved.