**TL;DR**

- Use For Each Link switched to Next page and pick the pagination Next link once to walk page 1, page 2, and beyond.
- Put Save Text inside Each Link (or chain another loop for detail pages) so every visited page stays in one dataset.
- Export the collected table as CSV, JSON, or Markdown from Dashboard → Data after testing a 2- or 3-page pass.

import StoreCta from "../../components/StoreCta.astro";

To scrape paginated web pages to CSV in Chrome without code, add [For Each Link](/steps/for-each-link) in [Tab Automation](/), switch its source to **Next page**, pick the site's **Next** link once, and place [Save Text](/steps/save-text) inside **Each Link**.

The automation starts on the current listing page, saves the selected fields, reads the **Next** link's URL, opens page 2 in the same assigned tab, and continues until there is no Next link left or your page cap is reached. Everything exports cleanly from **Dashboard → Data** as CSV, JSON, or Markdown.

## When Next page pagination fits

For Each Link supports four URL sources: **On page**, **Paste list**, **Sitemap**, and **Next page**. Pick **Next page** when a directory, product list, forum thread, or archive spreads records across `?page=1`, `?page=2`, `?page=3`, and so on via a regular `<a href="...">` link.

Two important constraints before you build:

- **Follows real `http(s)` links only.** The Next link must carry an HTTP(S) `href` address. Buttons that trigger JavaScript requests in place or infinite-scroll feeds without a next-page URL are not supported.
- **One Save Text row per visited page.** Each pass of Save Text saves one row for that visited page URL (using the named columns you pick). If a page shows 20 directory items and you need a separate spreadsheet row per item's **detail page**, collect the detail links on each page instead or follow [how to scrape data from a website without code](/blog/extract-text-web-pages-csv-chrome).

<StoreCta fallback="/#how-it-works" showNote={false} placement="guide-demo" />

## Step-by-step: paginate and save text to CSV

You’ll need Tab Automation installed. Custom automations and the full [Dashboard](/dashboard) are free. Open page 1 of your paginated listing before you start.

1. Open the Tab Automation side panel and click **New automation**.
2. Under **Tab & startup**, turn off **Run in a new tab** and select page 1's tab.
3. Click **Add step** and choose [For Each Link](/steps/for-each-link).
4. Switch the link source to **Next page**.
5. Click **Pick Next link** and click the page's **Next** button or anchor on the site. Tab Automation saves that link selector and records page 1 as **Start**.
6. Set **Up to** (default is **20** pages). Start with `2` or `3` for your first test pass so you can verify selector stability across page 1 and page 2.
7. Inside **Each Link**, add a brief [Wait / Delay](/steps/wait-delay) (for example, `2` to `5` seconds **Fixed**) if the page loads dynamic content after navigation.
8. Also inside **Each Link**, add [Save Text](/steps/save-text). Click **Pick text**, select each visible field you want as a column, give the columns clear names, and click **Done**.
9. Keep [Repeat](/steps/repeat) off in the End block for a single paginated pass, then click **Save & run**.

When page 1 finishes its inner steps, Tab Automation inspects the Next link on page 1, queues that resolved HTTP(S) URL, opens page 2 in the assigned tab, and repeats automatically. The run stops cleanly when the Next link disappears, becomes disabled, points to a URL already seen in the walk, or reaches your **Up to** page cap.

## Pausing, resuming, and testing safely

- **Always start small.** Set **Up to** to `3` first, inspect all three rows in **Dashboard → Data**, and verify that columns line up identically on pages 2 and 3. Some sites highlight page 1 differently or shift layout elements once filters appear.
- **Skip visited does not block pagination.** Unlike **On page** or **Sitemap**, **Next page** ignores **Skip visited** and **Ignore** rules—though Tab Automation automatically guards against infinite loops if a Next link points back to an already-queued URL.
- **Safe pause & restart.** Because discovered pages persist as the automation progresses, **Pause** and **Resume** continue smoothly from the current page.

## Review rows and export to CSV

Once the run completes (or pauses cleanly):

1. Open **Dashboard → Data** from the side panel.
2. Open your run's dataset to preview every collected column, alongside `Source URL`, `Saved at` (UTC timestamp), and any field `Warnings`.
3. Click **Export…**, select **CSV** (or **JSON** / **Markdown**), and confirm **Export** to save the file to Downloads.

Files and datasets remain locally in your browser's extension storage until you delete them. Export stays disabled while a run is actively executing; pause or wait for completion first.

## Troubleshooting paginated scrapes

- **Stops after page 1:** Inspect [Activity](/steps/activity) to see if the Next link selector missed, matched a non-HTTP `href` (such as `#` or `javascript:void(0)`), or matched a disabled control. Use Chrome DevTools or **Which match to use** if your page has both **Previous** and **Next** anchors sharing a class.
- **Missing fields on page 2:** Add or increase the inner [Wait / Delay](/steps/wait-delay) before **Save text**, or check whether the CSS selector relied on page-1-specific positioning.
- **Chrome must stay open.** Paginated walks pause if you quit Chrome and pick up when reopened depending on state, so keep your desktop browser open until the batch finishes.

Read [how to walk through links in Chrome](/blog/walk-through-links-in-chrome) for **On page**, **Paste list**, and **Sitemap** options, or [export data behind a login to CSV](/blog/export-data-website-behind-login-csv) when pages sit inside an authenticated session.
