Hosted API · Self-hosted Docker · One contract
HTML to PDF conversion API — hosted or on your own infrastructure
Convert HTML, Word, Excel, RTF and Markdown to PDF, render HTML to images, build, edit and merge PDFs — one API, one credit per document.
Get started free View pricing100 free conversions every month. No credit card. The same request works against the hosted API and your own container.
curl -X POST https://api.rendarium.com/convert/html \
-H "Authorization: Bearer rnd_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"html": "<h1>Invoice #1024</h1>"}' \
--output invoice.pdfusing var http = new HttpClient();
http.DefaultRequestHeaders.Authorization = new("Bearer", "rnd_live_YOUR_KEY");
var body = JsonContent.Create(new { html = "<h1>Invoice #1024</h1>" });
var response = await http.PostAsync(
"https://api.rendarium.com/convert/html", body);
await File.WriteAllBytesAsync("invoice.pdf",
await response.Content.ReadAsByteArrayAsync());import requests
response = requests.post(
"https://api.rendarium.com/convert/html",
headers={"Authorization": "Bearer rnd_live_YOUR_KEY"},
json={"html": "<h1>Invoice #1024</h1>"},
)
open("invoice.pdf", "wb").write(response.content)var request = HttpRequest.newBuilder()
.uri(URI.create("https://api.rendarium.com/convert/html"))
.header("Authorization", "Bearer rnd_live_YOUR_KEY")
.header("Content-Type", "application/json")
.POST(HttpRequest.BodyPublishers.ofString(
"{\"html\": \"<h1>Invoice #1024</h1>\"}"))
.build();
HttpClient.newHttpClient().send(request,
HttpResponse.BodyHandlers.ofFile(Path.of("invoice.pdf")));const response = await fetch("https://api.rendarium.com/convert/html", {
method: "POST",
headers: {
"Authorization": "Bearer rnd_live_YOUR_KEY",
"Content-Type": "application/json",
},
body: JSON.stringify({ html: "<h1>Invoice #1024</h1>" }),
});
await fs.writeFile("invoice.pdf", Buffer.from(await response.arrayBuffer()));Hosted API
- No infrastructure to run — call
api.rendarium.com, get your PDF - EU data region; documents are processed in memory and never stored
- Credit-based plans: one credit per successful document, failures never charged
- Start free — 100 conversions every month
Self-hosted Docker
- The same engine as a container on your servers, any cloud or on-premises
- No data ever leaves your network — no metering, no phone-home
- Perpetual license with calendar versioning: every release you own works forever
- Try it without a key: full engine, watermarked output
How it works
Get a keyCreate an account and copy your API key — shown once, stored only as a hash. Self-hosting? Generate keys inside your container.
Send HTMLPOST your HTML, URL or document to the API with the key as a Bearer token. Any language, any HTTP client.
Receive PDFThe response body is your finished document. One successful document, one credit.
One API, twelve operations
Every operation follows the same pattern: one request in, one document out, one credit per success. Failures are never charged.
HTML to PDFPixel-accurate rendering with a modern Chromium engine: CSS, web fonts, JavaScript, headers, footers and page numbers.URL to PDFPoint at any public page and get a print-quality PDF back, cookies and custom headers included.HTML to ImageCapture HTML or a URL as PNG, JPEG or WebP at any viewport size.Word to PDFDOCX conversion with faithful layout, fonts, tables and images.Excel to PDFXLSX workbooks to paged, printable documents, sheet by sheet.RTF to PDFRich Text Format documents converted in one call.Markdown to PDFREADMEs, docs and release notes straight to shareable PDFs.PDF BuilderCompose a document from commands: text, HTML templates, images and shapes at exact positions.PDF EditStamp, watermark, add headers and footers, set metadata and security on existing PDFs.PDF MergeCombine documents into one, in the order you send them.Text MeasureMeasure text and HTML templates before rendering, so layouts fit on the first try. Free.Async JobsSubmit large workloads and poll for the result instead of holding a connection open.
Built by a team that has shipped PDF components for over 15 years
Rendarium is the service edition of a rendering engine used in production by thousands of .NET applications — the same Chromium-based HTML rendering, PDF/UA and PDF/A output, Word, Excel, RTF and Markdown conversion, now exposed as a REST API and a Docker image for any language and platform.
Start with 100 free conversions a month
No credit card, no trial clock. Upgrade when your documents do.
Create a free account