The PageSpeed Insights website tests one URL at a time, so to test many URLs you either check your key pages one by one, use the PageSpeed Insights API with a script or spreadsheet, or use a crawler or monitoring service for a whole site. Start with your most important pages using our free website speed test, then scale up only if you need to.
Key takeaways
- There is no built-in bulk mode in the PageSpeed Insights web page. It analyzes a single URL per run.
- The PageSpeed Insights API lets a script test many URLs and collect the scores.
- Test one page per template type (homepage, blog post, product page) before testing every URL.
- Run each URL more than once, because lab scores vary between runs.
Is there a bulk PageSpeed Insights tool?
There is no bulk option in the PageSpeed Insights web interface, which analyzes one URL per run. To test many pages, people use the PageSpeed Insights API through a script, spreadsheet or third-party tool, or they use a service that crawls and tests a whole site. Which method fits depends on how many pages you have.
Which method should you use?
Method 1: test your key pages one by one
For a small site, testing your most important pages manually is enough. Use our free page speed checker or Google PageSpeed Insights and keep a simple list of the scores.
- List your homepage, top landing pages and best-performing posts.
- Test each one on mobile first.
- Record the score and the biggest issue for each page.
- Fix the issue that appears on most pages first.
Method 2: use the PageSpeed Insights API
The PageSpeed Insights API returns the same Lighthouse results as the website, in a format a script can read. You can call it for each URL in a list and save the scores to a spreadsheet. A basic request looks like this:
https://www.googleapis.com/pagespeedonline/v5/runPagespeed?url=https://example.com/&strategy=mobile
Replace the URL with the page you want to test, and use strategy=desktop for the desktop test. For regular or heavy use, Google recommends adding an API key to the request. Check Google’s PageSpeed Insights API documentation for the current usage limits before running a large list.
Method 3: use a crawler or monitoring service
For a large site, a site audit tool or performance monitoring service can crawl your URLs and test them on a schedule. These tools usually cost money, but they save time and show trends over weeks and months instead of single results.
How do you pick which URLs to test?
You do not need to test every URL. Pages built from the same template usually have the same speed problems.
- One homepage
- One or two blog posts
- One category or archive page
- One product or service page
- Your highest-traffic and highest-revenue pages
How do you read bulk speed test results?
Look for patterns, not single numbers. If the same issue appears on most pages, such as large images or one slow script, fixing it once can improve many pages. Test each URL two or three times, because lab scores change between runs. For more on this, see whether Google PageSpeed Insights is accurate.
Frequently asked questions
Can PageSpeed Insights test multiple URLs?
Not in the web interface, which tests one URL at a time. You can test many URLs by calling the PageSpeed Insights API from a script or spreadsheet.
Is the PageSpeed Insights API free?
Google provides the API for free use within usage limits. Check Google’s documentation for the current limits and whether you need an API key.
How often should I run a bulk test?
Run one after major theme, plugin or design changes, and at least once a month for key pages.
Do I need to test every page on my site?
No. Test one page for each template type plus your most important pages.
Why are bulk results different from my manual tests?
Lab results vary with server response, network conditions and background tasks. Small differences are normal, so compare patterns across runs.
Conclusion
Testing many pages does not need a complicated setup. Start with your key pages in our free website speed test, use the PageSpeed Insights API for longer lists and fix the issues that repeat across pages first. For the full list of fixes, read our guide on how to improve website speed.