Convert Any URL or Webpage to PDF

Save any webpage as a PDF instantly - just paste a URL and get a pixel perfect PDF in seconds. Supports full page to PDF capture, HTML to PDF conversion, multi-page PDF output, and clean website screenshots. Perfect for developers, teams, and anyone who needs reliable online PDF conversion.

High Quality
Fast Processing
Secure Storage
Easy Integration

PDF API Features - Format, Orientation, Page Range, and More

Unlock advanced capabilities to capture, customize, and optimize screenshots and PDFs for diverse use cases

Format

Choose output format options such as PDF/A, standard PDF, or optimized web PDF for smaller file sizes.

Orientation

Select Landscape or Portrait to match the layout needs of your document.

Page Range

Capture specific pages or a full multi-page conversion (e.g., 1–5, all).

Print Background

Option to include or exclude background graphics when rendering for print-like fidelity.

Format library

PDF Generation Formats

Explore different PDF page sizes and formats, including ISO (A series), North American, and large formats for accurate document generation. Click on a format to view detailed dimensions, use cases, and size comparisons for optimized PDF export and printing.

A4

A4

ISO
210
Width (mm)
297
Height (mm)
0.06
Area (m²)

Most common paper size for document screenshots, reports, and letters.

LettersReportsFormsInvoices

Integrate the PDF API in Any Language - Node.js, Python, PHP, Go, Ruby, Java

Seamlessly connect with your existing workflows, applications, and platforms using simple APIs and flexible configuration options


const axios = require("axios");

let config = {
	method: "get",
	maxBodyLength: Infinity,
	url: "https://shot.screenshotapi.net/v3/screenshot?token={token}&url=https://apple.com&file_type=pdf&pdf_options%5Bformat%5D)=A4&pdf_options%5Bmedia%5D)=print&pdf_options%5Blandscape%5D)=false&pdf_options%5Bprint_background%5D)=false&pdf_options%5Bpage_range%5D)=2-3",
	headers: { }
};

axios.request(config).then((response) => {
	console.log(JSON.stringify(response.data));
}.catch((error) => {
	console.log(error);
});

PDF Generation Use Cases

Transform any web content into professional PDF documents for various business needs

Document Reports

PDF Ready

Automated document generation for daily reports, invoices, and business summaries with consistent formatting.

Analytics Export

Analytics export · Summary

Convert web analytics, dashboards, and data visualizations into professional PDF reports for stakeholders.

Archive Creation

Archive Record
#AR-2025-09
Archive Created • 02 Sep 2025
Verified

Create PDF archives of web content, ensuring long-term document preservation and offline accessibility.

Frequently Asked Questions

If you are hesitating, do not worry - we are here to explain everything you might want to know. Let us help!

Simply paste the article's URL (or the article text/HTML) into the request, choose file_type as 'pdf', and the tool will automatically fetch the full content and convert it into a clean, print-ready PDF. No extra configuration needed.

If you want more control, you can optionally specify things like page size (A4, Letter), page ranges, orientation, or whether you want it as a single continuous page or paginated.

If you don't specify any page format in your API request, you can generate a single continuous-page PDF that matches the full height of the webpage content - no page breaks at all.

When making your API request, simply set block_ads = true to strip out all advertisements and no_cookie_banners = true to remove those annoying cookie consent popups. The result is a clean, distraction-free PDF containing only the actual article content. Perfect for focused reading or archiving.

Just set landscape = true in your API request and the PDF will be generated in landscape orientation. If you leave it out or set it to false, the tool defaults to portrait mode. That's all there is to it - one simple parameter gives you full control over the page orientation.