Skip to content
Critical CSS

Batch Extraction for Multiple URLs

3 min read · Updated Oct 14, 2026

Extract critical CSS for up to 10 URLs in one run. Choose viewport sizes, minification and other options, then copy or download the mobile, desktop and combined CSS for each URL.

Batch Extraction for Multiple URLs

PerfBee's Critical CSS tool can process up to 10 URLs in one extraction. This saves time for anyone managing multiple websites or pages.

How Batch Extraction Works

You enter a list of URLs, configure your settings and start the extraction. PerfBee extracts the critical CSS of each URL in turn, once for a mobile viewport and once for a desktop viewport, and shows the results for all URLs when the last one is done.

Entering Several URLs

There is no separate batch mode: the same form handles one URL or many. To use batch extraction:

  1. Navigate to the PerfBee Dashboard and select Critical CSS in the sidebar.
  2. On the New Extraction tab, use the URL List field.

Pasting Multiple URLs

Paste up to 10 URLs into the URL List field. Make sure each URL is on a separate line:

https://www.example.com/page1
https://www.example.com/page2
https://www.example.com/page3

Extraction Settings

The settings apply to every URL in the list:

  • Viewport Settings: Pick a device preset (iPhone 12, iPhone SE, iPad, MacBook or Desktop) or choose Custom to enter your own mobile (width x height) and desktop (width x height) sizes. When the page opens, the sizes are mobile: 375x667 and desktop: 1920x1080.
  • Minify CSS: Compress the output CSS to reduce file size. On by default.
  • Ignore @import: Skip @import rules.
  • Ignore @font-face: Skip @font-face rules.

Batch Processing

Once you've entered the URLs and configured the settings, click Extract Critical CSS. The results for all URLs appear together when the last URL is done. Each extraction is also saved in the History tab.

Results

For each URL you'll see three files: Mobile, Desktop and Combined (the mobile CSS followed by the desktop CSS), each with its size. A URL that failed shows its error instead. For each file you can view the CSS, download it, or click Preview first load. The preview compares a screenshot of the page styled with only that critical CSS against the fully styled page and gives a visual similarity score.

Downloading Results

Each file downloads separately as a .css file, with the download button under it or the Download button in the CSS view, where you can also copy the CSS. This makes it easy to integrate the critical CSS into your website's code.

Remember, batch extraction costs 1 credit per URL, the same as single extraction. Check your credit balance in the top-right of your dashboard.