---
title: "TurboDocx Open Source: HTML to DOCX, SDKs, Salesforce"
description: "TurboDocx open source projects, all MIT licensed: the @turbodocx/html-to-docx converter, e-signature SDKs in six languages, and TurboSign for Salesforce."
url: "https://www.turbodocx.com/products/open-source"
---

# 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.

MIT-licensed open source. 1M+ npm downloads a month and 234 GitHub stars for html-to-docx (checked November 2026).

## Agentic Quickstart Skill

Skip the boilerplate: your AI coding agent writes the integration. Install with:

```bash
npx skills add TurboDocx/quickstart
```

[How it works](https://www.turbodocx.com/quickstart.md)

## html-to-docx

Package: `@turbodocx/html-to-docx`

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.

| Stat | Value |
| --- | --- |
| Monthly downloads | 1M+ |
| GitHub stars | 234 |
| Forks | 47 |

- Lightning fast, no browser automation
- Used in production by TurboDocx itself
- Full TypeScript support
- Actively maintained & supported

```bash
npm install @turbodocx/html-to-docx
```

- [View Docs](https://github.com/turbodocx/html-to-docx)
- [npm](https://www.npmjs.com/package/@turbodocx/html-to-docx)

## n8n Nodes

Verified n8n Community Node: `@turbodocx/n8n-nodes-turbodocx`

Generate 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](https://www.turbodocx.com/integrations/n8n.md).

Available on npm.

- TurboSign digital signatures
- Automate signature workflows
- Open source & community driven
- Works with 400+ n8n apps

Current features: TurboSign, Signature Requests, Document Tracking, Audit Trails.

- [View on GitHub](https://github.com/turbodocx/n8n-nodes-turbodocx)
- [npm](https://www.npmjs.com/package/@turbodocx/n8n-nodes-turbodocx)

## embed

Package: `@turbodocx/embed`

Put 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.

- [React how-to](https://www.turbodocx.com/guides/embed-esignature-in-react.md)
- [GitHub](https://github.com/TurboDocx/SDK/tree/main/packages/embed)

## Open source e-signature SDK

Repository: `TurboDocx/SDK`

Client 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.

| Language | Install |
| --- | --- |
| JavaScript / TypeScript | `npm install @turbodocx/sdk` |
| Python | `pip install turbodocx-sdk` |
| PHP | `composer require turbodocx/sdk` |
| Go | `go get github.com/TurboDocx/SDK/packages/go-sdk` |
| Java | `com.turbodocx:turbodocx-sdk` |
| Ruby | `gem install turbodocx-sdk` |

- [View on GitHub](https://github.com/TurboDocx/SDK)
- [API and SDK docs](https://www.turbodocx.com/products/api-and-sdk.md)

## Open source Salesforce document generation

Repository: `TurboDocx/turbodocx-salesforce`

TurboSign 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](https://www.turbodocx.com/integrations/salesforce-esignature.md).

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.

- [View on GitHub](https://github.com/TurboDocx/turbodocx-salesforce)
- [See plans](https://www.turbodocx.com/pricing.md)

## 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](https://www.turbodocx.com/pricing.md) for limits.

## Need More Power? 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.

- Auto-scaling hosted API
- Embed seamlessly in your app
- Webhooks, SDKs, and advanced features
- Enterprise security & audit logs

Example (`generate-document.ts`):

```typescript
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}' } }]
});
```

[Explore API Platform](https://www.turbodocx.com/products/api-and-sdk.md)

## 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 startups, scale-ups, and enterprises.

- [View All Projects](https://github.com/turbodocx)
- [Join Discord](https://discord.gg/NYKwz4BcpX)

## 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.
