Skip to content
Document rendering infrastructure for developers

Turn HTML into production-ready PDFs.

A simple API for rendering HTML and CSS into reliable, pixel-perfect PDFs. Built for developers.

REST API · Browser rendering · MCP included

invoice.html
<div class="invoice">
  <h1>Invoice #1042</h1>

  <p>Acme Inc.</p>

  <table>
    <tr>
      <td>Website development</td>
      <td>$899</td>
    </tr>
    <tr>
      <td>Hosting</td>
      <td>$350</td>
    </tr>
  </table>

  <strong>$1,249.00</strong>
</div>
Render →A4

Invoice #1042

Acme Inc.

Website development$899
Hosting$350
Total$1,249.00

API

One API call. That's it.

No PDF libraries. No layout engine to maintain. Just HTML, CSS and an API request.

  • One endpoint — send HTML, get back a PDF
  • No PDF-specific SDK or templating language to learn
  • The response is the finished file, ready to store or send
Request
curl https://api.tupsara.com/v1/pdf \
  -H "Authorization: Bearer pdf_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>Invoice #1042</h1>",
    "format": "A4"
  }'
Render →
Response200 OK
{
  "id": "a3f1c2e4-...",
  "status": "completed",
  "download_url": "https://.../a3f1c2e4-....pdf?X-Amz-...",
  "file_size_bytes": 18420,
  "render_duration_ms": 812
}

Why Tupsara

Stop fighting PDF libraries.

You already know how to build documents with HTML and CSS. Tupsara lets you use the same technologies to generate PDFs.

Traditional PDF generation

  1. Design
  2. PDF-specific layout
  3. Limited CSS
  4. Font issues
  5. Table issues
  6. Maintenance

Tupsara

HTMLCSS
TupsaraPDF

Capabilities

Everything you need to render documents

Simple API

Generate PDFs with a single HTTP request — send HTML, get back a finished document.

$ curl api.tupsara.com/v1/pdf -d '{ html }'

Full HTML & CSS

Use the web technologies you already know.

Browser rendering

Render documents using a real browser engine for reliable web layouts.

MCP included

Give AI agents the ability to generate production-ready documents.

Rendering engine

Your browser is already a great PDF renderer.

Tupsara uses browser-based rendering so your PDFs can use the same layout techniques you already use on the web.

render pipeline
Your HTML
Tupsara
HTMLCSSFontsSVGImages
PDF

Chromium is the initial rendering engine. Tupsara is designed to support multiple rendering engines over time.

Use cases

Built for documents your application already generates.

Invoices

Generate branded invoices automatically.

Reports

Turn application data and dashboards into printable reports.

Contracts

Generate dynamic documents from structured application data.

Certificates

Create branded certificates and documents at scale.

MCP

MCP included · No additional cost

Built for the agent era.

Give AI agents the ability to create real, production-ready documents.

generate_pdfget_pdf_joblist_pdf_jobsget_usagecreate_templatelist_my_templateslist_public_templatesget_template

Works with Claude Code, Claude Desktop, and the claude.ai connector. See the connection guide →

Claude · MCP
Claude│ MCP▼Tupsara│▼Production PDF
"Create a PDF invoice for Acme with the following line items..."
Document generateda3f1c2e4-...

Developer experience

Designed for developers.

Pick the interface that fits your stack — the underlying rendering call is identical.

  • Standard REST — call it from curl, JavaScript, or any HTTP client
  • The same rendering engine behind the REST API and the MCP server
  • No proprietary SDK to install — just HTTP and JSON
POST /v1/pdf HTTP/1.1
Host: api.tupsara.com
Authorization: Bearer pdf_live_...
Content-Type: application/json

{
  "html": "<h1>Invoice #1042</h1>",
  "format": "A4"
}
REST APIPDF Application
RendererChromium
StorageR2

Architecture

Designed like infrastructure.

  • Renderer agnostic
  • API first
  • Infrastructure ready
  • Built to scale

Why "Tupsara"

From clay tablets to digital documents.

Thousands of years ago, scribes recorded contracts, transactions and knowledge on clay tablets.

In ancient Mesopotamia, scribes were known as ṭupšarru.

Tupsara takes inspiration from that idea: a modern infrastructure layer for creating reliable documents.

Read the full story

FAQ

Frequently asked questions.

What can I render?

HTML + CSS into PDF.

Does Tupsara use Chromium?

The initial renderer is Chromium-based.

Do I need an SDK?

No. Tupsara is API-first and can be used with standard HTTP requests.

Can I generate invoices?

Yes. Any document that can be represented with HTML and CSS can be generated.

Does Tupsara support MCP?

Yes. MCP support is included at no additional cost.

Can I use custom fonts?

Support custom fonts where supported by the rendering environment.

Your HTML is already a document.

Give it a reliable way to become a PDF.