Skip to main content
Use Doconda when you want to ask for the finished document with its PDF, also work with Excel, PowerPoint and PDF, or change existing files with an instruction instead of placeholders. Use docx (docx.js) when you want to generate Word files from JavaScript or TypeScript with a declarative API, for free and even in the browser.

Comparison

When to use docx

  • You want a free, open source dependency with no accounts or API keys.
  • You need to generate the Word file in the user’s browser, without a server.
  • Your document has a known structure and you prefer to describe every element in code.
  • You already have templates with {{placeholders}} and only need to fill them.

When to use Doconda

  • You want the finished document from text or a sentence, without maintaining layout code.
  • You need the PDF, or Excel, PowerPoint and PDF too.
  • You have to edit files you didn’t prepare (no placeholders), for example “change the signing date and add a clause”, and want new content to follow the document’s formatting.
  • An AI agent uses it: the TypeScript SDK ships the tools ready for function calling.

Use them together

docx fits fixed documents generated in the browser; Doconda fits documents that change with what the user asks for. You can also generate a Word file with docx and send it to Doconda to convert it to PDF, free for the first 1,000 conversions each month. Both install from npm (npm install docx, npm install @doconda/sdk).

Sources

Create a document

From a sentence or your Markdown, with its PDF.

Edit a file

Change what you ask for and keep the rest.

Convert a file

Word to PDF, Markdown and more, with no AI.

TypeScript SDK

Install @doconda/sdk and its agent tools.