User Agents

Web browsers and everyday web tech, explained

Screenshots with Chrome DevTools: Full Guide

· 5 min read · Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Chrome DevTools can capture screenshots of a page in several ways: a full-page screenshot, a screenshot of a specific element, or a screenshot of the current viewport. This is built into the browser, so no extensions or external tools are needed. You can use it to document bugs, save a design, or share a long webpage without scrolling and stitching images together.

What You'll Need

  • Google Chrome (any recent version, desktop)
  • A webpage you want to capture
  • Optional: a mouse or trackpad for right-clicking

Step-by-Step

  1. Open Chrome DevTools. Navigate to the page you want to screenshot. Then open DevTools by pressing F12 or Ctrl+Shift+I (Windows/Linux) or Cmd+Option+I (Mac). You can also right-click anywhere on the page and select Inspect.
  2. Open the command menu. With DevTools focused, press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac). This opens the Command Menu — a searchable list of all DevTools actions.
  3. Type “screenshot”. In the Command Menu, type screenshot. You’ll see several options appear, including:
    • Capture full size screenshot — captures the entire page, including content below the fold.
    • Capture screenshot — captures only the visible viewport.
    • Capture node screenshot — captures a single element (see step 5).
  4. Choose the type and press Enter. Click the option you want or use the arrow keys and press Enter. Chrome will automatically download a PNG file to your default Downloads folder. The filename is usually a timestamp, e.g., fullpage_2025-01-15_14-32-05.png.
  5. Capture a specific element (optional). If you only want a button, image, or section:
    1. In DevTools, click the Inspect icon (the arrow cursor in the top-left of DevTools) or press Ctrl+Shift+C (Windows/Linux) / Cmd+Shift+C (Mac).
    2. Click the element on the page. The HTML for that element is highlighted in the Elements panel.
    3. Right-click the highlighted HTML line and choose Capture node screenshot. The PNG will download.
  6. Use the device toolbar for custom sizes (optional). If you need a screenshot at a specific resolution (e.g., mobile viewport), click the device toolbar icon (a small phone/tablet icon) in the top-left of DevTools, or press Ctrl+Shift+M (Windows/Linux) / Cmd+Shift+M (Mac). Then select a device or set a custom width/height. After that, follow steps 2–4.

Common Mistakes

  • Not focusing DevTools first. The Command Menu shortcut only works when DevTools is the active window. If you press it while the page is focused, it might open a browser search bar instead.
  • Choosing “Capture screenshot” when you meant “full size”. The default “Capture screenshot” only grabs the visible area. If you want the whole page, explicitly pick “Capture full size screenshot”.
  • Forgetting to close the Command Menu before clicking. If you click on the page while the menu is still open, the click might be ignored. Press Esc to close the menu first.
  • Using the wrong shortcut on Mac. On Mac, it’s Cmd+Shift+P, not Ctrl. Using Ctrl will not open the Command Menu.

Tips

  • Use “Capture node screenshot” for UI elements. It’s the quickest way to get a clean, cropped image of a single component without manual cropping.
  • Set a custom viewport for consistent results. If you’re documenting a responsive design, use the device toolbar to set a specific width (e.g., 375px) before capturing. That way, the screenshot matches your target device.
  • Check the Downloads folder. Screenshots are saved as PNG files directly to your default download location. If you don’t see them, look for a “Downloads” folder or check your browser’s download settings.
  • Use the “full size” option for long pages. It handles pages that scroll, so you don’t have to manually stitch multiple screenshots together.
  • Rename files immediately. The default filename is a timestamp, which is not descriptive. Rename the file right after capture so you can find it later.

Troubleshooting

  • Command Menu doesn’t open. Make sure DevTools is focused. Click anywhere inside DevTools (e.g., on the Elements panel) and then press the shortcut again. If it still doesn’t work, try using the three-dot menu in DevTools → More tools → Run command.
  • Screenshot is blank or black. This can happen if the page has hardware acceleration issues or if the page uses canvas/WebGL that isn’t captured correctly. Try disabling hardware acceleration in Chrome settings (Settings → System → “Use hardware acceleration when available” off) and restarting Chrome. Also, try scrolling to the top of the page before capturing.
  • Full-page screenshot is cut off. Some pages use infinite scrolling or lazy-loading images. The full-page capture only includes content that is loaded in the DOM at the moment. Scroll through the page first to trigger lazy loading, then capture again.
  • File doesn’t appear in Downloads. Chrome may be asking where to save the file, or your download folder might be set to a custom location. Check the bottom-left of the browser for a download bar, or go to chrome://downloads to see recent downloads.
  • “Capture node screenshot” is grayed out. This option only appears when you right-click an element in the Elements panel. Make sure you’re right-clicking the HTML line, not the page preview.

Frequently Asked Questions

Can I take a screenshot of a specific area without using an element?

No, DevTools only offers full-page, viewport, or element capture. For a custom region, use your operating system’s built-in screenshot tool (e.g., Snipping Tool on Windows, Shift+Cmd+4 on Mac).

Does the screenshot include scrollbars?

No, the captured image does not include browser scrollbars. The full-page capture removes them automatically.

Can I take a screenshot of a page that requires login?

Yes, as long as you are logged in in that Chrome profile. The screenshot captures exactly what is rendered in the browser, including authenticated content.

What is the difference between “Capture screenshot” and “Capture full size screenshot”?

“Capture screenshot” takes a picture of the visible viewport only — what you see on screen. “Capture full size screenshot” captures the entire page height, including content that requires scrolling.

Can I set the file format or resolution?

No, DevTools always saves as PNG at the device pixel ratio of your screen. For a different resolution, use the device toolbar to change the viewport size before capturing.

Is there a way to capture a screenshot without downloading the file?

No, the DevTools screenshot feature always downloads the file. If you need to copy it to the clipboard, use your operating system’s screenshot tool instead.