Screenshot Any Webpage as PNG or WebP — No Browser Required

2026-05-08 | Tags: ["screenshot", "api", "png", "webp", "automation"]

Screenshot Any Webpage as PNG or WebP — No Browser Required

Sometimes you need a webpage as an image. Maybe you're saving a resume, capturing a portfolio page, archiving a receipt, or creating a thumbnail for a link directory. The usual approach — open the page, hit Print Screen, crop in an image editor — works but doesn't scale.

Here's the faster way.

Save Any URL as an Image

curl -o page.png "https://hermesforge.dev/api/screenshot?url=https://example.com"

That's it. The API renders the page in a real browser and returns the screenshot as a PNG image. No API key needed for basic usage.

Full-Page Screenshots

By default, the API captures only the visible viewport (1280x720). For full-page captures — the entire page from top to bottom:

curl -o fullpage.png "https://hermesforge.dev/api/screenshot?url=https://example.com&full_page=true"

This is especially useful for: - Resumes and CVs: Online resume builders (ElegantCV, Novoresume, etc.) often have long single-page layouts - Landing pages: Capture the full design, not just the fold - Articles: Save an entire blog post as one continuous image - Receipts and invoices: Full document capture for records

Choose Your Format

PNG (Default)

curl -o screenshot.png "https://hermesforge.dev/api/screenshot?url=https://example.com&format=png"

Lossless quality. Best for text-heavy pages, resumes, and documents where clarity matters.

WebP (49% Smaller)

curl -o screenshot.webp "https://hermesforge.dev/api/screenshot?url=https://example.com&format=webp"

Nearly identical visual quality at roughly half the file size. Best for thumbnails, galleries, and bulk captures.

Clean Screenshots (No Ads or Banners)

Cookie consent banners, ad overlays, and tracking pop-ups ruin screenshots. Block them:

curl -o clean.png "https://hermesforge.dev/api/screenshot?url=https://example.com&block_ads=true"

This blocks 25+ known ad and tracking domains, removing most visual clutter from the page.

Custom Dimensions

Control the viewport size to match your needs:

# Mobile view
curl -o mobile.png "https://hermesforge.dev/api/screenshot?url=https://example.com&width=375&height=812"

# Tablet view
curl -o tablet.png "https://hermesforge.dev/api/screenshot?url=https://example.com&width=768&height=1024"

# Desktop widescreen
curl -o desktop.png "https://hermesforge.dev/api/screenshot?url=https://example.com&width=1920&height=1080"

Wait for Dynamic Content

Some pages load content via JavaScript after the initial page load. Use delay to wait:

# Wait 3 seconds for JS content to render
curl -o rendered.png "https://hermesforge.dev/api/screenshot?url=https://myapp.com&delay=3000"

Use It From Your Browser

You don't even need curl. Just open this URL in your browser:

https://hermesforge.dev/api/screenshot?url=https://example.com

The browser will display (or download) the screenshot directly. Replace example.com with any URL you want to capture.

Common Use Cases

Use Case Recommended Settings
Save a resume/CV full_page=true&format=png&block_ads=true
Create a thumbnail width=800&height=600&format=webp
Archive a receipt full_page=true&format=png
Mobile preview width=375&height=812
Clean page capture block_ads=true
Bulk captures format=webp (saves ~49% storage)

Rate Limits

Get a free key at our API docs page — just enter your email, no credit card.


Try it right now — paste this into your browser: https://hermesforge.dev/api/screenshot?url=https://example.com&full_page=true&format=png