Test any website's performance directly from the browser. Measure load times using the Resource Timing API, count HTTP requests, estimate page size, and get a performance score with actionable optimization suggestions. No server-side processing needed — everything runs client-side.
Build Prompt
Build Prompt — paste into Claude Code
Build a website speed checker tool as a single-page HTML application with embedded CSS and JavaScript. The tool should let users enter a URL and run client-side performance analysis.
Create a prominent URL input field at the top with a large "Test Speed" button. When the user enters a URL and clicks test, load the target site in a hidden iframe and use the browser's Performance API (performance.getEntriesByType('resource'), PerformanceNavigationTiming) to measure loading metrics. Time how long it takes for the iframe to fire its load event to measure total page load time. Use the Resource Timing API to count the number of resource requests (scripts, stylesheets, images, fonts) and estimate their transfer sizes.
Display results in a dashboard layout with large metric cards showing: total load time in seconds with a color indicator (green under 2s, yellow 2-4s, red over 4s), number of HTTP requests, estimated total page size in KB or MB, and an overall performance score from 0-100 calculated from these metrics. Render the score inside a circular SVG gauge that fills with color matching the grade.
Below the metrics, show a detailed breakdown section with: a waterfall-style bar chart showing resource load timing for the top 20 largest resources, grouped by type (JS, CSS, images, fonts, other). Show each resource name, size, and load duration.
Include an optimization suggestions checklist based on the results. If load time is over 3 seconds, suggest lazy loading images. If there are more than 30 requests, suggest bundling resources. If total size exceeds 3MB, suggest image compression. If there are render-blocking scripts, suggest async loading. Show each suggestion with a status icon — green check if passing, yellow warning if borderline, red X if failing.
Add a comparison section showing industry benchmarks: "Average website loads in 2.5s", "Top sites load under 1s", "Mobile average is 8.6s". Position the tested site's score relative to these benchmarks on a horizontal scale.
Store test history in localStorage so users can see their last 10 tests with URL, date, score, and load time. Include a "clear history" button.
Use a dark theme with background #0a0a0f, card backgrounds #12121a, borders #1a1a2a. Performance colors: green #22c55e for good, yellow #eab308 for okay, red #ef4444 for poor. Make the layout fully responsive. Add a note explaining that client-side testing has limitations compared to server-side tools, and results may vary based on the user's connection speed.
Read the guide at https://accessagent.ai/api/guide and follow it to deploy the site to AccessAgent.ai. My email is [your@email.com].
Make It Yours
Mobile Simulation
Throttle the iframe connection to simulate 3G/4G speeds and show mobile vs desktop scores.
Competitor Comparison
Test two URLs side by side and show a comparison table highlighting which site is faster.
PDF Report
Generate a downloadable PDF report with charts, scores, and recommendations for clients.
Lighthouse Integration
Add links to run the same URL through Google PageSpeed Insights for server-side analysis.
Accessibility Check
Add basic accessibility checks like alt text presence, heading hierarchy, and contrast ratios.
Monitoring Mode
Auto-test a saved list of URLs every hour and chart load time trends over days.
SEO Tips
Target keywords like "free website speed test tool" and "page load time checker" — these have high search volume from webmasters and developers.
Add a "How to improve website speed" guide section with internal links to keep users on-page and boost dwell time.
Include structured data for the tool using SoftwareApplication schema with "Web application" as the application type.
Create comparison pages like "Website Speed Test vs GTmetrix vs PageSpeed" to capture comparison search traffic.
Add a blog section with articles about Core Web Vitals, image optimization, and CDN setup to build topical authority.
Monetization Ideas
Offer a premium monitoring service that tests sites on a schedule and sends email alerts when load times spike.
Partner with hosting companies and CDN providers — recommend them in optimization suggestions with affiliate links.
Sell white-label versions that agencies can use with their own branding to test client websites.
Create a "Speed Badge" that fast sites can embed on their pages, driving traffic back to your tool.