October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk6 min

How to Capture a Full-Page Website Screenshot with Html2Pdf.app

Html2Pdf.app generates a PDF from a webpage or HTML. Here’s how to capture it manually or through the API, then convert it separately to an image.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Html2Pdf.app can render a webpage as a PDF, but its documented API does not provide a direct full-page PNG or JPEG screenshot. To use it for this job, generate a PDF first, then convert that file to an image with a separate PDF-to-image tool. If you need a screenshot image directly, use a screenshot API instead.

What Html2Pdf.app captures

Html2Pdf.app accepts a publicly reachable webpage URL or raw HTML and renders it to PDF using headless Chromium. Its documentation describes PDF output, not a dedicated full-page PNG or JPEG endpoint. The service says: “Conversions run in headless Chromium, providing support for modern HTML, CSS, and JavaScript.” Html2Pdf.app documentation

As an Amazon Associate I earn from qualifying purchases.

That distinction matters: a PDF can preserve a long page in a document format, but it is not automatically a single tall image. The documentation does not guarantee that an arbitrary long webpage will fit on one PDF page. For a raster deliverable, use a separate PDF-to-image conversion step and check that the resulting resolution keeps the whole page legible.

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

Choose the manual or API workflow

One-off capture: online converter

  1. Open the online converter from the Html2Pdf.app homepage.
  2. Enter the webpage’s public URL and run the conversion.
  3. Download the resulting PDF, then convert it separately if you need PNG or JPEG.

This route avoids writing an integration, but it is a manual process rather than an automated capture pipeline.

#1 Best Overall
Sale
Epson Workforce ES-50 Compact & Lightweight Mobile Document Scanner
  • PORTABLE SCANNER FOR USE ON-THE-GO — The fastest and lightest mobile single-sheet-fed compact document scanner in its class¹
  • QUICK DOCUMENT SCANNING ― This Epson ultra-fast scanner scans a single page as quickly as 5.5 seconds²; Windows and Mac compatible
  • VERSATILE PAPER HANDLING ― Portable scanner scans documents up to 8.5 x 72 in; Also easily digitizes receipts and ID cards to make accounting, bookkeeping, and organizing simpler
  • INTUITIVE, HIGH-SPEED SOFTWARE — Epson ScanSmart Software³ is a smart tool allowing you to easily scan, review, and save; Stay organized easily with the help of this Epson scanner
  • EASY SETUP — USB-powered connect to your computer for quick and simple scanning; No batteries or external power supply required to operate portable document scanner; Standard Connectivity: USB 2.0

Automated capture: server-side API request

Send an authenticated POST request to https://api.html2pdf.app/v1/generate. Set html to either the public page URL or raw HTML, and send the API key in the X-API-Key header. Keep the key in a backend, trusted server-side script, or job runner; do not expose it in browser JavaScript or public code.

Example using cURL, saving the successful binary response as a PDF:

Rank #2
Sale
Brother DS-640 Compact Mobile Document Scanner, (Model: DS640)
  • FAST SPEEDS - Scans color and black and white documents a blazing speed up to 16ppm (1). Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • ULTRA COMPACT – At less than 1 foot in length and only about 1. 5lbs in weight you can fit this device virtually anywhere (a bag, a purse, even a pocket).
  • READY WHENEVER YOU ARE – The DS-640 mobile scanner is powered via an included micro USB 3. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan.
  • WORKS YOUR WAY – Use the Brother free iPrint&Scan desktop app for scanning to multiple “Scan-to” destinations like PC, Network, cloud services, Email and OCR. (2) Supports Windows, Mac and Linux and TWAIN/WIA for PC/ICA for Mac/SANE drivers. (3)
  • OPTIMIZE IMAGES AND TEXT – Automatic color detection/adjustment, image rotation (PC only), bleed through prevention/background removal, text enhancement, color drop to enhance scans. Software suite includes document management and OCR software. (4)
curl -X POST "https://api.html2pdf.app/v1/generate" 
  -H "Content-Type: application/json" 
  -H "X-API-Key: YOUR_API_KEY" 
  -d '{"html":"https://example.com"}' 
  --output page.pdf

Use the current API documentation for the complete request schema and account-specific authentication details. The response body on success is binary PDF data. Check the HTTP status before treating the response as a PDF; do not parse a successful body as text.

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

Python example

import requests

api_key = "YOUR_API_KEY"
payload = {"html": "https://example.com"}

response = requests.post(
    "https://api.html2pdf.app/v1/generate",
    headers={
        "X-API-Key": api_key,
        "Content-Type": "application/json",
    },
    json=payload,
    timeout=90,
)
response.raise_for_status()

with open("page.pdf", "wb") as pdf_file:
    pdf_file.write(response.content)

Node.js example

const response = await fetch("https://api.html2pdf.app/v1/generate", {
  method: "POST",
  headers: {
    "X-API-Key": process.env.HTML2PDF_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ html: "https://example.com" }),
});

if (!response.ok) {
  throw new Error(`Html2Pdf.app returned HTTP ${response.status}`);
}

const pdf = Buffer.from(await response.arrayBuffer());
await import("node:fs/promises").then(({ writeFile }) =>
  writeFile("page.pdf", pdf)
);

Set page size, timing, and rendering behavior

Canvas dimensions and paper formats

The API documents custom width and height values in pixels; provide them together when using a custom canvas. It also documents page formats A0 through A6, plus Letter, Legal, Tabloid, and Ledger. These options affect the PDF layout, but do not establish that the entire page will become one page. Inspect the PDF before converting it to an image, especially for long pages or content with fixed-position elements.

Rank #3
Sale
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
  • STAY ORGANIZED – Easily convert your paper documents into digital formats like searchable PDF files, JPEGs, and more.Power Consumption : 2.5W or less (Energy Saving Mode: 0.7W). Suggested Daily Volume : 500 scans..Does it contain liquid: no
  • CONVENIENT AND PORTABLE –lightweight and small in size, you can take the scanner anywhere from home offices, classrooms, remote offices, and anywhere in between
  • HANDLES VARIOUS MEDIA TYPES – Digitize receipts, business cards, plastic or embossed cards, reports, legal documents, and more
  • FAST AND EFFICIENT – No technical hurdles or complicated setups here; easily scan both sides of a document at the same time, in color or black-and-white, at up to 12 pages-per-minute, and with a 20 sheet automatic feeder
  • BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer

Wait for scripts and resources

Use waitFor when a page needs additional time for JavaScript or asynchronous resources. The documented range is 0–10 seconds. A delay can help with late-loading content, but cannot guarantee that a site will finish loading within that window.

Html2Pdf.app notes that CSS media mode, font and resource availability, and JavaScript timing can affect the rendered result. Test representative pages from your actual workflow instead of assuming one setting works for every site.

Rank #4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
  • IRIScan Express, portable scanner : scans color and black and white documents a blazing speed up to 8ppm simplex. Color scanning won’t slow you down as the color scan speed is the same as the black and white scan speed.
  • IRIScan Express mobile scanner is powered via an included micro USB 2. 0 cable allowing you to use it even where there is no outlet available. Plug it into you PC or laptop and you are ready to scan. USB cable provided. AC Adapter not provided and not needed.
  • IRIScan flatbed scanner uses a simplex scanning mode allows for quick and straightforward scanning of single-sided documents. IRIScan with its full portable features is the ideal document scanners for computers.
  • IRIScan document scanner : Versatile scanning capabilities, including scanning to Word, PDF, and Excel formats with companion software provided Readiris OCR
  • Receipt scanner and card scanner with Additional features include scanning business cards directly to Outlook, photo scanning, and receipt scanning for efficient document management

Asynchronous callback jobs

The API documentation also describes an asynchronous callback mode. For callback jobs, Html2Pdf.app posts a base64-encoded PDF to your endpoint. Use an HTTPS callback URL and make processing idempotent so retries or duplicate delivery do not create duplicate downstream work. This is useful for longer-running automation; the synchronous route is simpler when a caller can wait for the response.

Free tools Windows power users keep installed

One-click scans. No signup required.

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

Convert the PDF to a full-page image

When the required output is PNG or JPEG, treat image conversion as a separate stage after Html2Pdf.app finishes. The service’s documented output is PDF; converting it to a raster image is not an Html2Pdf.app feature described in its documentation.

Best Value
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
  • Scanner type: Document
  • Connectivity technology: USB
  • With Auto Scan Mode, the scanner automatically detects what you're scanning
  • Digitize documents and images
  1. Generate and validate the PDF.
  2. Use a separate PDF-to-image tool to render the relevant PDF page or pages to PNG or JPEG.
  3. Choose sufficient resolution for the intended use. A very long page rendered as one image may be difficult to read or unwieldy to share.
  4. Check that all content is present and legible. If the PDF spans multiple pages, decide whether to keep separate images or assemble them with a separate image tool.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fix common capture problems

  • The output is a PDF, not PNG or JPEG: That is the documented API output. Add a separate PDF-to-image conversion step, or use a screenshot API when you need raster output directly.
  • The PDF is split across pages: The documentation does not promise single-page output for every long webpage. Adjust the documented page format or paired custom dimensions, then inspect the PDF and convert its pages according to your needs.
  • Images, fonts, or styles are missing: Confirm the source page is publicly reachable by the rendering service and that its CSS, fonts, and image URLs are also accessible. Private or blocked resources may not load for the renderer.
  • JavaScript content is absent or incomplete: Increase waitFor within its documented 0–10-second range and test again. Timing-sensitive pages may still vary based on how their scripts and resources load.
  • The saved file is corrupt or contains an error message: Check the HTTP status before writing the body as a PDF. Save the successful response as binary data, not text, and review the API’s response/error guidance.
  • The API key is rejected or exposed: Verify the X-API-Key header and keep credentials server-side. Do not put the key in frontend code, where visitors can inspect it.

The vendor’s cURL examples cover binary response handling and troubleshooting inaccessible page resources: Html2Pdf.app cURL HTML-to-PDF API examples.

Or skip the browser setup

If you want a direct webpage screenshot rather than a PDF-to-image pipeline, ScreenshotNeo returns PNG, JPEG, WebP, or PDF from one GET request. Its documented cleanup accepts cookie banners and removes 60+ known consent platforms, newsletter popups, and chat widgets before capture; each cleanup step can be turned off. Bot checks, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers say which outcome occurred. It also provides an MCP server with screenshot, page-info, and PDF tools for AI agents.

Example cURL request, saving a WebP screenshot:

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. The free plan includes 1,000 screenshots per month with no card; paid plans start at $5 for 3,000. Sign up for 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 Html2Pdf.app create a full-page PNG directly?

Its reviewed documentation describes PDF generation, not a direct PNG or JPEG screenshot endpoint. Generate the PDF and convert it separately if you need a raster image.

Can I capture a webpage that is not publicly accessible?

The documented workflow requires the URL and its resources to be reachable by the rendering service. The reviewed material does not establish a way to access a private page behind your login.

Quick Recap

SaleBestseller No. 3
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
Canon imageFORMULA R10 - Portable Document Scanner, USB Powered, Duplex Scanning, Document Feeder, Easy Setup, Convenient, Perfect for Mobile Users, White
BROAD COMPATIBILITY – Works with both Windows and Mac devices, be it laptop or computer; This product is not intended for scanning photographs on photo paper / photographic media
$153.00
Bestseller No. 4
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
IRIScan Express 4 Black Compact Portable USB Simplex Document Scanner, 8 PPM for Contracts, Invoices and Business Cards, Compatible with Windows, Readiris PDF Included
Find our Software here : irislink.com/start; IRIScan Express is only compatible Windows platform and not macintosh
$129.00
Bestseller No. 5
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Canon Canoscan Lide 300 Scanner (PDF, AUTOSCAN, Copy, Send)
Scanner type: Document; Connectivity technology: USB; With Auto Scan Mode, the scanner automatically detects what you're scanning
$75.00

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.