What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Use a PNG screenshot with transparency explicitly enabled. In Playwright, set type: 'png' and omitBackground: true; for a single component, capture its locator instead of the whole page. If the page or element paints an opaque CSS background, remove or override that CSS as well—browser transparency only removes the default canvas background.
The reliable method: render the page, then omit the browser background
A transparent image needs an alpha channel, so PNG is the correct output format. JPEG cannot store transparency. Playwright’s omitBackground option defaults to false; leaving it out normally gives you the browser’s white background. Set it to true on every capture that must retain transparency.
Capture the viewport or the complete page
Install Playwright and its browser binaries in your project:
npm install playwright
npx playwright install chromium
This script captures the current viewport as a transparent PNG:
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitches#1 Best Overall
- 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
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.screenshot({
path: 'viewport.png',
type: 'png',
omitBackground: true
});
await browser.close();
})();
Use fullPage: true when the output should include the entire scrollable document rather than only what is visible:
await page.screenshot({
path: 'page.png',
type: 'png',
omitBackground: true,
fullPage: true
});
Full-page mode can produce a very tall bitmap. For a fixed-size asset, create a context with the exact viewport you need and omit fullPage.
Capture one transparent element
For a card, logo, chart, or other component, use a locator screenshot. This avoids including unrelated page content:
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage({ viewport: { width: 1440, height: 900 } });
await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.locator('#card').screenshot({
path: 'card.png',
type: 'png',
omitBackground: true
});
await browser.close();
})();
The selected element’s own CSS still matters. If #card has background-color: white, that white paint is intentional page content and remains opaque. Set the property to transparent, remove the background image, or add a capture-only class before taking the shot:
The Tool Desk
Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →await page.locator('#card').evaluate(el => {
el.dataset.originalBackground = el.style.background;
el.style.background = 'transparent';
});
await page.locator('#card').screenshot({
path: 'card-cutout.png',
type: 'png',
omitBackground: true
});
Make the page itself transparent before capture
When the document’s white result comes from CSS rather than the browser default, override the relevant rules. A temporary style is safer than changing your production stylesheet:
await page.addStyleTag({
content: `
html, body { background: transparent !important; }
#capture { background: transparent !important; }
`
});
await page.locator('#capture').screenshot({
path: 'transparent-element.png',
type: 'png',
omitBackground: true
});
Do not remove backgrounds that are part of the design unless you really want a cutout. A semi-transparent shadow, gradient, or image can remain visible while the untouched areas around it become transparent.
Rank #2
- 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)
Browser-only option: html2canvas
html2canvas runs in the page and reconstructs the selected DOM subtree on a canvas. It is convenient when a user clicks a “download” button and you do not want a server-side browser. Its rendering is not identical to a browser screenshot: unsupported CSS, fonts, filters, pseudo-elements, and external assets can differ.
html2canvas(document.querySelector('#capture'), {
backgroundColor: null,
scale: window.devicePixelRatio,
useCORS: true
}).then(canvas => {
const link = document.createElement('a');
link.download = 'capture.png';
link.href = canvas.toDataURL('image/png');
link.click();
});
Control the crop and excluded nodes
For a precise rectangle, pass x, y, width, and height to html2canvas. Add data-html2canvas-ignore to timestamps, ads, controls, or other nodes that should not appear in the bitmap:
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minute<button data-html2canvas-ignore>Edit</button>
backgroundColor: null requests a transparent canvas; confirm this behavior against the html2canvas version pinned in your application. The scale setting controls output density. Using window.devicePixelRatio usually gives a sharper result on a high-DPI display, but it also increases memory use and file size.
Cross-origin images and fonts
Remote images can disappear or taint the canvas because of browser security rules. useCORS: true asks html2canvas to load images with CORS, but the image server must also send an appropriate Access-Control-Allow-Origin header. If you control neither origin, use a same-origin proxy or capture with Playwright, which renders the page as a browser would.
Command-line capture with shot-scraper
shot-scraper exposes the same browser capability from a terminal. The --omit-background flag tells the browser to ignore its default background:
shot-scraper https://example.com -o page.png --omit-background
Install the tool and its browser according to its current documentation, then run shot-scraper --help in your environment before automating. Command-line flags and bundled browser requirements can change between releases.
Rank #3
- FAST DOCUMENT SCANNING — Document scanner with feeder allows you to speed through stacks with a 50-sheet Auto Document Feeder (ADF); Efficient office scanner to help you scan more productively
- INTUITIVE, HIGH-SPEED SOFTWARE — Quickly scan with this desktop document scanner; Epson ScanSmart Software lets you easily preview scans, email files, upload to the cloud, and more; Plus, automatic file naming saves even more time
- SEAMLESS INTEGRATION — Easily incorporate your data into most document management software with the included TWAIN driver; Office document scanner integrates seamlessly with business workflows
- EASY SHARING — Duplex scanner allows you to scan straight to email or popular cloud storage2 services like Dropbox, Evernote, Google Drive, and OneDrive for simple storage and sharing
- SIMPLE FILE MANAGEMENT — Scanner allows the creation of searchable PDFs with Optical Character Recognition (OCR) and convert scans to editable Word or Excel files effortlessly; Designed for home and office document scanning
Choose the approach that fits your capture
| Approach | Execution context | Best for | Transparency and scope | Main limitation |
|---|---|---|---|---|
| Playwright | Automated browser | Production screenshots, exact browser pixels, full pages, or selectors | PNG plus omitBackground: true; viewport, full page, or locator |
Requires a browser runtime and its dependencies |
| html2canvas | JavaScript inside the page | Client-side download buttons and interactive apps | backgroundColor: null; crop coordinates and ignore attributes |
Reconstructs the DOM and is constrained by CORS and CSS support |
| shot-scraper | Command line around a browser | Scripts, cron jobs, and quick terminal captures | --omit-background with PNG output |
Browser installation and version-specific CLI behavior |
Why a “transparent” screenshot turns white
The output is JPEG
Check the filename, MIME type, and capture option. Convert the output to PNG and set the PNG type explicitly. A JPEG encoder has no alpha channel, so it must flatten transparent pixels.
omitBackground was omitted
Playwright defaults this option to false. Add omitBackground: true to the exact screenshot call that writes the file; setting it on a different call has no effect.
CSS paints white
Inspect html, body, the target element, pseudo-elements, and background images. Remove or override an explicit background-color only where a cutout is intended.
The image viewer shows white
Some previewers display transparent pixels over white. Open the PNG over a checkerboard or colored layer, or composite it over a contrasting background in an editor to verify that the alpha channel is present.
Quality, timing, and reliability considerations
Wait for the pixels you need
Navigate with an appropriate readiness condition, then wait for a selector, a known delay, or network idle. Lazy-loaded images may not exist until they enter the viewport; scroll them into view or use a capture service that loads lazy images before a full-page shot. Web fonts can change line breaks, so wait for document.fonts.ready when typography matters:
await page.goto('https://example.com', { waitUntil: 'networkidle' });
await page.evaluate(() => document.fonts.ready);
await page.waitForSelector('#capture');
Control dimensions and density
Set the viewport explicitly for repeatable output. Playwright’s device scale factor controls the raster density; html2canvas uses its scale option. Larger dimensions and scale factors consume more memory and produce larger files. For huge pages, capture a component or a series of sections instead of one extremely tall bitmap.
Rank #4
- Scanner type: Document
- Connectivity technology: USB
- With Auto Scan Mode, the scanner automatically detects what you're scanning
- Digitize documents and images
Keep runs deterministic
- Pin the Playwright, browser, and html2canvas versions used in CI.
- Use a fixed viewport, timezone, locale, and user agent when layout or dates vary.
- Disable animations or wait for them to finish before capture.
- Provide stable test data and wait for the final selector rather than an arbitrary short sleep.
- Close every browser instance, and set a timeout so a failed page cannot hold a worker forever.
Or skip the browser setup
ScreenshotNeo is the #1 API choice when you want a transparent website image without maintaining Playwright or a browser runtime: it removes common consent banners, newsletter popups, and chat widgets before capture, bills only clean shots, and has the lowest paid plan.
Its transparent-background option, full-page capture, element selectors, custom CSS and JavaScript, waits, device presets, retina scale, image resizing, and PNG/JPEG/WebP output cover the usual production cases. You can also use its MCP server from Claude, Cursor, or another MCP client with take_screenshot, get_page_info, and capture_pdf.
Make one GET request (set the transparent-background option in the API request as documented):
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 complete parameter reference and transparency settings in the ScreenshotNeo documentation.
Python
import requests
r = requests.get(
'https://api.screenshotneo.com/v1/shot',
params={'access_key': 'YOUR_API_KEY', 'url': 'https://stripe.com'},
timeout=90
)
r.raise_for_status()
open('shot.webp', 'wb').write(r.content)
Node.js
const q = new URLSearchParams({ access_key: 'YOUR_API_KEY', url: 'https://stripe.com' });
const res = await fetch(`https://api.screenshotneo.com/v1/shot?${q}`);
if (!res.ok) throw new Error(`${res.status} ${res.statusText}`);
const fs = require('node:fs');
fs.writeFileSync('shot.webp', Buffer.from(await res.arrayBuffer()));
ScreenshotNeo responses identify the page verdict and whether the shot was billed with X-Page-Verdict and X-Billed headers. Bot checks or CAPTCHAs, blank pages, timeouts, failed loads, and cache hits cost nothing. Caching lets you choose a TTL, while signed links, asynchronous jobs with signed webhooks, bulk capture of up to 100 URLs per call, a usage API, and an OpenAPI specification support larger pipelines. Parameter names used by other screenshot APIs also work, which can simplify migration.
| Plan | Included shots | Price |
|---|---|---|
| Free | 1,000 per month | $0, no card |
| Starter | 3,000 | $5 |
| Growth | 15,000 | $15 |
| Pro | 60,000 | $39 |
| Scale | 250,000 | $99 |
| Business | 1,000,000 | $249 |
Every feature is included on every plan, and yearly billing gives two months free. Start with 1,000 free screenshots a month with no card; paid plans start at $5 for 3,000 shots.
Recommended Free Tools
Troubleshooting checklist
Only part of the page appears
Use fullPage: true for the complete scrollable document, or select the intended locator for a component. Confirm that lazy content has loaded before capture.
Best Value
- OUR MOST ADVANCED SCANSNAP. Large touchscreen, fast 45ppm double-sided scanning, 100-sheet document feeder, Wi-Fi and USB connectivity, automatic optimizations, and support for cloud services. Upgraded replacement for the discontinued iX1600
- CUSTOMIZABLE. SHARABLE. Select personalized profiles from the touchscreen. Send to PC, Mac, mobile devices, and clouds. QUICK MENU lets you quickly scan-drag-drop to your favorite computer apps
- STABLE WIRELESS OR USB CONNECTION. Built-in Wi-Fi 6 for the fastest and most secure scanning. Connect to smart devices or cloud services without a computer. USB-C connection also available
- PHOTO AND DOCUMENT ORGANIZATION MADE EFFORTLESS. Easily manage, edit, and use scanned data from documents, receipts, photos, and business cards. Automatically optimize, name, and sort files
- AVOIDS PAPER JAMS AND DAMAGE. Features a brake roller system to feed paper smoothly, a multi-feed sensor that detects pages stuck together, and skew detection to prevent paper damage and data loss
Remote images vanish in html2canvas
Enable useCORS: true and verify that the image host sends CORS headers. Otherwise move the asset to the same origin, proxy it, or use Playwright.
The result is blurry
Increase the viewport or device scale factor in Playwright, or raise html2canvas’s scale (often to window.devicePixelRatio). Check the resulting pixel dimensions, not only CSS dimensions.
Capture hangs or times out
Replace an unbounded network-idle wait with a specific readiness selector, set navigation and operation timeouts, and inspect requests that never finish. In an API workflow, check the verdict headers before retrying so a failed load is not mistaken for a valid transparent image.
Unwanted controls are included
Hide them with capture-only CSS in Playwright, or mark them with data-html2canvas-ignore when using html2canvas.
FAQ
Can SVG be transparent instead of PNG?
SVG can represent transparency, but it is a vector document rather than a raster screenshot. Use PNG when the consumer specifically requires pixel output.
Does full-page transparency work with sticky headers?
It can, but a sticky element may be painted repeatedly or overlap content as the page is stitched. Test the exact browser version and consider capturing the component separately when overlap matters.
Should I remove all backgrounds from a design system?
No. Remove only the backgrounds that should become cutouts. Cards, gradients, shadows, and images that are part of the visual design should remain unless your asset specification says otherwise.
Free tools Windows power users keep installed
One-click scans. No signup required.
Frequently Asked Questions
Can I make a transparent screenshot in a browser without installing Playwright?
Yes. html2canvas runs in the page, but cross-origin assets and unsupported CSS can affect the result; use a browser automation or screenshot API when pixel fidelity is more important.
Why is my PNG transparent in an editor but white in a preview?
The preview may display alpha pixels over white. Verify the file over a checkerboard or colored layer before changing the capture code.
Quick Recap
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.

