Tailwind → Certificate PNG / PDF

Generate personalised certificates in bulk via API

Design one certificate template in Tailwind, then render a unique, named certificate for every graduate, attendee, or award recipient — triggered from your platform, not a spreadsheet.

A branded course completion certificate rendered via the API
certificate.png · 1400×990 · personalised per recipientrendered by the API
POST /api/v1/render · type: "tailwind" · format: "png" · dimensions: "1400x990"

Built for platforms that issue credentials at volume

One template, unlimited recipients

The name, date, course title, and score are just template variables. Swap them per request — the design, branding, and layout stay fixed in your codebase.

PNG for display, PDF for download

Render the same template as a PNG to show inside your platform and as a print-ready PDF for the recipient to download and keep — same endpoint, different format flag.

Triggered from your existing workflow

Call the API from your course completion webhook, your onboarding pipeline, or a nightly batch job — no third-party certificate tool to integrate or pay for separately.

How it works

  1. 1

    Design a certificate template in Tailwind

    Use your brand colors, logo, and typography. Placeholder values for recipient name, course, date, and score are just string variables you swap per request.

  2. 2

    POST with the recipient's details

    Inject the recipient's name and any other personalised fields into the template string before sending. Each request is independent and stateless.

    curl -X POST https://renderfy.io/api/v1/render \
      -H "Authorization: Bearer rfy_live_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "type": "tailwind",
        "content": "<div class=\"flex h-full flex-col items-center justify-center bg-white p-16\"><h1 class=\"text-5xl font-bold text-zinc-900\">Certificate of Completion</h1><p class=\"mt-6 text-2xl text-zinc-600\">Awarded to Jordan Ellis</p><p class=\"mt-2 text-lg text-zinc-500\">Advanced TypeScript · 14 July 2026</p></div>",
        "options": { "format": "png", "dimensions": "1400x990" }
      }' \
      --output certificate.png
  3. 3

    Store and deliver to the recipient

    Upload to object storage, attach to an automated email, or display inline in your platform — a standard PNG or PDF that works everywhere.

Frequently asked questions

Can I generate PDF certificates for printing?+

Yes. Use format: "pdf" instead of "png" in the request — the same Tailwind template renders as a print-ready PDF. A4 and Letter presets are available, or pass custom pixel dimensions.

How do I personalise each certificate with a different name?+

The content field is a plain string — interpolate the recipient's name, course title, date, and score using standard string templating in whatever language you're calling the API from. No special syntax required.

Can I include a logo or signature image on the certificate?+

Yes. Embed images as base64 data URIs inside the HTML, or reference a publicly accessible URL. Both work in the Tailwind/HTML renderer.

Is there a rate limit for bulk generation?+

Each request deducts credits from your balance — 1 credit per PNG/JPEG/WebP, 3 per PDF. There is no artificial rate cap; batch generation is limited only by your credit balance, which you can top up at any time.

More ways to use the API

Issue your first batch of certificates today

Sign up, mint an API key, and generate your first personalised certificate in under 5 minutes — 100 free credits included, no card needed.