Free website widget
Add a real internet speed test to your website
Give visitors a responsive download, upload, ping, and jitter test with one sandboxed iframe—no account, API key, or build step required.
Real in-page measurement
Visitors can run download, upload, ping, and jitter checks without leaving the host page.
One copy-paste snippet
No package, API token, build step, or third-party JavaScript loader is required.
Sandboxed by default
The generated iframe limits capabilities while preserving the scripts and same-origin storage the test needs.
Live generator
Configure, preview, and copy
Pick a theme and maximum width. The preview below is the same compact application your visitors receive.
Copy and paste
Your embed code
The snippet uses one sandboxed iframe and a normal attribution link. It does not require an API key, build step, or third-party script.
<div style="max-width:480px;margin:0 auto">
<iframe
src="https://swiftspeedtest.com/embed?theme=system"
title="Internet speed test by SwiftSpeedTest"
width="100%"
height="680"
loading="lazy"
sandbox="allow-scripts allow-same-origin"
referrerpolicy="strict-origin-when-cross-origin"
style="display:block;width:100%;border:0;border-radius:16px;overflow:hidden"
></iframe>
<p style="margin:8px 0 0;text-align:center;font:12px/1.5 system-ui,sans-serif;color:#64748b">
Powered by <a href="https://swiftspeedtest.com/speed-test-widget" style="color:inherit;font-weight:600">SwiftSpeedTest</a>
</p>
</div>Two-minute installation
Publish the widget in three steps
- 1
Choose theme and width
Match the host page or follow each visitor's device theme.
- 2
Copy the generated HTML
The snippet includes the sandboxed iframe and a method link.
- 3
Paste into an embed block
Use a Custom HTML, Code, or Embed block, then publish.
What visitors receive
- Adaptive download and upload measurement
- Idle ping and jitter results
- Automatic low-data or full-capacity planning
- Keyboard-accessible progress and cancellation
- Results retained locally in that browser
Accuracy and privacy limits
Browser tests vary with device load, Wi-Fi, routing, and the host page's visibility. Keep the widget visible while it runs and avoid auto-starting it. A test transfers real payload data and is subject to endpoint fair-use protections.
Review the measurement method, privacy policy, and service terms.
Frequently asked questions
Internet speed test widget questions
- Is the SwiftSpeedTest website widget free?
- Yes. The generated embed requires no account or API key. Normal fair-use and anti-abuse protections still apply to the measurement endpoints.
- Can I add the speed test widget to WordPress or Squarespace?
- Yes. Paste the generated snippet into a Custom HTML, Code, or Embed block. The iframe is responsive up to the maximum width you choose.
- What does the embedded speed test measure?
- The compact widget measures download speed, upload speed, idle ping, and jitter using the same adaptive browser measurement engine as the main SwiftSpeedTest experience.
- Does the widget collect my visitors' test results?
- Completed results are saved in that visitor's browser unless they explicitly use a sharing feature elsewhere on SwiftSpeedTest. Measurement requests still reach SwiftSpeedTest endpoints like any web request and remain subject to the published privacy policy.
- Can I change the widget colors and size?
- You can choose light, dark, or visitor-system theme behavior and select a recommended maximum width. The generated iframe remains fluid inside that boundary.