--- title: "Replace Text in a Word Document" slug: "replace-bookmarks-text" updated: 2025-07-09T15:38:28Z published: 2025-07-09T15:38:28Z canonical: "documentation.decisions.com/replace-bookmarks-text" --- > ## 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. # Replace Text in a Word Document | ## Step Details | | --- | | **Introduced in Version** | --- | | **Modified in Version** | --- | | **Location** | Data > MS Word | The **Replace Text in a Word Document** step gets bookmarks or tokens from a Word Document, replaces them with the specified text, and returns an updated Word file. Note on Word Document Files Word Documents created using an online or external document processor (such as Word 365 or Google Docs) other than Microsoft Word are incompatible for use with the Replace Text Workflow steps. Failure to use a Word-generated document will result in unexpected results and failure to apply the specified changes.  --- ## Properties #### Configuration | Property | Description | Data Type | | --- | --- | --- | | Replace Mode | Allows the user to select whether to look for a Bookmark or Token in the document | --- | | Bookmark | Searches for Bookmarks | --- | | Token | Searches for Tokens | --- | | Get Document From Inputs | Allows the user to specify the Bookmarks/Tokens in a specified file to replace | --- | | Merge Phrase List | Allows the user to specify a list of Document Phrases (Name and Text values) | List of Document Phrase | | Pick Document File | Input Word Document file | File | #### Replace Tokens | Property | Description | Data Type | | --- | --- | --- | | Start of Token | Specifies the start of a token | --- | | End Of Token | Specifies the end of a token | --- | | Match Case | Matches the case of the Token | --- | | Replace Token with HTML Text | Allows a user to replace the Token with HTML text | --- | #### Replace Bookmarks | Property | Description | Data Type | | --- | --- | --- | | Replace Every Instance | Allows the user to replace every instance of a bookmark | --- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Done | | | Output Document File | Updated document file | File Data | | Failed | | | Error Message | Error message | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/image-1666369282015.png) --- Related Information Forum Posts: [Creating a Word Document From Flow](https://community.decisions.com/discussion/2874/creating-a-word-document-from-flow) [How To Replace File Name For “Replace Text In Word](https://community.decisions.com/discussion/3232/how-to-replace-file-name-for-replace-text-in-word)