DriversRecommendedOutdated drivers can make a good PC feel brokenScan driver issues before chasing fixes manually.Scan NowOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan Now×
Skip to content
World desk5 min

How to Generate Website Screenshots in Node.js with Cloudinary URL2PNG

Use Cloudinary’s URL2PNG add-on with the Node.js SDK to generate signed screenshots of public websites, then transform or upload the image separately.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To capture a public website with Cloudinary in Node.js, enable Cloudinary’s URL2PNG Website Screenshots add-on, then use the Node.js SDK to build a signed delivery URL with type: "url2png". The add-on performs the browser capture; the SDK alone is not a general-purpose screenshot service. Keep signing credentials on your server, and upload the result separately if you need a permanent Media Library asset.

What Cloudinary URL2PNG does

Cloudinary’s URL2PNG Website Screenshots add-on captures a public website and brings the resulting image into Cloudinary’s delivery and transformation workflow. In Node.js, you request that capture through the url2png delivery type. You must have a Cloudinary account and register for the add-on before using it. See Cloudinary’s URL2PNG Website Screenshots documentation for current availability and option syntax.

As an Amazon Associate I earn from qualifying purchases.

This workflow is for public websites. The documented add-on is not a way to reuse a user’s logged-in browser session or capture a private page behind authentication.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set up the Node.js SDK and credentials

Install Cloudinary’s Node.js SDK and configure it using the official Node.js integration guide. The SDK can read your cloud_name, api_key, and api_secret from CLOUDINARY_URL, or you can set them with the SDK configuration method. The quick start covers installation and configuration: Cloudinary Node.js quick start.

#1 Best Overall
Philips 24 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 241V8LB
  • CRISP CLARITY: This 23.8″ Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors
  • WORK SEAMLESSLY: This sleek monitor is virtually bezel-free on three sides, so the screen looks even bigger for the viewer. This minimalistic design also allows for seamless multi-monitor setups that enhance your workflow and boost productivity
  • A BETTER READING EXPERIENCE: For busy office workers, EasyRead mode provides a more paper-like experience for when viewing lengthy documents
  • Enable the URL2PNG add-on for your Cloudinary account.
  • Store credentials in server-side environment variables or another protected secret store.
  • Do not expose the API secret in browser code, a public repository, or an unprotected environment file. Keep credential files out of version control.

Generate a signed screenshot URL

Run this code in server-side Node.js after configuring the SDK credentials:

const cloudinary = require("cloudinary").v2;

const screenshotUrl = cloudinary.url("https://example.com", {
  type: "url2png",
  sign_url: true
});

console.log(screenshotUrl);

The target website URL is the resource for the url2png delivery type. Cloudinary’s reference identifies that delivery type as requiring the URL2PNG add-on; the SDK constructs the URL rather than taking the screenshot itself. Consult the add-on documentation for the current URL2PNG resource-path syntax when adding capture options.

Rank #2
Philips 22 Inch Computer Monitor FHD 100Hz VA VESA Flicker-Free, 221V8LB
  • CRISP CLARITY: This 22 inch class (21.5″ viewable) Philips V line monitor delivers crisp Full HD 1920x1080 visuals. Enjoy movies, shows and videos with remarkable detail
  • 100HZ FAST REFRESH RATE: 100Hz brings your favorite movies and video games to life. Stream, binge, and play effortlessly
  • SMOOTH ACTION WITH ADAPTIVE-SYNC: Adaptive-Sync technology ensures fluid action sequences and rapid response time. Every frame will be rendered smoothly with crystal clarity and without stutter
  • INCREDIBLE CONTRAST: The VA panel produces brighter whites and deeper blacks. You get true-to-life images and more gradients with 16.7 million colors
  • THE PERFECT VIEW: The 178/178 degree extra wide viewing angle prevents the shifting of colors when viewed from an offset angle, so you always get consistent colors

By default, delivery URLs using this add-on must be signed or eagerly generated. Cloudinary also provides an account Security setting that can allow unsigned add-on transformations. Prefer signing unless you have deliberately reviewed the exposure implications of allowing unsigned transformations. Do not move signing code or the API secret into a browser application.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set capture behavior separately from image output

URL2PNG capture inputs control what the browser captures; Cloudinary image transformations control how the resulting image is delivered. Keep those two jobs distinct when tuning a screenshot.

Rank #3
Sale
Dell 24 Monitor - SE2426H - 23.8-inch FHD (1920x1080) 144Hz 1ms Display, in-Plane Switching (IPS) Technology, AMD FreeSync™, TÜV 3-Star 2X HDMI, Tilt
  • Clear visuals. Fluid motion: A 144Hz refresh rate and 1ms MPRT deliver smooth, tear‑free motion across work, gaming, and streaming for clearer, more fluid viewing.
  • Eye comfort: TÜV Rheinland 3‑star* certification reduces harmful blue light while preserving stunning color quality without compromise. *TÜV Rheinland 3-star eye comfort certification.
  • Wide viewing angle: Get consistent views across a wide 178° /178° viewing angle.
  • In-Plane Switching (IPS): See excellent color accuracy and consistency across wide viewing angles with In-plane Switching (IPS) technology.
  • Ultra-thin bezels: Maximize your viewing experience with thin bezels.
Need Setting category What it affects
Choose the browser viewport URL2PNG capture option The page layout rendered before the screenshot is taken.
Render as a particular user agent URL2PNG capture option The website’s response and layout for that browser identity.
Wait for dynamic page content URL2PNG capture option Capture delay before the screenshot; use the add-on’s documented syntax.
Capture beyond the initial viewport URL2PNG capture option Full-page capture behavior.
Fit a preview card or other target dimensions Cloudinary image transformation Post-capture resize or crop of the delivered image.

Viewport size is not the same as final image dimensions: the former affects page rendering, while resize and crop transformations adapt the output. Cloudinary supports adding a transformation array to the SDK URL-generation options. For exact URL2PNG parameter names and encoding, use the add-on documentation rather than guessing at path components.

Choose dynamic delivery, eager generation, or a stored asset

Signed dynamic URL

Generate a signed URL when you want delivery to remain dynamic and to construct the URL as part of your application’s request flow. This is distinct from running an authenticated generation workflow ahead of time.

Rank #4
Sale
Samsung 27" Essential S3 (S36GD) Series FHD 1800R Curved Computer Monitor | 100Hz, Game Mode, Advanced Eye Comfort, HDMI and D-sub Ports (LS27D366GANXZA)
  • CURVED FOR ENHANCED ENGAGEMENT: An immersive viewing experience with a curved monitor that wraps more closely around your field of vision; It creates a wider view, enhancing depth perception and minimizing peripheral distraction
  • SMOOTH PERFORMANCE FOR SEAMLESS CONTENT: Stay in the action when playing games, watching videos, or working on creative projects; The 100Hz refresh rate reduces lag and motion blur so you don't miss a thing in fast-paced moments¹
  • MORE GAMING POWER: Gain the edge with optimizable game settings; Color and image contrast can be adjusted to see scenes more vividly and spot enemies hiding in the dark; Game Mode adjusts any game to fill the screen so you can view every detail²
  • KEEP IT EASY ON THE EYES: Care for your eyes and stay comfortable, even during long sessions; Advanced eye comfort technology certified by TÜV reduces eye strain by minimizing blue light and reducing irritating screen flicker²
  • INCREASED VERSATILITY: Connect to more; Plug devices straight into your monitor for increased flexibility, making your computing environment even more convenient

Eager generation

Eager generation is the alternative Cloudinary names for add-on delivery URLs that are not simply signed for on-demand delivery. It lets you generate through an authenticated API workflow in advance. Check the current add-on documentation for the supported eager-generation request details.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Upload when you need persistence

A generated screenshot URL is not, by itself, a promise that you have saved a permanent managed asset. If the application needs a durable Media Library resource, generate the screenshot and then upload the result through a separate authenticated Cloudinary step. Cloudinary demonstrates that pattern in its website screenshot tutorial. Treat URL generation and asset persistence as separate operations.

Best Value
Sale
Sceptre New 22-Inch Gaming Monitor, FHD 1080p, Up to 144Hz, HDMI, DisplayPort, Built-in Speakers, Machine Black (E225W-FW144 Series, 2026)
  • 【INTEGRATED SPEAKERS】Whether you're at work or in the midst of an intense gaming session, our built-in speakers provide rich and seamless audio, all while keeping your desk clutter-free.
  • 【EASY ON THE EYES】 Protect your eyes and enhance your comfort with Blue-Light Shift technology. This feature reduces harmful blue light emissions from your screen, helping to alleviate eye strain during long hours of use and promoting healthier viewing habits.
  • 【WIDEN YOUR PERSPECTIVE】Our sleek minimal bezel design ensures undivided attention. The nearly bezel-free display seamlessly connects in a dual monitor arrangement, delivering an unobstructed view that lets you focus on more at once, completely distraction-free.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting

  • The URL does not produce a screenshot: confirm the URL2PNG add-on is enabled for the account and that the URL uses type: "url2png".
  • Cloudinary rejects delivery: check whether the URL is signed or eagerly generated. If your account relies on unsigned add-on transformations, verify the relevant Security setting.
  • The screenshot layout is wrong: adjust the capture viewport or user agent; changing the final resize dimensions does not change how the page was rendered.
  • Content is missing: a dynamic page may need a capture delay. Set it using the current URL2PNG option syntax documented by Cloudinary.
  • The screenshot looks right but is not retained as an asset: perform the separate authenticated upload to the Media Library.
  • A private page cannot be captured as expected: the documented workflow targets public websites; it does not supply the visitor’s authenticated browser session.

Or skip the browser setup

If you want a direct screenshot API call instead of configuring Cloudinary’s URL2PNG add-on, ScreenshotNeo is an alternative: it accepts a URL and returns an image or PDF. Its API removes cookie banners, popups, and chat widgets before capture; bot checks, blank pages, and failed loads are never billed; and an MCP server lets AI agents take screenshots. It includes 1,000 screenshots a month free with no card, while paid plans start at $5 for 3,000.

Example cURL request (replace YOUR_API_KEY with your key):

curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://example.com -o shot.webp

See the ScreenshotNeo API documentation for request options. Sign up for ScreenshotNeo to get 1,000 free screenshots a month with no card.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Can Cloudinary URL2PNG capture a website that requires my login?

The documented add-on targets public websites and does not provide a logged-in browser session.

Does generating a screenshot URL save it permanently?

No. For a durable Media Library asset, upload the generated result through a separate authenticated step.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
PC Slower Than It Used to Be?Free scan - under a minute
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.