Skip to content

Convert anything from your code.

Official SDKs for nine languages. One function uploads, converts, waits and downloads, across 3,000+ conversions.

$ npm install @runconvert/sdk

Then set RUNCONVERT_API_KEY from Dashboard → API Keys. API conversions use credits.

One call, any format.

Give it a file path or a link and the format you want. The SDK uploads it, waits for the conversion and saves the result.

  • · Progress updates while it waits, if you want them
  • · Retries network errors, and never creates a job twice
  • · Clear errors, like BILLING_INSUFFICIENT_CREDITS
convert.mjs
import { RunConvert } from "@runconvert/sdk";

const rc = new RunConvert(); // reads RUNCONVERT_API_KEY

const { saved } = await rc.convert("report.docx", { to: "pdf", outDir: "out" });
✓ report.docx → out/report.pdf

Every language, same features.

Jobs, uploads, downloads, webhooks and the format list, in each SDK. Free and open source (MIT).

  • Convert in one call
  • Jobs and tasks
  • Uploads and downloads
  • Webhook verification
  • Clear errors
  • Safe retries

Another language? Use the REST API from any HTTP client, or the CLI in scripts.

Frequently asked questions

Pricing, API keys, formats and what happens when something fails.

Yes. The SDKs are free and open source under the MIT licence. Conversions made through them use credits from your RunConvert account, the same as the API.

Sign in, open Dashboard → API Keys and create a key. Save it as the RUNCONVERT_API_KEY environment variable and every SDK picks it up. Keep it on your server, never in browser or app code.

The same 240+ formats as the website: documents, images, video, audio, ebooks, archives, fonts and CAD, in 3,000+ conversions. Each SDK can list them for you.

Files are uploaded to RunConvert's servers to be converted and deleted within an hour, as on the website. The SDK downloads the results to the folder you choose.

Network errors, rate limits and server errors are retried automatically with backoff, and a conversion job is never created twice. Anything else comes back as a clear error with the API's code, such as BILLING_INSUFFICIENT_CREDITS.

Pick a language. Convert something great.

Like RunConvert? Set us as a preferred source on Google.

Add to Preferred Sources