Chrome DevTools' Capture full size screenshot is the quickest way to get a whole web page as one image, and on short pages it works well. On long pages it has three problems you can't see until you open the file. The image stops at 16,384 pixels, which on a Retina screen is only 8,192 CSS pixels of page. Anything that loads or appears when you scroll is missing. And on some pages, scrolling first doesn't help at all. We ran the real DevTools command on a test page and five public pages; below are the results, the reason for each failure in DevTools' own source code, and the workarounds that worked.
How to run the command
Open DevTools, press Command+Shift+P on a Mac or Control+Shift+P on Windows and Linux to open the Command Menu, type "screenshot" and pick Capture full size screenshot. The same command sits in Device Mode's More options menu. Chrome saves a PNG to your downloads folder, named after the page's address.
What DevTools actually does
DevTools' source shows that the command is one call to the Chrome DevTools Protocol, the interface Puppeteer and Playwright also use. ScreenCaptureModel.ts sends Page.captureScreenshot with format: "png", fromSurface: true and captureBeyondViewport: true. The protocol documentation describes captureBeyondViewport as "Capture the screenshot beyond the viewport" and marks it experimental. There is no scroll step and no wait: Chrome paints the page as it stands at that moment, taller than the window, and returns one image.
Then DevTools saves it. In HostRuntime.ts the image is drawn onto a canvas whose height is Math.min(1 << 14, ...), which is 16,384 pixels, with the comment "Cap the height to not hit the GPU limit". The commit that added it in January 2022 explains why: heights are limited "to avoid hitting the GPU limit and having incorrect results behind that limit in case of device_scale_factor > 1". So the cut is deliberate. Anything below 16,384 device pixels is dropped without a warning.
How we tested
- Browser: Google Chrome 156.0.8078.80 in a normal window (not headless) on an Apple M5 MacBook with a Retina display, so the device pixel ratio was 2.
- The command: a Puppeteer script opened DevTools, then ran DevTools' own
emulation.capture-full-height-screenshot action inside the DevTools window and collected the PNG it downloaded. This is the same code path as choosing the command from the menu.
- Window: 1,440 × 1,000. DevTools was docked on the right, so the page itself was 885 × 715 CSS pixels.
- Two runs per page: one 2 seconds after the load event, and one after scrolling the page to the bottom and back to the top.
- Pages: a local test page we wrote (a fixed header, a 100vh hero, six
loading="lazy" images served with a 300 ms delay, six blocks that only appear when an IntersectionObserver sees them, and a red footer), plus github.com, vercel.com, apple.com/iphone, unsplash.com and web.dev's article on lazy loading.
Results
DevTools always shows 8,192 CSS pixels of page at most on this screen (16,384 ÷ 2).
| Page | Page height (CSS px) | Image height (px) | Share of page in the image | Right after load | After a scroll pass |
|---|
| Local test page | 10,615 | 16,384 | 77% | 4 of the 5 lazy images in the image grey; all 5 scroll-in blocks missing | All filled in; footer still cut off |
| github.com | 12,576 | 16,384 | 65% | Product illustrations empty; 11 of 22 images loaded | Filled in; 22 of 22 loaded |
| apple.com/iphone | 17,521 | 16,384 | 47% | Large product sections empty | Filled in |
| web.dev lazy-loading article | 13,288 | 16,384 | 62% | No gaps; all 16 images loaded | Same |
| vercel.com | 5,407 (6,890 after scrolling) | 10,814 / 13,780 | 100% | Lower sections blank | Lower sections still blank |
| unsplash.com | 6,506 (11,676 after scrolling) | 13,012 / 16,384 | 100% / 70% | Most photos blurred placeholders; 30 of 66 images loaded | Still blurred placeholders |
The test page shows all three problems at once. Right after load, only the first lazy image had arrived and none of the scroll-in blocks were visible. After scrolling, all of them were there, but the image still ended in section 5, with the footer gone.

GitHub's illustrations animate in as they scroll into view, so a capture taken straight after load has empty frames. Apple's iPhone page behaves the same way, with whole sections fading in on scroll:

web.dev came out complete because its images use the browser's native loading="lazy". web.dev's own article says Chrome starts loading those images 1,250 px before they reach the viewport on fast connections, and on this page all 16 were already loaded at capture time. Images and sections shown by JavaScript when they scroll into view, like GitHub's and Apple's, don't get that head start. Our article on blank images in full-page screenshots covers the lazy-loading patterns in more detail.
Two pages were not fixed by scrolling. Vercel's lower sections stayed blank in every capture we made, and we didn't find the cause. Unsplash showed blurred placeholders instead of most photos, before and after scrolling, and its feed kept growing as we scrolled, so there is no bottom to reach.

Why DevTools crops at 16,384 pixels
We sent DevTools' exact command ourselves and saved the result without cropping. With the GPU on, which is Chrome's default, the 21,114-pixel image was wrong below row 16,384: from there down it repeated the top of the page, pixel for pixel, instead of showing sections 5 and 6 and the footer. With Chrome started with --disable-gpu, the same command returned the whole page correctly. Headless Chrome on the same Mac behaved the same way: the top repeated with the GPU on, and the full page came back with it off.
So DevTools trades a wrong bottom for a missing one. Both are silent, and the missing one is at least honest about what's there. This is on our Mac; we didn't test Windows or Linux GPUs.
Workarounds that worked
- Scroll first. Scroll to the bottom and back before running the command. To do it reliably, paste this into the DevTools Console, wait for it to finish, then run the command. It stops after 20,000 CSS pixels so endless feeds don't keep it going. We ran exactly these lines in the page before each "after a scroll pass" capture above.
const stop = Math.min(document.documentElement.scrollHeight, 20000);
for (let y = 0; y < stop; y += innerHeight / 2) {
scrollTo(0, y);
await new Promise((r) => setTimeout(r, 150));
}
scrollTo(0, 0);
-
Capture at a device pixel ratio of 1. The limit is in device pixels, so a ratio of 1 doubles the page height that fits on a Retina screen. When we started Chrome with --force-device-scale-factor=1, which is what a 1× monitor gives you, DevTools saved the whole 10,615-pixel test page after a scroll pass. Device Mode also has a device pixel ratio menu (More options, then Add device pixel ratio), but we didn't test the capture through that menu.
-
Undock DevTools or dock it at the bottom if you want the page at the width your users see. Docked on the right in our window, it squeezed the page to 885 CSS pixels wide, a narrower layout than the window size suggests.
-
For pages taller than 16,384 CSS pixels, or for repeat captures, use a script. This Puppeteer script scrolls first, stops on endless pages, keeps under the limit, and clips the image honestly when a page is too tall.
import puppeteer from "puppeteer-core";
const [url, out, scale = "1"] = process.argv.slice(2);
const MAX_HEIGHT = 16_384 / Number(scale);
const browser = await puppeteer.launch({
executablePath: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
});
try {
const page = await browser.newPage();
await page.setViewport({ width: 1280, height: 800, deviceScaleFactor: Number(scale) });
await page.goto(url, { waitUntil: "networkidle2", timeout: 45_000 });
const reached = await page.evaluate(async (max) => {
let y = 0;
while (y < Math.min(document.documentElement.scrollHeight, max)) {
y += innerHeight / 2;
scrollTo(0, y);
await new Promise((r) => setTimeout(r, 200));
}
scrollTo(0, 0);
return document.documentElement.scrollHeight;
}, MAX_HEIGHT);
await page.waitForNetworkIdle({ idleTime: 500, timeout: 15_000 }).catch(() => {});
await page.evaluate(() => document.fonts.ready);
const height = Math.min(reached, MAX_HEIGHT);
await page.screenshot({
path: out,
fullPage: reached <= MAX_HEIGHT,
clip: reached > MAX_HEIGHT ? { x: 0, y: 0, width: 1280, height } : undefined,
captureBeyondViewport: true,
});
console.log(`${url}: page ${reached} px tall, saved ${height} px to ${out}`);
} finally {
await browser.close();
}
With the puppeteer package instead of puppeteer-core, drop the executablePath line to use its bundled browser. Our run at a 1,280-pixel-wide viewport printed:
http:
https:
https:
https:
https:
https:
The test page, GitHub, Apple and web.dev came out complete, footers included. Apple's 16,195-pixel page only just fit. Vercel's lower sections were partly blank again. Unsplash's 800-pixel result is not a success: the image is an "Access Denied" page, because the site refused this headless browser. Check what a script saved, not just its size.
If you need a scale of 2 for a page taller than 8,192 CSS pixels, start Chrome with --disable-gpu, which gave correct images past 16,384 pixels in our tests, or capture the page in parts with clip and join them. Our free screenshot tool and the API docs cover full-page captures without running a browser yourself.
What to take away
- DevTools' full-size screenshot never goes past 16,384 pixels, which is 8,192 CSS pixels on a Retina screen. It doesn't warn you.
- It doesn't scroll, so content that loads or animates in on scroll is missing unless you scroll first.
- Native
loading="lazy" images near the top of a page usually load in time; images and sections shown by scroll scripts usually don't.
- Some pages, like Vercel's and Unsplash's here, need more than a scroll. Look at the image before you use it.