Bring your own editor UI. Use SuperDoc as the document engine underneath. Read the announcement →
curl -X POST https://api.superdoc.dev/v1/convert?from=docx \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.docx" \
-o output.pdf"<string>"Convert documents between formats.
# Convert DOCX to PDF
curl -X POST "https://api.superdoc.dev/v1/convert?from=docx&to=pdf" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.docx" \
-o output.pdf
# Convert Markdown to DOCX
curl -X POST "https://api.superdoc.dev/v1/convert?from=md&to=docx" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.md" \
-o output.docx
# Convert HTML to DOCX
curl -X POST "https://api.superdoc.dev/v1/convert?from=html&to=docx" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.html" \
-o output.docx
curl -X POST https://api.superdoc.dev/v1/convert?from=docx \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.docx" \
-o output.pdf"<string>"Documentation Index
Fetch the complete documentation index at: https://superdoc-caio-sd-2929-configurable-toolbar.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API key authentication. Keys start with sd_
Format of the uploaded file
docx, md, html Target format for conversion. Defaults to PDF for backward compatibility
pdf, docx Converted file
The response is of type file.
Was this page helpful?