# A high-resolution screenshot of any website

> Take sharp, high-resolution screenshots of any website. One option doubles or triples the pixel density, for print, retina displays and zooming in.

To take a high-resolution screenshot of a website, add device_scale_factor=2 to a CurlShot request. The page is drawn with twice the pixels in each direction, the way a retina display draws it, so text and icons stay sharp when the image is enlarged or printed. The layout of the page does not change, only its sharpness. Use 3 for three times the density.

Page for people: https://curlshot.com/tools/high-resolution-screenshot

## Steps

1. Create a free account and copy your access key.
2. Add device_scale_factor=2 to the request, and format=png for the sharpest text.
3. Fetch it and save the image.

## What people use it for

- Screenshots for print, slides and posters
- Product images on a landing page that stay sharp on retina displays
- Images that people zoom into, like long articles and dashboards
- Store listings that ask for large images

## The same thing with the API

```bash
curl "https://curlshot.com/api/v1/screenshot?access_key=YOUR_ACCESS_KEY&url=https://example.com&device_scale_factor=2&format=png" \
  --output sharp.png
```

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

- [Devices and screen sizes](https://curlshot.com/docs/devices.md)
- [Options reference](https://curlshot.com/docs/options.md)

## Questions

### How do I take a high-resolution screenshot of a website?

Add device_scale_factor=2 to a CurlShot request. The image has twice the width and height in pixels, with the same layout.

### What is the difference from a wider browser window?

A wider window changes the layout: the page shows its large-screen design. A higher pixel density keeps the layout and draws it with more pixels, so it is sharper.

### Which format is best for sharp text?

PNG keeps every pixel as it was drawn. For smaller files use WebP or JPEG with image_quality set to 90 or more.

### Can I set the exact size of the image?

Yes. viewport_width and viewport_height set the size of the browser window, and image_width resizes the finished image.

## 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.
