Use the PSPDFKit for Web SDK and Document Engine to programmatically convert an Office file to a PDF.
View and use all our components as you would with any PDF.
Save the PDF or share it with others.
PSPDFKit converts Office documents to PDF, facilitates editing, and enables document generation — all in your app. Our SDK converts Word, PowerPoint, and Excel files into PDF/PDF-A, while also supporting document generation from DOCX templates.
Generate Word or PDF files by automatically populating DOCX templates with data. Just upload a DOCX file containing placeholders and loops. Then input your data in JSON format, and you’ll receive a completed document.
Clone our public examples catalog from GitHub.