October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsClean PCRecommendedOne scan can reveal what keeps slowing WindowsLook for cleanup and repair opportunities.Run ScanOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Capture a Full-Page Screenshot with HTMLCSStoImage

Set HTMLCSStoImage’s full_screen=true option to capture an entire page rather than just the visible viewport. Here’s the request syntax, viewport guidance, and fixes for common issues.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set full_screen=true in an HTMLCSStoImage request to capture the page’s full scrollable height instead of only the visible viewport. The flag defaults to false. Choose the viewport width for the layout you want, then send the request to the hosted renderer.

Capture a full page from a URL

HTMLCSStoImage’s full-page option is full_screen. For a URL screenshot, set it to true alongside the page URL. The service’s full-screen documentation describes this as capturing the entire scrollable height rather than just the viewport.

As an Amazon Associate I earn from qualifying purchases.

curl -X POST https://hcti.io/v1/image -u 'UserID:APIKey' 
  --data-urlencode url="https://example.com/long-page" 
  --data full_screen=true

Replace UserID and APIKey with your HTMLCSStoImage credentials and use a URL the hosted renderer can reach. The service’s API endpoint is https://hcti.io/v1/image; the request uses HTTP Basic authentication.

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

You can also send JSON with the same setting:

{"url":"https://example.com/blog-post","full_screen":true}

Use the JSON form with the service’s documented JSON request method and authentication. The full-page flag controls capture height; it does not itself change the output format.

#1 Best Overall

Set the viewport and output options

Choose width for the page layout

The viewport determines the browser layout and responsive breakpoint. HTMLCSStoImage documents a default viewport of 1920 × 1080. If you need a different viewport, set both viewport_width and viewport_height; the reference says both are required when specifying either dimension. The maximum documented viewport width is 6000 CSS pixels. See the viewport reference.

For example, to request a narrower desktop layout, add the dimensions to the form request:

curl -X POST https://hcti.io/v1/image -u 'UserID:APIKey' 
  --data-urlencode url="https://example.com/long-page" 
  --data full_screen=true 
  --data viewport_width=1280 
  --data viewport_height=900

The result can extend past viewport_height: that value establishes the browser viewport, while full_screen=true asks for the full scrollable page. Use the mobile viewport option when you need a mobile-style rendering.

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.
Rank #2
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
  • 256 GB SSD of storage.
  • Multitasking is easy with 16GB of RAM
  • Equipped with a blazing fast Core i5 2.00 GHz processor.

Choose format and density

The parameter reference lists PNG, JPG, WebP, and PDF as output options. Select the format supported by your integration and destination; the full-screen flag governs page height, not format. device_scale controls pixel density. The API also documents ms_delay and render_when_ready for pages that need additional time to render. These are configuration options, not a guarantee that every page’s delayed content will load. Consult the API reference for accepted parameter values.

Capture a section instead of the whole page

If you only need one component or section, use the selector parameter to target an element rather than rendering a very long page. The vendor documentation says selector capture may be faster and produce a smaller file for very long pages, but provides no benchmark timings or file-size figures. See the parameter reference for selector details.

  • Use full_screen=true when the complete page matters.
  • Use selector when the requested result is one particular element.

Check access and page behavior

The hosted renderer needs network access to the URL. It cannot access a developer’s local localhost page. For a protected page you control, the documentation describes custom request headers or a configured proxy; the service does not perform an interactive login flow automatically. Some websites may block automated access. The website screenshot guide covers URL capture and access considerations.

Rank #3
15.6 Inch Win 11 Laptop Computer, N4020, 4GB DDR4 RAM, 128GB Storage
  • WINDOWS 11 | STABLE PERFORMANCE: Powered by Intel Celeron N4020 processor and Windows 11 system, this laptop delivers stable performance for everyday computing tasks. It supports web browsing, online learning, document editing, email communication, and basic office work with optimized power efficiency, providing a practical and reliable experience for essential daily use for daily use.
  • 15.6” FHD IPS DISPLAY: Features a 15.6-inch Full HD IPS display with narrow bezels, offering wider viewing angles and clearer image details compared to standard panels. The improved screen-to-body ratio enhances visual experience for study, reading, document work, and video playback, making it suitable for both productivity and entertainment use.
  • 4GB DDR4 + 128GB eMMC STORAGE: Equipped with 4GB DDR4 memory and 128GB eMMC storage for everyday basics such as browsing, documents, email, and online learning platforms. The built-in TF card slot supports storage expansion up to 1TB, giving you more flexibility for files, photos, videos, and daily documents. TF card not included.
  • CONNECTIVITY & PORTS: Includes 1× TF card slot, 2× USB 3.2 Gen1 ports, and 2× full-featured Type-C ports (USB 3.2 Gen1). The Type-C ports support data transfer, charging, and video output, enabling flexible connection with external devices such as monitors, storage, and peripherals for daily work and study use.
  • LIGHTWEIGHT DESIGN | ONLINE COMMUNICATION: Designed with a slim, portable profile, this laptop is easy to carry for school, commuting, and travel. A built-in 1MP front camera supports online classes, video meetings, remote communication, and everyday conferencing. The 3300mAh battery works with the low-power system design to support practical daily use, while thermal optimization helps maintain quieter operation during extended tasks.

The FAQ documents block_consent_banners for dismissing most cookie popups on URL screenshots. “Most” matters: do not assume it will handle every consent interface. Check the FAQ for current behavior.

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.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshoot common problems

  • The image shows only the first screen: Confirm that the request includes full_screen=true. If omitted, the documented default is false, which captures the viewport.
  • The layout is at the wrong size or breakpoint: Set both viewport_width and viewport_height, then adjust the width to the layout you want. Full-page capture can make the final image taller than the viewport height.
  • The renderer cannot reach the page: Use a publicly reachable URL. A hosted renderer cannot access your machine’s localhost; for a protected page, investigate custom headers or a configured proxy.
  • A login wall or bot check blocks the capture: The renderer does not complete an interactive login flow automatically, and some sites block automated access. A header or proxy may help only when you control and are authorized to access the page; it cannot guarantee access.
  • Some content is missing: For content that appears after initial load, the API documents ms_delay and render_when_ready. Adjust them for the page’s behavior and verify the returned image; no particular setting is guaranteed to work on every site.
  • The image is unwieldy: If you need only one section, target it with selector rather than capturing the entire scrollable page.
  • A cookie notice remains visible: Try block_consent_banners, while recognizing that the FAQ says it dismisses most, not all, cookie popups.

Or skip the browser setup

ScreenshotNeo is a website screenshot API and MCP server. Its one-call API can return a screenshot or PDF, and its full-page option loads lazy images. The following cURL request saves a WebP screenshot:

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

See the ScreenshotNeo API documentation for request options. ScreenshotNeo accepts cookie and consent banners and removes more than 60 known consent platforms, newsletter popups, and chat widgets before capture; each step can be turned off. Bot checks and CAPTCHAs, blank pages, timeouts, failed loads, and cache hits are not billed, and response headers identify the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf for AI agents. The Free plan includes 1,000 shots per month without a card; paid plans start at $5 for 3,000 shots. Sign up for ScreenshotNeo’s free plan.

Frequently Asked Questions

Can I capture a PDF of a full page with HTMLCSStoImage?

The documented output formats include PDF, and full_screen controls the capture height. Check the current API parameter reference for the exact format parameter accepted by your request method.

Does full-page capture use the viewport height as the image’s maximum height?

No. The viewport establishes the browser layout; full-page capture can produce an image taller than viewport_height.

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

Quick Recap

Bestseller No. 1
HP 14' HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
HP 14" HD Laptop, Windows 11, Intel Celeron Dual-Core Processor Up to 2.60GHz, 4GB RAM, 64GB SSD, Webcam, Dale Pink (Renewed)
14" diagonal, 1366x768 resolution, HD BrightView LED, Glossy NON-TOUCH Display
$245.99
Bestseller No. 2
Dell Latitude 5420 14' FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
Dell Latitude 5420 14" FHD Business Laptop Computer, Intel Quad-Core i5-1145G7, 16GB DDR4 RAM, 256GB SSD, Camera, HDMI, Windows 11 Pro (Renewed)
256 GB SSD of storage.; Multitasking is easy with 16GB of RAM; Equipped with a blazing fast Core i5 2.00 GHz processor.
$285.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
Windows Errors? Fix Them Before They SpreadFree repair scan
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.