Urlbox

Screenshots from a CSV

Render a whole list of URLs from a CSV into a folder with the Urlbox CLI, by asking an AI agent or with a short shell loop.

A common job is "take this list of URLs and save a screenshot of each into a folder." There's no special command for it, and you don't need one.

The easiest way: ask your agent

If you have the Urlbox skill installed in an AI coding assistant like Claude Code, you can just describe the job:

"Read urls.csv and save a full-page screenshot of each URL into ./shots, named by the name column."

The agent picks a format, works through the list, and writes and runs the whole thing for you. This is the most direct way to go from a spreadsheet of URLs to a folder of images.

Or do it yourself

Given a urls.csv like:

url,name
https://stripe.com,stripe
https://nike.com,nike
https://theverge.com,verge

A short loop renders each row into ./shots:

mkdir -p shots
tail -n +2 urls.csv | while IFS=, read -r url name; do
  urlbox screenshot "$url" --full-page --output "shots/$name.png"
done

Swap screenshot for pdf or video, or add any render options you like. For a very long list, render each one asynchronously so you're not waiting on each in turn.

On this page