PDF to PowerPoint
Convert PDF documents to PowerPoint (.pptx) presentations.
https://api.morphopdf.com/v1/convert/pdf-to-powerpointAuthentication
Retrieve your API Key from Dashboard.
Request Body
Provide the PDF file using one of the following methods.
fileFilePDF file uploaded via multipart/form-data.
urlstringOptionalPublic URL pointing to a PDF file.
Query Parameters
formatstringOptionalDefault: jsonResponse format. Use 'binary' to receive the PowerPoint file directly, or 'json' for metadata.
Response
When using format=json (default):
successbooleanIndicates whether the operation completed successfully.
messagestringHuman-readable status message.
fileNamestringName of the generated PowerPoint file.
downloadUrlstringPresigned URL to download the file. Valid for 1 hour.
slideCountnumberNumber of slides in the presentation.
methodstringConversion method used (e.g. 'pdf2pptx').
processingTimeMsnumberProcessing time in milliseconds.
Conversion Quality
Each PDF page is converted to a high-resolution slide image. The resulting presentation maintains 95%+ visual fidelity but content is not editable text. For editable content, consider PDF to Word conversion.
Error Responses
| Status | Code | Description |
|---|---|---|
| 400 | INVALID_INPUT | No file provided |
| 401 | AUTHENTICATION_REQUIRED | Missing or invalid API key |
| 500 | PROCESSING_FAILED | Conversion failed |
/v1/convert/pdf-to-powerpointcurl -X POST "https://api.morphopdf.com/v1/convert/pdf-to-powerpoint?format=binary" \
-H "Authorization: Bearer YOUR_API_KEY" \
-F "file=@document.pdf" \
--output presentation.pptx{
"success": true,
"message": "File processed successfully",
"fileName": "document.pptx",
"downloadUrl": "https://files.morphopdf.com/sessions/abc123/output/document.pptx?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&...",
"slideCount": 15,
"method": "pdf2pptx",
"processingTimeMs": 3200
}