Screenshot URLs from Google Sheets
Batch capture websites from your spreadsheet and store results automatically
Turn any Google Sheets spreadsheet into a screenshot automation engine. List your URLs, run the script, and get screenshot links populated back into your sheet. Ideal for SEO audits, competitor tracking, and bulk website monitoring.
- 1
List URLs in column A
Add the URLs you want to capture to column A of your Google Sheet.
- 2
Open Apps Script
Go to Extensions > Apps Script and paste the capture script.
- 3
Run the script
Execute the script to batch-capture screenshots for all URLs.
- 4
View results
Screenshot URLs appear in column B. Set a time-based trigger for recurring captures.
1function captureScreenshots() {
2 const API_KEY = PropertiesService.getScriptProperties()
3 .getProperty('SCREENSHOT_API_KEY');
4 const sheet = SpreadsheetApp.getActiveSpreadsheet()
5 .getActiveSheet();
6 const urls = sheet.getRange('A2:A')
7 .getValues()
8 .flat();
9
10 urls.forEach((url, index) => {
11 if (!url) return; // Preserve the source row when column A has gaps.
12 const response = UrlFetchApp.fetch(
13 'https://api.allscreenshots.com/v1/screenshots',
14 {
15 method: 'post',
16 headers: {
17 'X-API-Key': API_KEY,
18 'Content-Type': 'application/json',
19 },
20 payload: JSON.stringify({
21 url: url,
22 fullPage: true,
23 responseType: 'url',
24 viewport: { width: 1280, height: 800 },
25 }),
26 }
27 );
28
29 const result = JSON.parse(response.getContentText());
30 sheet.getRange(index + 2, 2).setValue(result.storageUrl);
31 });
32}Familiar interface
Use Google Sheets as your screenshot dashboard. No new tools to learn.
Batch processing
Capture screenshots for hundreds of URLs in one script run.
Scheduled captures
Set time-based triggers in Apps Script to recapture screenshots hourly, daily, or weekly.
How many URLs can I process at once?
Google Apps Script has a 6-minute execution limit. You can typically process 100-200 URLs per run. For larger batches, use pagination or a server-side script.
Can I display screenshots inside Google Sheets?
Yes. Use the =IMAGE() formula with the screenshot URL to display thumbnails directly in your spreadsheet cells.
Is there a Google Sheets add-on?
There is no dedicated add-on, but the Apps Script example above works identically and can be set up in minutes.
- Full-page captures
- Popups and repeated sticky bars removed
- Markdown, JSON and PDF output
- Crawl a site from one URL
- Desktop, tablet and phone in one image
- Works in n8n, Make and Zapier
- MCP server for AI assistants