Skip to main content

URL to PDF API
Convert a Web Page to PDF

Save a web page as a PDF with a single API request. Chrome renders JavaScript apps and dashboards while preserving your layout, web fonts, and selectable text. 50 free conversions per month. No credit card required. EU‑based processing.

Get Started FreeJoin with Google

2M+

PDFs Generated

2K+

Developers

99.9%

Uptime SLA

< 5min

Quick Setup

URL to PDF in One API Call

No headless browsers to set up or maintain. Just send a URL and get a PDF back.
PDFBolt handles Chrome rendering and scales automatically when traffic spikes.

Full-Page Chrome Rendering

Every URL renders in a real Chrome instance with CSS3, web fonts, and JavaScript. The output is a fully rendered PDF that preserves responsive layouts as they appear in the browser. Configure the viewport for mobile or desktop emulation.

Developer-Friendly API

Convert a URL to PDF with the Direct, Sync, or Async endpoint. Get started with our REST examples or official SDKs for Node.js, Python, and PHP. AI assistants can convert web pages through our MCP server.

Privacy-First Processing

PDFBolt converts web pages on EU‑based servers and supports GDPR-compliant workflows. For control over who can access your PDFs and how long you keep them, send them directly to your own S3-compatible bucket.

Built to Scale

99.9% uptime SLA with auto‑scaling infrastructure. Fast conversions whether you convert 10 or 10,000 web pages to PDF a day. No headless browsers to install or maintain on your servers.

Transparent Pricing

Start with 50 free conversions per month, no credit card required. Upgrade to a paid plan when you need more. No hidden fees. Only successful conversions count toward your usage.

Bulk URL Conversion

Convert URLs to PDF in bulk for web archives, scheduled jobs, or serverless workflows. Send each URL to the Async endpoint. When a PDF is ready, PDFBolt sends the result to your webhook.

Three URL to PDF API Endpoints

Direct returns the PDF in the response, Sync returns a download link, and Async sends the result to your webhook.
All three use the same Chrome engine and support the same PDF customization options.

Direct Endpoint

Send a URL in a single HTTPS request and get the PDF directly in the response. Your users can then download the file or preview it in your app.

Sync Endpoint

Get a PDF download link valid for 24 hours, or have PDFBolt upload the file to your own S3‑compatible bucket.

Async Endpoint

PDFBolt processes each URL in the background and sends the result to your webhook as HMAC‑signed JSON. Ideal for batch jobs.

URL to PDF Code Examples

Use the official Node.js SDK, Python SDK, or PHP SDK, or explore REST examples for Java, C#, Go, Rust, and cURL.
Choose the Direct, Sync, or Async endpoint and copy the code to convert a web page to PDF. Quick Start

endpoints
const fs = require('fs');

async function generatePdf() {
    const response = await fetch('https://api.pdfbolt.com/v1/direct', {
        method: 'POST',
        headers: {
            'API-KEY': 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify({
            url: "https://example.com",
            format: "A4",
            printBackground: true
        })
    });

    if (!response.ok) {
        const errorText = await response.text();
        throw new Error(`HTTP ${response.status} - ${errorText}`);
    }

    const pdfBuffer = await response.arrayBuffer();
    fs.writeFileSync('webpage.pdf', Buffer.from(pdfBuffer));
    console.log('PDF generated successfully');
}

generatePdf().catch(console.error);

Save Web Pages as PDFs Automatically

Add URL to PDF conversion to your n8n, Make, or Zapier workflows.
Follow the step‑by‑step guide for your platform to connect PDFBolt and generate PDFs.

n8n

PDF Templates for Recurring Documents

Save an existing web page as a PDF, or use a template for invoices, reports, and other recurring documents.
Design the layout once, then send the template ID and your JSON data to generate each PDF.

Visual Template Designer

Design HTML/CSS layouts with real‑time preview, syntax highlighting, and error detection. Test with actual PDF generation.

Modern invoice PDF template with QR code

Build Templates with AI

Skip the coding. Describe your layout and add reference files if you have them.
AI generates a complete HTML template with sample data so you can preview and edit it before publishing.

Start with a Prompt

Describe your layout and fields. You can attach PDFs, images, or code as references.

AI Generates Code & Data

AI creates a complete HTML/CSS template with Handlebars variables and sample data.

Edit with AI Assist

Request changes to the layout, fields, or styling. AI handles the code updates.

Review & Accept

Review the code diff and PDF previews, then accept or reject the changes.

Get API Code

Copy a code example in your preferred language to generate PDFs from your template.

Generate Template with AI

5 generations left

Describe the template you want to create. Be specific about layout, styling, and data fields.

0 / 10,000 characters

Drag & drop, click to browse, or paste (Ctrl+V)

PDF, PNG, JPG, JPEG, SVG, TXT, HTML, HTM, CSS, JS, JSON (max 5 files, 5 MB total)

0 KB / 5 MB

Cancel
Back
Generate with AI
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
Invoice Template Preview
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
5
<style>
6
body { font-family: Inter, sans-serif; }
7
.invoice-title { color: #0C8AE5; font-size: 48px; }
8
.billing-section { display: flex; gap: 30px; }
9
.billing-column { border-left: 3px solid #0C8AE5; }
10
.items-table { background: #0C8AE5; color: white; }
11
.total-final { background: #0C8AE5; }
12
</style>
13
</head>
14
<body>
15
<div class="header">
16
<div class="logo">{{company.logo}}</div>
17
<div class="invoice-title">INVOICE</div>
18
</div>
19
<div class="invoice-meta">
20
<p>Invoice No: {{invoice_number}}</p>
21
<p>Issue Date: {{issue_date}}</p>
22
</div>
23
<div class="billing-section">
24
<div class="billing-column">
25
<h3>Bill From</h3>
26
<p>{{company.name}}</p>
27
</div>
28
<div class="billing-column">
29
<h3>Bill To</h3>
30
<p>{{client.name}}</p>
31
</div>
32
</div>
33
<table class="items-table">
34
{{#each items}}
35
<tr><td>{{description}}</td><td>{{total}}</td></tr>
36
{{/each}}
37
</table>
38
<div class="totals">
39
<div class="totals-row">Subtotal: {{subtotal}}</div>
40
<div class="totals-row">Tax: {{tax_amount}}</div>
41
<div class="totals-row total-final">Total: {{total}}</div>
42
</div>
43
</body>
44
</html>
Invoice Template Preview

AI Assistant

4 generations left
This will use 1 AI generation. Your template and sample data will be updated based on your instructions.

Describe what you want to change:

Thinking

0 / 10,000 characters

Drag & drop, click to browse, or paste (Ctrl+V)

PDF, PNG, JPG, JPEG, SVG, TXT, HTML, HTM, CSS, JS, JSON (max 5 files, 5 MB total)

Cancel
Prepare Changes

Review AI Changes

Code
PDF Preview
Template
Data
Parameters
Before
4
<style>
5
body { font-family: Inter; }
6
.invoice-title { color: #1e40af; }
7
.header { padding: 20px; }
8
.billing-section { margin: 30px 0; }
9
.items-table { background: #1e40af; }
10
.total { background: #1e40af; }
11
</style>
12
</head>
13
<body>
14
<div class="invoice">
15
<div class="header">
After
4
<style>
5
body { font-family: Inter; }
6
.invoice-title { color: #145E6D; }
7
.header { padding: 20px; }
8
.billing-section { margin: 30px 0; }
9
.items-table { background: #145E6D; }
10
.total { background: #145E6D; }
11
.qr-code { display: flex; }
12
.qr-label { color: #6b7280; }
13
</style>
14
</head>
15
<body>
16
<div class="invoice">
17
<div class="header">

Before (Current)

1

/

1

Before (Current)

After (AI-edited)

1

/

1

After (AI-edited)
Reject
Accept
Template
Data
Options

Invoice Template

History
Save
Publish
Exit
Get API Code
Quick HTML Preview
Real PDF Preview
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
<link href="https://fonts.googleapis.com/css2?family=Inter&display=swap" rel="stylesheet">
5
<style>
6
body { font-family: Inter, sans-serif; }
7
.invoice-title { color: #0C8AE5; font-size: 48px; }
8
.billing-section { display: flex; gap: 30px; }
9
.billing-column { border-left: 3px solid #0C8AE5; }
10
.items-table { background: #0C8AE5; color: white; }
11
.total-final { background: #0C8AE5; }
12
</style>
13
</head>
14
<body>
15
<div class="header">
16
<div class="logo">{{company.logo}}</div>
17
<div class="invoice-title">INVOICE</div>
18
</div>
19
<div class="invoice-meta">
20
<p>Invoice No: {{invoice_number}}</p>
21
<p>Issue Date: {{issue_date}}</p>
22
</div>
23
<div class="billing-section">
24
<div class="billing-column">
25
<h3>Bill From</h3>
26
<p>{{company.name}}</p>
27
</div>
28
<div class="billing-column">
29
<h3>Bill To</h3>
30
<p>{{client.name}}</p>
31
</div>
32
</div>
33
<table class="items-table">
34
{{#each items}}
35
<tr><td>{{description}}</td><td>{{total}}</td></tr>
36
{{/each}}
37
</table>
38
<div class="totals">
39
<div class="totals-row">Subtotal: {{subtotal}}</div>
40
<div class="totals-row">Tax: {{tax_amount}}</div>
41
<div class="totals-row total-final">Total: {{total}}</div>
42
</div>
43
</body>
44
</html>
Invoice Template Preview

API Integration: Invoice

Use the following code examples to generate PDFs using this template through our API.

NODE FETCH
NODE AXIOS
PYTHON
CURL
JAVA
C#
PHP
GO
RUST
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
const fs = require('fs'); async function generatePdf() { const response = await fetch('https://api.pdfbolt.com/v1/direct', { method: 'POST', headers: { 'API-KEY': 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', 'Content-Type': 'application/json' }, body: JSON.stringify({ templateId: "your-ai-generated-template-id", templateData: { invoice_number: "INV-2026-0112", issue_date: "January 15, 2026", due_date: "February 15, 2026", company: { name: "Creative Studio Co.", email: "[email protected]" }, client: { name: "Green Leaf Cafe", email: "[email protected]" }, items: [ { description: "Logo Design", quantity: 1, unit_price: "350.00", total: "350.00" }, { description: "Business Card Design", quantity: 1, unit_price: "120.00", total: "120.00" }, { description: "Brand Style Guide", quantity: 1, unit_price: "170.00", total: "170.00" }, { description: "Social Media Graphics", quantity: 5, unit_price: "40.00", total: "200.00" } ], currency: "$", subtotal: "840.00", tax_rate: "10", tax_amount: "84.00", total: "924.00", qr_code_data: "https://pay.creativestudio.co/INV-2026-0112" } }) }); if (!response.ok) { const errorText = await response.text(); throw new Error(`HTTP ${response.status} - ${errorText}`); } const pdfBuffer = await response.arrayBuffer(); fs.writeFileSync('pdfbolt_example.pdf', Buffer.from(pdfBuffer)); console.log('PDF generated successfully'); } generatePdf().catch(console.error);

Close

Generate PDFs and Manage Templates with MCP

Connect ChatGPT, Claude, Claude Code, or Codex to PDFBolt’s MCP server. Ask your assistant to convert a web page to PDF or create and manage templates.

View MCP Setup Guide

Save Web Pages as PDFs: Dashboards, Documentation, Articles, and More

Capture a live dashboard for a report, archive your documentation, or save articles for offline reading.
Send one API request per URL. For batch jobs, use the Async endpoint to receive the results via webhook.
Project status report in PDF format

Dashboards & Reports

Export dashboards and SaaS reports with charts, tables, and KPIs. For pages behind a login, include session cookies or authentication headers.

Documentation page saved as a PDF

Documentation

Save documentation, help pages, and READMEs as PDF snapshots. Read them offline or compare snapshots to track changes over time.

Archived web page in PDF format

Web Archive & Evidence

Archive a web page as it appears at the time of conversion. Keep a dated copy for compliance reviews, legal research, or news reporting.

News article saved as a PDF

Articles & News

Save articles and blog posts for offline reading or sharing. Each PDF preserves the page layout, images, and selectable text.

Convert your first web page to PDF with a single cURL request.

View Quick Start Guide

Developer Dashboard

Test URL to PDF conversions in the Playground, inspect request logs, monitor API usage, and manage your team.

PDF Generation Playground

Enter a URL, adjust the conversion settings, and preview the PDF. You can also merge or compress existing PDFs.

PDFBolt playground for testing webpage to PDF conversion with live preview

Trusted by Developers Worldwide

See how teams save time and reduce complexity with our developer‑first PDF solution.

"It has a very intuitive User Interface and easy to use API with a great documentation. What's best, that the support is super fast and even feature requests are discussed and implemented in just a couple of days. It helps us to create individualised PDF gift cards both for digital use as well as print production on the base of modern HTML / CSS."

David Bernhard

David Bernhard

CTO at bon-bon.de

"Amazingly, the owner personally helped solve the issues I was having creating an exported lesson plan with hyperlinks and complex styling. This is a great piece of software. But more importantly, it’s the people behind a product that truly make a company great. His willingness to support my project without payment is truly unique – a rare product and a rare individual. This product just works. Thank you, PDFBolt!"

Robert Reich-Storer

Robert Reich-Storer

Owner of Rhythmstix and Assessify
Source logo

"There's a lot of products that convert to PDF out there, but this one stood out to me, because the output quality is good, it's very easy to use, and pay per use. I also love the interactive API documentation, my request just worked out of the box in my app. And of course the focus on privacy, which is important when working with GDPR data. (...) PDFBolt just works, so I can focus on the business logic."

Malte Bartels

Malte Bartels

Cloud Engineer
Source logo

PDFBolt is a PDF Association Member

PDFBolt is a member of the PDF Association, the worldwide technical community for PDF technology. Membership connects us with experts working on PDF standards for archiving, accessibility, and print.

View PDFBolt Profile
PDF Association Member logo

Simple and Transparent Pricing

Start with 50 free conversions per month. No credit card required.
Upgrade when you need more. Only successful conversions count.

Free

50 documents / month

20 requests per minute

1 concurrent request

PDF file size limit: 2MB

All customization options

1 template

1 AI template generation

PDF Tools API (merge, compress)

No credit card required

Get Started

Basic

$19

/month

2,000 documents / month

100 requests per minute

5 concurrent requests

$0.01 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

3 team members

10 templates

10 AI template generations / month

PDF Tools API (merge, compress)

Get Started
Recommended

Growth

$79

/month

10,000 documents / month

250 requests per minute

20 concurrent requests

$0.008 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

10 team members

Unlimited templates

50 AI template generations / month

Print production (PDF/X, CMYK)

PDF Tools API (merge, compress, convert to PDF/X)

Priority support

Get Started

Enterprise

$249

/month

50,000 documents / month

500 requests per minute

50 concurrent requests

$0.005 per overage PDF

Unlimited PDF file size

All customization options

Async processing

Upload to S3

Unlimited team members

Unlimited templates

150 AI template generations / month

Print production (PDF/X, CMYK)

PDF Tools API (merge, compress, convert to PDF/X)

We create custom templates for you

Top priority support

Get Started

Looking for higher monthly limits?

Contact Us →

Frequently Asked Questions

Got questions about converting web pages to PDF?
Find answers about API integration, batch processing, PDF customization, security, and pricing.

Send a POST request with the page URL in the request body and your API key in the API-KEY header. PDFBolt renders the page in Chrome, so you don’t need to run a browser yourself. Use Direct to get the PDF in the response or Sync to get a download link. For background processing, Async returns a request ID and sends the result to your webhook when the conversion finishes.

You can use the official Node.js, Python, or PHP SDK, or follow a REST example for Java, C#, Go, Rust, or cURL.
Yes, the API converts any publicly accessible webpage to PDF using a real Chrome rendering engine. CSS, JavaScript, images, web fonts, and responsive layouts are all preserved. If PDFBolt can’t reach the page, send its Base64-encoded HTML using the HTML to PDF API.
Yes. The API runs a real Chrome instance, so React, Vue, Angular, and SPA dashboards render exactly as they do in your browser. Use waitUntil, waitForFunction, or waitForSelector to control precisely when capture happens – wait for a specific load event, custom JavaScript condition, or CSS selector. Mobile viewport emulation via isMobile is also supported. See the full list of wait conditions and viewport options in API Parameters.
Chrome’s built-in Save as PDF option lets you save one page at a time. With PDFBolt, you can send URLs from your application and automate PDF generation without running Chrome on your servers.

Use cookies or custom headers to access pages that require authentication, set wait conditions for dynamic content, and adjust page margins. For one-off captures in your browser, use the PDFBolt Chrome extension.
Yes. The API renders the full page – not just the viewport – and outputs a paginated PDF with layout, fonts, and styling preserved. Configure viewport size for mobile or desktop emulation, set page format (A4, Letter, A3, and more), control wait conditions for dynamic content, and capture authenticated dashboards.
Yes. Send session cookies, HTTP Basic credentials, or custom headers with your conversion request. Use a custom header for a bearer token or API key. PDFBolt can then render dashboards and other pages that require a login, as long as they’re reachable from PDFBolt’s servers. See API Parameters for details.
Most webpages convert in a few seconds – typically 2-3 seconds for static content, longer for JavaScript-heavy SPAs depending on wait conditions. The API waits for the page to fully render before capture. Render time depends on page load, external resources, and JavaScript execution time.
Control page size, margins, orientation, headers, footers, and page numbers. Set viewport size for responsive rendering, configure JavaScript wait conditions, and apply compression to optimize file size. For print production, enable PDF/X compliance with CMYK and ICC profiles. See the full list in API Parameters.
PDFBolt supports GDPR-compliant workflows and converts web pages to PDF on EU‑based servers. Your connection to the API is encrypted with HTTPS. PDFBolt can upload PDFs directly to your own S3-compatible bucket, where you control access and retention. See our Privacy Policy and Data Processing Agreement for details.
Yes. Use the Async endpoint with HMAC-signed webhook callbacks for batch processing. Submit multiple URL conversion requests, and receive notifications as each PDF completes. For secure delivery, upload results directly to your S3 bucket.
Every account starts on a free plan with 50 conversions per month. No credit card required. Paid plans start from $19/month with higher limits. Only successful conversions count – failed requests are never charged. See current rates on our pricing page.

Convert Web Pages to PDF with
our Privacy‑First API

Generate PDFs on EU‑based servers without running Chrome yourself.
Get 50 free conversions per month. No credit card required.

Register for Free