The reference shelf for website screenshots
Cheat sheets, comparisons and how-tos from the team behind CurlShot. Each article answers one question first, shows the numbers, and lists where they come from.
Follow by feedLatestSearch questions
PDF title from Markdown: 10 questions, tested
Ten questions on the title, author, tab, bookmarks, file name and header of a PDF made from Markdown, each answered by a run read back with pdf.js.
Read the articleThe short answer
A PDF made from Markdown by CurlShot takes its title from the first heading. For different text, send document.title = 'Q3 report' in the scripts option: in a run on 27 November 2026 a title tag written in the Markdown was ignored. With no heading the title is Document. Meta tags set no author, and the API sends no outline option, so the PDFs had no bookmarks.
StoryboardA scroll video, frame by frame: a storyboardTwelve frames of a recorded page scroll, where sticky bars and animations glitch, and the frame counts and file sizes of MP4, WebM and GIF, measured.Try the tool: Scrolling video of a website
Price calculatorScreenshot API pricing at your volumeEnter your monthly captures and see each plan’s price per month and per 1,000, with repeats, retries, cache and full page counted, and a self-host line.Try the tool: Screenshot API
Agent workflowGive an AI agent eyes: a tool-calling loopA screenshot tool and the loop around it for an LLM agent: schema, host list, shot budget and timeouts, run against 11 behaviours on a local stand-in.Try the tool: Screenshot API
Rules of thumbScan all pages of a website: 14 rules of thumb14 short rules for capturing every page of a site: sitemap, robots, rate, query strings, paging, calendars, sign-ins, retries. Each one measured.Try the tool: Bulk screenshots
Before and afterAds, popups, chat bubbles: before and afterTen test pages with an ad, a chat bubble, cookie bars and popups, each captured before and after, with the option that removed it and what it cost.Try the tool: Screenshot without ads
Trade-off tableWeb page to PDF: print, screenshot or slices?A PDF of a web page as print output, one screenshot or sliced images, tested on four pages: text, links, breaks, size and fidelity, with a pick per reader.Try the tool: Web page to PDF
Q&A with the docs11 questions for the Chrome screenshot docsPage.captureScreenshot and Puppeteer page.screenshot docs, quoted, then checked in Chrome 153: where they hold, run short, say nothing or are wrong.Try the tool: Screenshot API
WorksheetFill in a capture brief before you automateEight decisions before you automate screenshots: pages, widths, format, waits, hiding, schedule, storage, budget. A worksheet that prints your request.Try the tool: Screenshot API
System mapOne screenshot request, mapped stop by stopThe ten stops between a screenshot call and the image: what each does, how long it takes, and the error it returns. Timed on the real renderer.Try the tool: Screenshot API
Failure diaryCapturing a single-page app: a failure diaryEight blank or half-drawn screenshots of one small single-page app, why each happened, and which wait option fixed it, with the real results.Try the tool: URL to image
Open datasetWebsite thumbnail dataset: 34 home pagesOpen dataset: page height, requests, load time and thumbnail bytes as PNG, JPEG and WebP for 34 open-project home pages. Copy it or download CSV.Try the tool: URL to image
One numberWeb fonts in HTML to image: the 0.5 s waitOne number from 405 renders: when a page asks for its web font late, captures before 0.5 s showed the wrong font. The fix is a marker, not a longer delay.Try the tool: HTML to image
LetterA letter to a founder about link previewsWhat Facebook, LinkedIn, WhatsApp and Slack say they do with your og:image tags, how to check a page before launch, and one card per page made from HTML.Try the tool: HTML to image
TimelineiPhone and iPad viewport sizes, 2007 to 2026How iPhone and iPad CSS viewport widths changed from 2007 to 2026, model by model on a timeline, and the widths worth capturing today.Try the tool: Mobile screenshot
n8n workflowScreenshot a list of URLs in n8nAn importable n8n workflow: read URLs from a Google Sheet or a webhook, take each screenshot, write the link back. Retries 429, stops on 402.Try the tool: Bulk screenshots
EstimatorHow much storage do daily screenshots take?Measured sizes of 7 real pages as PNG, JPEG and WebP at 4 widths, plus an estimator: GB a month, a year and held, with and without dedupe.Try the tool: Screenshot API
TeardownTeardown: a Wikipedia article, full pageOne long Wikipedia article captured with plain Chromium at 27,404 px: five things that broke, each with a crop of the evidence and the fix.Try the tool: Full-page screenshot
Spot the differenceWebsite to JPG: spot the difference by qualityWhich of six crops is the lossless PNG? A website-to-JPG test at 12 quality levels, with bytes for each and the level to pick for email, slides and proof.Try the tool: URL to image
Measured testLazy images and full-page captures, measuredFive ways a page loads pictures on scroll, seven scroll rules, 105 runs in Chromium: which full-page captures come back with every picture.Try the tool: Full-page screenshot
CI workflowScreenshot every pull request in GitHub ActionsBuild a GitHub Actions workflow that screenshots your pull request preview on every push: pages, widths and format, retries, and a plan size.Try the tool: Screenshot API
Annotated requestA Markdown to PDF request, read line by lineOne Markdown-to-PDF request, read line by line, with what each line does to the PDF: title, margins, code width, tables, links, footnotes, page breaks.Try the tool: Markdown to PDF
Myth listSix screenshot myths, tested in ChromiumSix beliefs about website screenshots, run through Chromium on test pages: width, height, retina size, transparency, full page and repeatability.Try the tool: Full-page screenshot
Pre-launch auditOne screenshot per template, not per pageCheck a site before launch with a few pictures, not thousands. Five real sitemaps grouped by page template, a sampler to paste yours into, and an audit sheet.Try the tool: Mobile screenshot
Recipe cardInvoice PDF from HTML: a recipe cardAn invoice from HTML to an A4 PDF in one request: the HTML, the call, and a test of 41 invoices that shows which print CSS rules matter.Try the tool: HTML to PDF
QuizURL to image quiz: 8 questions, explainedEight requests that turn a URL into an image. Guess what each one returns, then read why: formats, size, crop, full page, cache. Score yourself.Try the tool: URL to image
Migration notesFrom html-to-image to an API: migration notesEvery html-to-image option and what replaces it in a screenshot API, plus a test of eight pages: the library and html2canvas against a real browser.Try the tool: HTML to image
Decision treeHow to save a web page: 3 questions, 8 endingsClick through up to 3 questions to find the right way to save a web page: browser, PDF, public archive or API. Each of 8 endings lists what it misses.Try the tool: Save a web page online
Error dictionary15 curl errors on a screenshot call, with fixes15 curl errors from real runs of a screenshot call: the exact message, what it means, how to check it and the fix. Paste yours to look it up.Try the tool: Screenshot API
Buyer’s guideFree screenshot APIs: what the free plans includeThe free plans and trials of seven screenshot services, what 100 free screenshots a month covers, how to stretch it, and when paying makes sense.Try the tool: Free screenshot API
ComparisonScreenshot API comparison: prices and free plansUrlbox, ScreenshotOne, ApiFlash, ScreenshotAPI.net and ScreenshotMachine side by side: free plans, price at 10,000 a month, formats, MCP and storage.Try the tool: Screenshot API
GlossaryWeb capture glossary: 63 screenshot terms, A to Z63 screenshot, rendering and web capture terms, each defined in one or two sentences with a source, an example and the terms it connects to.Try the tool: Screenshot API
Cheat sheetWebsite thumbnail sizes: how small can it getThumbnail sizes for link lists, cards and previews, the viewport to capture from, 2x files for sharp screens, and the width where text stops being readable.Try the tool: Website thumbnail
PlaybookWebsite change monitoring with screenshotsHow to get told when a web page changes: the capture and compare loop, three ways to detect a change, a noise checklist, a cron and Node.js setup, and tools.Try the tool: Element screenshot
PlaybookHow to screenshot a list of URLs in bulkScreenshot hundreds or thousands of URLs: a queue simulator that says how long it takes, a short Node.js script, and what fails at scale.Try the tool: Bulk screenshots
Rosetta stoneWebsite screenshot code examples in 8 languagesThe shortest working code to save a full-page screenshot of a website in curl, Node.js, Python, PHP, Go, Ruby, Java and C#, side by side.Try the tool: URL to image
GuideHow to screenshot a page behind a login, safelyFour ways to screenshot a page that needs a login: session cookie, bearer token, Basic auth or a signed link. What each one risks, and the safest pattern.Try the tool: Screenshot behind a login
CookbookHTML to image: six templates you can copySix copyable HTML and CSS templates: social card, certificate, receipt, quote card, ticket and stat card, with sizes and the rules that make them render right.Try the tool: HTML to image
ComparisonRecord a web page as video: MP4, WebM or GIFHow to record a web page scrolling from top to bottom, and which file to make: MP4, WebM or GIF compared, with measured file sizes and where each one plays.Try the tool: Scrolling video of a website
PlaygroundCSS selectors for element screenshotsType a CSS selector, see what it matches on a specimen page and what a capture returns. With a cheat sheet, a robustness ranking and fixes.Try the tool: Element screenshot
AnatomyHow cookie banners work, and how to hide themA cookie banner taken apart layer by layer: why sites show one, how it works, and three ways to remove it from a screenshot, with what each leaves behind.Try the tool: Screenshot without cookie banners
ExplainerHow to screenshot a website in dark modeHow to capture any site in dark or light mode, the three ways a site switches its theme, why a page ignores your dark setting, and the fix for each case.Try the tool: Dark mode screenshot
CalculatorScreenshot API vs headless browser: the real costA cost calculator with every assumption editable, the hidden work behind headless Chrome, and an honest checklist for build or buy.Try the tool: Puppeteer screenshot API
ChecklistCapture a web page as evidence that holds upA checklist for saving a web page as a credible record: what to capture, how to fix the time with a hash and timestamp, and what makes a screenshot weak.Try the tool: Web page to PDF
GuideVisual regression testing, explained in picturesHow screenshot comparison works, why visual tests go flaky and how to fix each cause, the tools, and a set-up checklist with a Playwright example.Try the tool: Screenshot API
ExplainerScreenshots for AI agents: let a model see a pageWhen to give an AI agent a screenshot, HTML, markdown or the accessibility tree, what a screenshot costs in tokens on each vendor, and how to wire it up.Try the tool: Screenshots for AI agents
ReferenceWeb page to PDF: paper sizes, margins, print CSSPaper sizes in millimetres, inches, CSS pixels and points, how margins and page breaks work in a PDF of a web page, and the print CSS that controls them.Try the tool: Web page to PDF
Cheat sheetViewport sizes cheat sheet: phones to desktopsViewport sizes in CSS pixels, screenshot sizes and device pixel ratios of iPhone, Pixel, Galaxy, iPad and laptop screens, drawn to scale, and the sizes to test.Try the tool: Mobile screenshot
Field guideWhy website screenshots look wrong, and the fixesA field guide to 11 ways a website screenshot goes wrong, from blank lazy images to cookie banners and cut-off pages, with the cause and the fix for each.Try the tool: Website screenshot
ComparisonPNG, JPEG, WebP or PDF for website screenshotsA decision flow, a comparison table and our own file-size measurements for choosing PNG, JPEG, WebP or PDF when you save a screenshot of a web page.Try the tool: URL to image
How-toFull-page screenshot on every device and browserExact keys and menu names to screenshot a whole web page in Chrome, Firefox, Edge, Safari, iPhone, iPad and Android, checked against each vendor.Try the tool: Full-page screenshot
Cheat sheetSocial preview image sizes: the OG cheat sheetOpen Graph image sizes for Facebook, LinkedIn, WhatsApp, iMessage, Discord, Slack and Google Discover, drawn to scale, with the tags and the fixes.Try the tool: Open Graph images
46 more articles
- Trade-off tableWeb page to PDF: print, screenshot or slices?A PDF of a web page as print output, one screenshot or sliced images, tested on four pages: text, links, breaks, size and fidelity, with a pick per reader.
- Q&A with the docs11 questions for the Chrome screenshot docsPage.captureScreenshot and Puppeteer page.screenshot docs, quoted, then checked in Chrome 153: where they hold, run short, say nothing or are wrong.
- WorksheetFill in a capture brief before you automateEight decisions before you automate screenshots: pages, widths, format, waits, hiding, schedule, storage, budget. A worksheet that prints your request.
- System mapOne screenshot request, mapped stop by stopThe ten stops between a screenshot call and the image: what each does, how long it takes, and the error it returns. Timed on the real renderer.
- Failure diaryCapturing a single-page app: a failure diaryEight blank or half-drawn screenshots of one small single-page app, why each happened, and which wait option fixed it, with the real results.
- Open datasetWebsite thumbnail dataset: 34 home pagesOpen dataset: page height, requests, load time and thumbnail bytes as PNG, JPEG and WebP for 34 open-project home pages. Copy it or download CSV.
- One numberWeb fonts in HTML to image: the 0.5 s waitOne number from 405 renders: when a page asks for its web font late, captures before 0.5 s showed the wrong font. The fix is a marker, not a longer delay.
- LetterA letter to a founder about link previewsWhat Facebook, LinkedIn, WhatsApp and Slack say they do with your og:image tags, how to check a page before launch, and one card per page made from HTML.
- TimelineiPhone and iPad viewport sizes, 2007 to 2026How iPhone and iPad CSS viewport widths changed from 2007 to 2026, model by model on a timeline, and the widths worth capturing today.
- n8n workflowScreenshot a list of URLs in n8nAn importable n8n workflow: read URLs from a Google Sheet or a webhook, take each screenshot, write the link back. Retries 429, stops on 402.
- EstimatorHow much storage do daily screenshots take?Measured sizes of 7 real pages as PNG, JPEG and WebP at 4 widths, plus an estimator: GB a month, a year and held, with and without dedupe.
- TeardownTeardown: a Wikipedia article, full pageOne long Wikipedia article captured with plain Chromium at 27,404 px: five things that broke, each with a crop of the evidence and the fix.
- Spot the differenceWebsite to JPG: spot the difference by qualityWhich of six crops is the lossless PNG? A website-to-JPG test at 12 quality levels, with bytes for each and the level to pick for email, slides and proof.
- Measured testLazy images and full-page captures, measuredFive ways a page loads pictures on scroll, seven scroll rules, 105 runs in Chromium: which full-page captures come back with every picture.
- CI workflowScreenshot every pull request in GitHub ActionsBuild a GitHub Actions workflow that screenshots your pull request preview on every push: pages, widths and format, retries, and a plan size.
- Annotated requestA Markdown to PDF request, read line by lineOne Markdown-to-PDF request, read line by line, with what each line does to the PDF: title, margins, code width, tables, links, footnotes, page breaks.
- Myth listSix screenshot myths, tested in ChromiumSix beliefs about website screenshots, run through Chromium on test pages: width, height, retina size, transparency, full page and repeatability.
- Pre-launch auditOne screenshot per template, not per pageCheck a site before launch with a few pictures, not thousands. Five real sitemaps grouped by page template, a sampler to paste yours into, and an audit sheet.
- Recipe cardInvoice PDF from HTML: a recipe cardAn invoice from HTML to an A4 PDF in one request: the HTML, the call, and a test of 41 invoices that shows which print CSS rules matter.
- QuizURL to image quiz: 8 questions, explainedEight requests that turn a URL into an image. Guess what each one returns, then read why: formats, size, crop, full page, cache. Score yourself.
- Migration notesFrom html-to-image to an API: migration notesEvery html-to-image option and what replaces it in a screenshot API, plus a test of eight pages: the library and html2canvas against a real browser.
- Decision treeHow to save a web page: 3 questions, 8 endingsClick through up to 3 questions to find the right way to save a web page: browser, PDF, public archive or API. Each of 8 endings lists what it misses.
- Error dictionary15 curl errors on a screenshot call, with fixes15 curl errors from real runs of a screenshot call: the exact message, what it means, how to check it and the fix. Paste yours to look it up.
- Buyer’s guideFree screenshot APIs: what the free plans includeThe free plans and trials of seven screenshot services, what 100 free screenshots a month covers, how to stretch it, and when paying makes sense.
- ComparisonScreenshot API comparison: prices and free plansUrlbox, ScreenshotOne, ApiFlash, ScreenshotAPI.net and ScreenshotMachine side by side: free plans, price at 10,000 a month, formats, MCP and storage.
- GlossaryWeb capture glossary: 63 screenshot terms, A to Z63 screenshot, rendering and web capture terms, each defined in one or two sentences with a source, an example and the terms it connects to.
- Cheat sheetWebsite thumbnail sizes: how small can it getThumbnail sizes for link lists, cards and previews, the viewport to capture from, 2x files for sharp screens, and the width where text stops being readable.
- PlaybookWebsite change monitoring with screenshotsHow to get told when a web page changes: the capture and compare loop, three ways to detect a change, a noise checklist, a cron and Node.js setup, and tools.
- PlaybookHow to screenshot a list of URLs in bulkScreenshot hundreds or thousands of URLs: a queue simulator that says how long it takes, a short Node.js script, and what fails at scale.
- Rosetta stoneWebsite screenshot code examples in 8 languagesThe shortest working code to save a full-page screenshot of a website in curl, Node.js, Python, PHP, Go, Ruby, Java and C#, side by side.
- GuideHow to screenshot a page behind a login, safelyFour ways to screenshot a page that needs a login: session cookie, bearer token, Basic auth or a signed link. What each one risks, and the safest pattern.
- CookbookHTML to image: six templates you can copySix copyable HTML and CSS templates: social card, certificate, receipt, quote card, ticket and stat card, with sizes and the rules that make them render right.
- ComparisonRecord a web page as video: MP4, WebM or GIFHow to record a web page scrolling from top to bottom, and which file to make: MP4, WebM or GIF compared, with measured file sizes and where each one plays.
- PlaygroundCSS selectors for element screenshotsType a CSS selector, see what it matches on a specimen page and what a capture returns. With a cheat sheet, a robustness ranking and fixes.
- AnatomyHow cookie banners work, and how to hide themA cookie banner taken apart layer by layer: why sites show one, how it works, and three ways to remove it from a screenshot, with what each leaves behind.
- ExplainerHow to screenshot a website in dark modeHow to capture any site in dark or light mode, the three ways a site switches its theme, why a page ignores your dark setting, and the fix for each case.
- CalculatorScreenshot API vs headless browser: the real costA cost calculator with every assumption editable, the hidden work behind headless Chrome, and an honest checklist for build or buy.
- ChecklistCapture a web page as evidence that holds upA checklist for saving a web page as a credible record: what to capture, how to fix the time with a hash and timestamp, and what makes a screenshot weak.
- GuideVisual regression testing, explained in picturesHow screenshot comparison works, why visual tests go flaky and how to fix each cause, the tools, and a set-up checklist with a Playwright example.
- ExplainerScreenshots for AI agents: let a model see a pageWhen to give an AI agent a screenshot, HTML, markdown or the accessibility tree, what a screenshot costs in tokens on each vendor, and how to wire it up.
- ReferenceWeb page to PDF: paper sizes, margins, print CSSPaper sizes in millimetres, inches, CSS pixels and points, how margins and page breaks work in a PDF of a web page, and the print CSS that controls them.
- Cheat sheetViewport sizes cheat sheet: phones to desktopsViewport sizes in CSS pixels, screenshot sizes and device pixel ratios of iPhone, Pixel, Galaxy, iPad and laptop screens, drawn to scale, and the sizes to test.
- Field guideWhy website screenshots look wrong, and the fixesA field guide to 11 ways a website screenshot goes wrong, from blank lazy images to cookie banners and cut-off pages, with the cause and the fix for each.
- ComparisonPNG, JPEG, WebP or PDF for website screenshotsA decision flow, a comparison table and our own file-size measurements for choosing PNG, JPEG, WebP or PDF when you save a screenshot of a web page.
- How-toFull-page screenshot on every device and browserExact keys and menu names to screenshot a whole web page in Chrome, Firefox, Edge, Safari, iPhone, iPad and Android, checked against each vendor.
- Cheat sheetSocial preview image sizes: the OG cheat sheetOpen Graph image sizes for Facebook, LinkedIn, WhatsApp, iMessage, Discord, Slack and Google Discover, drawn to scale, with the tags and the fixes.