---
title: "HTML to Word Document Step"
slug: "html-word-document-step"
description: "Convert HTML documents into Microsoft Word files using the HTML to Word Document step in a Flow."
tags: ["HTML", "Word"]
updated: 2026-06-26T13:53:39Z
published: 2026-06-26T13:53:39Z
canonical: "documentation.decisions.com/html-word-document-step"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt
> Use this file to discover all available pages before exploring further.
# HTML to Word Document Step
## Overview
The **HTML to Word Document** step converts an HTML document into a Microsoft Word document.
## Example
The following HTML code will be used in the example:
```markup
HTML to Word Document
My First Page
I am small - size 10
I am medium - size 20
I am large- size 50
```
In the above HTML document example, font sizes have been defined as 10px, 20px, and 50px. Microsoft Word measures size using "pt" instead of "px", this will result in a smaller font size within the document upon conversion. If an exact font size is desired when converting an HTML document to a Word document, the font size attribute should use "pt" instead of "px".
1. In a Designer Project, click CREATE FLOW to create a new [Flow](https://documentation.decisions.com/version-10/docs/creating-your-first-flow-2).
2. In the Toolbox panel, navigate to **DATA > MS WORD** category, drag an **Html to Word Document** step to the workspace and connect it to the **Start** step.
3. Attach a **Show Form** step from the Toolbox panel to the **Done** outcome path of the **Html to Word Document** step. In the Properties panel, click PICK OR CREATE FORM and create a new Form.
4. Configure the Form to have a **File Download** (OutputFileDocument) and a **Button** component. Click **Save** and close the Form Designer.
5. Connect the **Failed** path and the Done path to the **End** step. Select the HTML to Word Document step. On the Properties panel, enter "HTMLWord.docx" in the **File Name** field and paste the HTML code in the **HTML** field.
6. Select the Show Form step and change the input mapping for the **Output File Document** field from **Unknown** to **Flow Data**. Select **Doc File** and click DONE.
7. Click Save to save changes to the Flow.
## Debug
1. Select **Debug** from the top action bar.
2. Click START DEBUGGING.
3. Click **Download File.**

4. After the file downloads select it to open.
