GrabzIt's DOCX API makes it easy to convert HTML and web pages into the Microsoft Word file format. This HTML to DOCX and URL to DOCX service uses a browser to render the HTML first as a web page. This then helps to generate more accurate conversions when creating the Word documents.
As you can see in the demo. The HTML to DOCX API will allow a developer to convert any HTML into an editable word document. Of course, HTML pages are not directly equivalent to Word docs. As some features of HTML, such as background images, do not translate well into DOCX files. To overcome these problems there are additional options to restrict what features are converted into a DOCX.
Additional features include...
Why would you want to create Word documents over something like PDF? The main advantage of that DOCX file type is that it is both an open format and can be easily edited. Which is a common requirement in many apps. One such example would be to create a report or invoice template for the user to edit.
After testing the rendering of our URL to DOCX and HTML to DOCX services. We are confident our HTML converter is providing the best DOCX conversions available today.
The demo code below demonstrates how simple it is to create a Word document from HTML using GrabzIt's RESTful API.
-d key=Sign in to view your Application Key
If you need to convert a web page to DOCX then GrabzIt's URL to DOCX API is what you need. This API will convert any webpage to DOCX using our network of globally positioned servers to generate Word documents as quickly as possible.
It is also easy to create a Word document from a webpage using our RESTful API, just specify the URL you want to convert, as shown below.
https://api.grabz.it/services/convert.ashx?key=Sign in to view your Application Key&format=docx&url=https%3A%2F%2Fwww.tesla.com
If you would like to know more about how GrabzIt converts HTML into DOCX read this guide on supported CSS attributes.