---
title: "Fast, Easy Website and HTML to PDF Converter via API | PDFShift"
description: "An API to convert HTML/CSS documents to PDF. Fast, reliable, and pixel-perfect conversions for developers. Start with 50 free credits per month."
---

# PDFShift - HTML to PDF Conversion API

## From HTML to pixel-perfect PDFs in seconds

Our always-up-to-date API for developers automates your document conversion tasks - effortlessly.

[Register for free](/register)

## Key Statistics

- **300+ Million** Conversions made
- **15,000+** Developers
- **1.5s** Average conversion time
- **99.99%** Uptime

## Trusted by Leading Companies

PDFShift is used by thousands of companies worldwide for their PDF generation needs.

## Powerful Features for High-Fidelity Documents

### Full CSS Support
Our powerful engine supports all the latest CSS features, including custom web fonts, flexbox, grid layouts, and responsive design.

### JavaScript Execution
Execute JavaScript before converting your pages to capture dynamic content and single-page applications.

### Headers & Footers
Add custom headers and footers with page numbers, dates, and dynamic content.

### Watermarks
Protect your documents with text or image watermarks, positioned precisely where you need them.

### Password Protection
Secure your PDFs with password protection and encryption.

### Screenshot Capture
Generate high-quality screenshots of web pages in various formats (PNG, JPEG, WebP).

## API-First Design

Built for developers, by developers. Our RESTful API integrates seamlessly with any programming language or framework:

- Node.js
- Python
- PHP
- Ruby
- Go
- C#

## Features

### Perfect Rendering
Powered by Chromium for pixel-perfect rendering every time.

### Custom Page Sizes
Support for standard sizes (A4, Letter) and custom dimensions.

### Landscape & Portrait
Convert in any orientation.

### Webhooks
Get notified when conversions complete via webhooks.

### Cloud Storage Integration
Save directly to Amazon S3 or get a temporary URL.

### Custom HTTP Headers
Send custom headers for authenticated pages.

### CSS & JavaScript Injection
Load additional CSS or JavaScript from strings or URLs.

### Page Selection
Export specific pages or page ranges from your document.

### Full-Height Documents
Generate PDFs with full page height without pagination.

### Timeout Control
Set custom timeouts for complex page rendering.

## Pricing

Flexible plans to suit your needs:

- **Free**: 50 credits/month, no credit card required
- **Starter**: Ideal for small projects
- **Business**: For growing companies
- **Enterprise**: Custom solutions with SLA

[View detailed pricing](/pricing)

## Resources

- [API Documentation](https://docs.pdfshift.io)
- [API Status](https://status.pdfshift.io)
- [Guides & Tutorials](/guides)
- [FAQ](/faq)

## Start Converting Today

Get started in minutes with our comprehensive documentation and code examples. No credit card required for the free tier.

[Create your free account](/register)

---

**Support**: Available for all plans with response times based on your subscription level.

**Privacy**: GDPR compliant. We don't store your documents or requests.

**Reliability**: 99.9% uptime with multiple redundancies.
