Documents & Forms
Microsoft 365 & SharePoint Tools
Classic SharePoint Tools

Generate PDF documents from DOCX or HTML template


Automatically generate PDF documents from HTML or DOCX (Word) templates. You can apply your own data to a template. Use DOCX templates and rich template syntax in HTML to do this.

For example, you can generate PDF hiring contract from a template:


Use Microsoft Flow, Logic Apps or REST API to apply your data to a template.

Microsoft Flow

Set up Microsoft Flow connector in a few minutes. You will have a few new actions in your flows that can be used to work with documents.

We prepared two articles to demonstrate how it works:


Follow a few simple steps to get started and receive API key. You can find detailed information about all available operations in API specification. Then you can proceed to the generation of PDF documents with the help of any language including C#, Python, JavaScript, Ruby.