Last updated: June 08, 2026 · Updated quarterly to reflect current pricing and features.
Migration Guide · React PDF Library
Switching from React-pdf to RenderPix: A Step-by-Step Guide
June 08, 2026
5 min read
React PDF Library
Ready to switch from React-pdf to RenderPix? This guide walks through the API differences, code changes, and everything you need to complete the migration in under an hour.
Why migrate from React-pdf to RenderPix?
The most common reasons: lower pricing, native n8n/Make.com integration, batch rendering, or template variables. This guide covers the API differences and code changes needed to complete the migration.
API differences
React-pdf and RenderPix share the same core concept — send HTML, get an image — but the API design differs. RenderPix uses a single POST /v1/render endpoint with a JSON body. Authentication is via X-API-Key header.
Before (with React-pdf)
# React-pdf — typical request pattern
curl -X POST https://api.reactpdf.com/render \
-H "Authorization: Bearer YOUR_KEY" \
-d '{"html": "<div>Hello</div>", "width": 1200}'
After (with RenderPix)
# One API call. That's all.
curl -X POST https://renderpix.dev/v1/render \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"html": "<div style=\"width:1200px;height:630px;background:#0f0f0f;color:#fff;display:flex;align-items:center;justify-content:center;font-size:48px\">Hello, RenderPix</div>",
"width": 1200, "height": 630, "format": "png"
}' --output card.png
Migration checklist
- Sign up at renderpix.dev and get your API key from the dashboard
- Replace the API endpoint URL with
https://renderpix.dev/v1/render
- Switch authentication to
X-API-Key header
- Test with your existing HTML templates — no changes needed
- Update your n8n or Make.com workflow to use the RenderPix native node
- Cancel your React-pdf subscription once you've verified everything works
What stays the same
Your HTML templates work without modification. PNG, JPEG, and WebP output formats are all supported. Width and height parameters are identical.
Try RenderPix free — no credit card needed
100 renders/month on the free plan. Full HTML control. Native n8n node.
Get your free API key →
More about React-pdf
Compare other tools