Templates that live in Word.
Filled by code.

Mark the words that change in a DOCX you already have. Fillwright turns them into Word's own content controls and fills them from your application. The document stays a document.

Source: AGPL-3.0-only. Open, edit and download without an account.

Experimental: creating new fields can change font formatting in the published engine. The DOCX engine has separate proprietary terms.

Opening the example document…

Try it here.

Type a value. Watch it change in the document.

Real Word content controls, filled through SuperDoc.Demo values stay in this browser.

Three things, in order

01

Mark

Open a DOCX in the studio. Select the words that change from one copy to the next and give them a name. That is the whole gesture.

02

Try

Type a value and watch it land in the document while you type. What you see is the real content control, in the real file.

03

Fill

Copy the call. Your code fills the same fields by name. Server-generated documents are reopened and checked before download.

No syntax in your document.

Fillwright uses Word-native content controls instead of a placeholder syntax. Your document contains named fields that your application can fill.

The people who own the words keep owning the file. Your code addresses fields by name.

import { fillDocx } from "@fillwright/docx/fill";

const output = await fillDocx(templateBytes, fields, {
  "client.name": "Northwind Traders",
  "project.description": "A design study",
  "payment.terms": "Due on completion",
});

// Verified DOCX bytes. Local workspace package.

What it does today

  • Plain-text fields inside one paragraph, created from a selection or adopted from controls already tagged in Word.
  • Fill by name from Node or HTTP. Server-generated downloads are reopened and verified.
  • Real DOCX out. Keep template fields or remove their wrappers from the finished document.

What it does not do

  • It does not sign or send. Pass your DOCX to the next step in your workflow.
  • No loops, conditions, or repeating sections yet.
  • The public demo runs in your browser. Studio drafts are processed temporarily on the server. Download work you want to keep.
  • Built with SuperDoc for DOCX editing and filling.

Try it with your own document.

Open a DOCX, mark the fields, and fill it. No account needed.