React Server Components
Natively parse the HTML output from RSCs or standard pages directly in your Next.js Route Handlers.
Serverless Optimized
No 50MB Chromium binaries crashing your Vercel edge functions. Just one lightweight REST API call.
Tailwind CSS & Fonts
Since we utilize real headless Chromium, your next/fonts, CSS grids, and Tailwind JIT compiler work flawlessly.
Protected Routes
Pass Bearer tokens natively through the API to generate PDFs of dashboards locked behind Clerk or NextAuth.
import { NextResponse } from 'next/server';
export async function POST(req) {
// Option 1: URL to PDF (Great for static/public Next.js pages)
const response = await fetch("https://api.pdfbridge.xyz/api/v1/convert", {
method: "POST",
headers: {
"x-api-key": `${process.env.PDFBRIDGE_API_KEY}`,
"Content-Type": "application/json"
},
body: JSON.stringify({
url: "https://your-nextjs-app.com/invoices/992",
options: {
format: "A4",
printBackground: true,
waitForNetworkIdle: true // Ensures Next.js hydration finishes
}
})
});
// Stream the PDF directly back to the client
return new NextResponse(response.body, {
headers: { "Content-Type": "application/pdf" }
});
}The Vercel-Native PDF Engine.
Don't compromise your Next.js architecture just to generate a PDF. Connect PDFBridge and reliably print complex layouts in milliseconds.
Disclaimer: Next.js and Vercel are registered trademarks of Vercel Inc. PDFBridge is an independent infrastructure provider and is not affiliated with, endorsed by, or sponsored by Vercel. Information reflects best practices as of 2026.