Skip to content

Get started

Introduction

Url2Image turns any web page into an image with one request, and hosts it on a global CDN for you.

On this page

Url2Image is a screenshot service with a small ecosystem around it, built by developers for developers. Send it a web address and it opens the page in a real browser, captures it as a PNG and hosts the image on a global CDN, so you get a link you can use anywhere. Everything around turning a URL into an image is handled for you: the browser, the waiting, the cleanup, the storage and the bandwidth.

FeaturesLink to this section

How a capture worksLink to this section

Every request runs the same steps, and the whole job is capped at two minutes. If anything fails along the way, the credits go back to your account.

  1. 1

    A fresh browser opens

    A new Chromium tab starts with your viewport, color scheme, user agent, locale and headers.
  2. 2

    The page loads

    It loads until the step you choose with takeScreenshotWhen, with up to one minute to get there.
  3. 3

    Lazy content wakes up

    The page is scrolled from top to bottom so lazy images load, every video shows a frame, and broken videos are swapped for their poster.
  4. 4

    The page is cleaned up

    Cookie banners, consent popups and chat widgets are hidden, full screen overlays are removed and scrolling is unlocked.
  5. 5

    Your touches are applied

    Your script and styles run, the extra wait passes, and late banners are cleared once more.
  6. 6

    The image is captured and hosted

    A PNG of the viewport or the full page is uploaded to the CDN and sent back as a link and as base64.

Next stepsLink to this section

Something unclear or missing on this page?

Tell us