This document template filler is a mail merge for Word files. Type placeholders like {{client_name}} or {{fee}} into a .docx template, drop it here, and fill the fields from a form or from a CSV with one row per document. It keeps your formatting, headers and footers, names each file from a pattern such as {{client_name}} - engagement letter, and downloads every document in one ZIP. Several templates can be filled together, and text, Markdown and HTML templates work too. It runs in your browser.
| Template text | CSV column | Result |
|---|---|---|
| Dear {{contact}}, | contact = Ms Patel | Dear Ms Patel, |
| Fee: {{fee}} | fee = £18,000 | Fee: £18,000 |
| {{client_address}} | a value with a line break | two lines in Word |
| {{missing}} | no column | kept or left blank (your choice) |
Write the document in Word and type placeholders in double curly braces, like {{client_name}}. Save it as .docx.
Yes. Only the placeholder text changes; styles, tables, headers, footers and images are copied as they are.
Word often breaks text into several runs. The filler reads whole paragraphs, so split placeholders are still found.
No. Use one template per variant, or put the variable text in a field.
No. Files are read and processed in your browser; nothing is sent to a server.
The DOCX is opened as a ZIP and its document, header, footer, footnote and endnote XML is scanned paragraph by paragraph for {{field}} placeholders, even where Word has split one placeholder across several formatting runs. Each value is written into the run where the placeholder starts, XML-escaped, with line breaks turned into Word line breaks; everything else in the file is copied unchanged. CSV columns are matched to field names loosely, and each row produces one document per template, named from a pattern and packed into a ZIP. Text, Markdown and HTML templates work the same way.