Convert URLs & HTML
to PDF in Seconds
Professional PDF conversion API with custom styling, watermarks, and JavaScript rendering. Perfect for generating reports, invoices, and documents at scale.
curl -X POST https://api.pdfrise.com/v1/convert \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com",
"format": "A4",
"orientation": "portrait"
}'
import requests
response = requests.post(
'https://api.pdfrise.com/v1/convert',
headers={
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
json={
'url': 'https://example.com',
'format': 'A4',
'orientation': 'portrait'
}
)
pdf_url = response.json()['pdf_url']
const axios = require('axios');
const response = await axios.post(
'https://api.pdfrise.com/v1/convert',
{
url: 'https://example.com',
format: 'A4',
orientation: 'portrait'
},
{
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
}
);
const pdfUrl = response.data.pdf_url;
<?php
$ch = curl_init('https://api.pdfrise.com/v1/convert');
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode([
'url' => 'https://example.com',
'format' => 'A4',
'orientation' => 'portrait'
]));
curl_setopt($ch, CURLOPT_HTTPHEADER, [
'Authorization: Bearer YOUR_API_KEY',
'Content-Type: application/json'
]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$result = json_decode($response);
$pdfUrl = $result->pdf_url;
Powerful Features for Every Use Case
From simple URL conversion to complex document generation, our API handles it all with enterprise-grade reliability.
Lightning Fast
Convert URLs to PDF in under 2 seconds with our optimized rendering engine and global CDN infrastructure.
Custom Styling
Full control over PDF appearance with custom CSS, headers, footers, watermarks, and page formatting options.
JavaScript Support
Render dynamic content with full JavaScript execution, including modern frameworks and interactive elements.
Enterprise Security
SOC 2 compliant with end-to-end encryption, secure API keys, and comprehensive audit logging.
Auto Scaling
Handle traffic spikes effortlessly with automatic scaling from single requests to millions per day.
Global Infrastructure
Low-latency PDF generation worldwide with edge servers in 150+ countries and regions.
How It Works
Get started with PDFRise in just a few simple steps. No complex setup or infrastructure management required.
1. Get API Key
Sign up for free and get your API key instantly. No credit card required for the trial.
2. Send Request
Make a simple POST request with your URL or HTML content and conversion options.
3. Get PDF
Receive a high-quality PDF instantly via URL or webhook. Ready to download or stream to users.
Simple, Credit-Based Pricing
Start for free with 50 credits per month. Upgrade based on your needs with transparent overage pricing.
Free
- 2MB file limit
- Basic CSS/JS injection
- Email support
- No overage
Startup
- 5MB file limit
- Advanced features
- Priority support
- $0.04 overage
Boost
- 5MB file limit
- Webhooks
- Priority support
- $0.03 overage
Enterprise
- Unlimited size
- Custom SLA
- On-premise
- Volume discounts
Credit System
1 credit per 5MB chunk
Credits never expire
Transparent Overage
Clear per-credit pricing
No surprise bills
Scale Easily
Upgrade or downgrade
anytime
Frequently Asked Questions
Everything you need to know about PDFRise and our API.
Ready to Get Started?
Join thousands of developers using PDFRise to generate high-quality PDFs at scale. Start your free trial today.