Skip to content

Alternatives

Moving off DocRaptor

An HTML-to-PDF API built on PrinceXML, a CSS-to-PDF converter rather than a browser engine, with a JavaScript preprocessing step in front of it. Prince has been doing paged media since 2003 and is very good at it.

Why teams move

  • Not the usual reason. DocRaptor is not a headless browser with an endpoint bolted on, and most of the arguments against that pattern do not apply to it — anyone comparing on rendering quality alone will find little to separate the two.
  • The difference is what you author. A document here is HTML and CSS, so changing how an invoice looks means editing a stylesheet, and the people who care most about that are rarely the ones comfortable doing it.
  • There is no schema. The contract between your data and the document is whatever your templating layer happens to produce, so a missing field is discovered when the PDF looks wrong rather than when the request is rejected.
  • Paged-media CSS is a specialist skill. `@page`, named page regions and break control are genuinely capable in Prince, and genuinely unlike the CSS most developers write day to day.

The checkable parts

Claims worth verifying rather than taking on trust — each links to its source, checked July 2026.

What is different here

A schema, not just a payload

Every template declares the shape of the data it accepts. Send the wrong thing and the request fails with an error naming the field, instead of rendering a document with a blank where a total should be.

Edited in plain English

Layout changes go through an assistant that reads and writes the template and its sample data, so adjusting a document does not require someone fluent in paged-media CSS.

Designs to start from

Over a hundred authored designs, each with a stated contract for how it behaves as data grows. The starting point is a working document rather than an empty stylesheet.

When to stay with DocRaptor

It is often the right answer. If any of these describe you, this is not a migration worth making.

  • You already have HTML and CSS documents that render correctly. Prince is excellent, and rewriting working templates to change vendor is a poor trade.
  • Your team is fluent in paged-media CSS and would rather hold the layout in code it fully controls.
  • You need PDF/UA accessibility or specific compliance certifications that DocRaptor publishes and this product does not.

What moving involves

  1. 1 The document is redrawn as a template with a schema rather than ported. The HTML is the specification, not the input.
  2. 2 Whatever your templating layer is handed — the context object behind the HTML — becomes the JSON body of a render request, usually with little change.
  3. 3 Worth piloting on one document before moving a suite. Where output quality is already good, the reason to move is authoring, and that is easier to judge on a real document than in the abstract.

The API reference covers authentication, the render call and error handling; the template gallery has designs to start from rather than a blank page.

Other migrations

Render one and compare

Free tier includes 2 templates and 50 watermarked PDF renders per month. No credit card required.

Start building free