TurboDocx
Open Source
An open source HTML to DOCX converter, SDKs in 6 languages and a Salesforce package, all under the MIT license. Read the code, fork it, and ship it in commercial projects. Built and maintained by TurboDocx.
An open source HTML to DOCX converter for Node.js and the browser. Pass it an HTML string and get a Word file back, with no headless browser, Puppeteer or LibreOffice. TurboDocx maintains it, building on the original privateOmega/html-to-docx project. No TurboDocx account needed.
npm install @turbodocx/html-to-docxGenerate documents, send TurboSign e-signatures, and build TurboQuote quotes in your n8n workflows. A verified n8n community node, installable directly on n8n Cloud. See the integration.
Current Features
embed
@turbodocx/embedPut TurboSign signing inside your own app: a React component, a framework-agnostic web component, and an origin-pinned message handler that fails closed. MIT licensed.
Open source e-signature SDK
TurboDocx/SDKClient libraries for the TurboDocx API: send documents for signature with TurboSign, generate documents from templates, build quotes, manage partner organizations and verify webhooks. The SDK code is MIT licensed. The service it talks to is hosted by TurboDocx, so you need an API key, and a free account can create one with 5 signature documents a month.
npm install @turbodocx/sdkpip install turbodocx-sdkcomposer require turbodocx/sdkgo get github.com/TurboDocx/SDK/packages/go-sdkcom.turbodocx:turbodocx-sdkgem install turbodocx-sdkOpen source Salesforce document generation
TurboDocx/turbodocx-salesforceTurboSign for Salesforce is an unlocked package written in Apex and Lightning web components. From any record, a rep picks a TurboDocx template, the package fills it with that record's field values, and sends the document for signature. Signature status is written back onto the record. See the TurboSign for Salesforce product page.
It runs on Salesforce editions that allow custom Apex: Enterprise, Unlimited, Performance and Developer Edition, plus their sandboxes. Generation and signing happen on the TurboDocx API, and saving the signed file back to the record uses the Salesforce connection on the Pro and Enterprise plans.
What is open source, and what is not
We open source the code that runs on your side. The services behind it are not open source, including TurboSign, our e-signature product. TurboDocx hosts it for you, and on the Enterprise plan you can self-host it for an additional fee. Checked November 2026.
| Open source (MIT) | Hosted by TurboDocx |
|---|---|
| html-to-docx: the whole converter runs in your code, with no TurboDocx account. | Template generation, AI features and quoting run on the TurboDocx API. |
| The SDKs in TypeScript, Python, PHP, Go, Java, Ruby, plus the embed package. | TurboSign, the e-signature service the SDKs call. It is not open source; TurboDocx hosts it, or Enterprise customers self-host it for an additional fee. |
| TurboSign for Salesforce: the Apex classes, Lightning web components and setup screens. | Document generation and signing, which the package calls through your TurboDocx API key. |
The hosted side has a free plan. See pricing for limits, or start at www.turbodocx.com.
Scale with Our REST API & SDKs
Love our open source tools? Get enterprise features, embeddable workflows, and dedicated support with our REST API and SDKs platform.
import { TurboSign } from '@turbodocx/sdk';
// Configure SDK with your credentials
TurboSign.configure({
apiKey: process.env.TURBODOCX_API_KEY,
orgId: process.env.TURBODOCX_ORG_ID,
});
// Send for signature using template tags
const result = await TurboSign.sendSignature({
fileLink: 'https://example.com/contract.pdf',
documentName: 'Service Agreement',
recipients: [{ name: 'John Doe', email: 'john@acme.com' }],
fields: [{ type: 'signature', template: { anchor: '{SignHere}' } }]
});Join Our Open Source Community
html-to-docx, the SDKs and TurboSign for Salesforce are MIT licensed and maintained by TurboDocx. Open an issue, send a pull request, or ask a question on Discord.
Trusted by developers at
TurboDocx open source FAQ
Is TurboSign open source?
No. TurboSign, the TurboDocx e-signature service, is not open source. TurboDocx hosts it for you, and Enterprise customers can self-host it for an additional fee. What is open source is the code you run on your side: the html-to-docx converter, the SDKs that call the TurboDocx API, the embed package and the TurboSign for Salesforce package.
Is there an open source HTML to DOCX converter for Node.js?
Yes. @turbodocx/html-to-docx is MIT licensed and turns an HTML string into a Word .docx file in Node.js or the browser, with no headless browser or LibreOffice. Install it with npm install @turbodocx/html-to-docx. It needs no TurboDocx account.
Do the open source SDKs need a TurboDocx account?
Yes. The SDK code is MIT licensed, but it calls the hosted TurboDocx API, so you need an API key. A free account can create one and send 5 signature documents a month through the API, and API signatures beyond that start at $0.30 each with no minimums. The SDKs cover TypeScript, Python, PHP, Go, Java, Ruby.
What license do the TurboDocx open source projects use?
The MIT license. html-to-docx, the SDK repository (which includes the embed package) and TurboSign for Salesforce each ship an MIT LICENSE file on GitHub, so you can use, modify and redistribute them in commercial projects.