# Save any web page as a PDF

> Turn a web page into a PDF document from its address. Real pages, working links and selectable text. Paste the address, nothing to install. Also an API.

To save a web page as a PDF, paste its address into CurlShot, choose PDF and press the button. You get a PDF document with real pages and selectable text that you can print, email or file. It works for articles, invoices, reports and any public page.

Do it in the browser, free and without an account: https://curlshot.com/tools/website-to-pdf

## Steps

1. Paste the address of the page into the box.
2. Choose "PDF" as the result.
3. Press "Take the screenshot", then download the PDF.

## What people use it for

- File an invoice, a receipt or an order confirmation
- Archive an article or a report as a document
- Print a page without the browser print dialog
- Attach a web page to an email

## The same thing with the API

```bash
curl "https://curlshot.com/api/v1/screenshot?access_key=YOUR_ACCESS_KEY&url=https://example.com&format=pdf&pdf_paper_format=a4" \
  --output page.pdf
```

An access key is free: https://curlshot.com/register. Read more:

- [PDF rendering](https://curlshot.com/docs/pdf.md)
- [Archive pages as PDF](https://curlshot.com/docs/guides/archive-pages-as-pdf.md)

## Questions

### How do I convert a URL to a PDF?

Paste the URL into CurlShot, choose PDF and press the button. Developers send one request: the screenshot address with format=pdf.

### Can I select and copy the text in the PDF?

Yes. The PDF is made by a real browser, the same way as its "Save as PDF", so the text stays text and links keep working.

### Can I choose the paper size?

With the API, yes: paper format, landscape, margins and whether backgrounds are printed are all options. There is also an option to fit the whole page on one long sheet.

### Is it free?

You can try it on this page without an account. A free account adds a monthly allowance of screenshots and keeps them in one place.

## Related

- [Full-page screenshot](https://curlshot.com/tools/full-page-screenshot.md): Take a screenshot of a whole web page, from the top to the very bottom, as one image. Paste the address, nothing to install. Also available as an API.
- [URL to image](https://curlshot.com/tools/url-to-image.md): Convert any URL into an image file. Paste a web address and download a PNG, JPEG or WebP screenshot of the page. Free to try, and one request by API.
- [Screenshot API](https://curlshot.com/tools/screenshot-api.md): A screenshot API for developers. One HTTP request turns a URL, HTML or Markdown into a PNG, JPEG, WebP or PDF. Full page, devices, blocking, cache, MCP.
