Supported formats: .doc, .docx, .xls, .xlsx, .ppt, .pptx, .odt, .ods, .odp, .txt, .rtf, .html
Error:
Features
10+ Formats
Word, Excel, PowerPoint, HTML, and more
Layout Preserved
Fonts, images, and formatting maintained
Secure
Files auto-deleted after processing
Fast
Most conversions complete in under 20s
Browser-Based
No software installation required
REST API
Automate document-to-PDF conversion
API Reference
curl -X POST https://www.bastiantechnologies.com/api/pdf/convert-to-pdf \
-H "X-API-Key: your_api_key" \
-F "document=@document.docx"
curl https://www.bastiantechnologies.com/api/pdf/pdf-job/{jobId} \
-H "X-API-Key: your_api_key"
const fd = new FormData();
fd.append('document', file);
const { jobId } = await fetch('/api/pdf/convert-to-pdf', {
method: 'POST', headers: { 'X-API-Key': 'your_api_key' }, body: fd
}).then(r => r.json());
import requests
requests.post("https://www.bastiantechnologies.com/api/pdf/convert-to-pdf",
headers={"X-API-Key": "your_api_key"},
files={"document": open("doc.docx", "rb")})
URL: https://www.bastiantechnologies.com/api/pdf/convert-to-pdf
Body: document (binary file — any supported format)
FAQ
.doc, .docx (Word), .xls, .xlsx (Excel), .ppt, .pptx (PowerPoint), .odt, .ods, .odp (LibreOffice), .txt, .rtf, .html, and .htm files.
Yes. Embedded fonts and images are preserved in the output PDF. Fonts not embedded may be substituted with system alternatives.
Yes. All uploads use HTTPS and files are auto-deleted after processing. We never store or share your content.