Add a professional internet speed test to your website in minutes. Free, no registration required.
The simplest way to add the speed test. Just copy and paste the code.
<iframe
src="https://speedmeter.dev/widget.html"
width="100%"
height="300"
frameborder="0"
allow="clipboard-write">
</iframe>
<iframe
src="https://speedmeter.dev/widget.html?theme=minimal&compact=false"
width="400"
height="350"
frameborder="0"
style="border-radius: 10px;">
</iframe>
| Parameter | Values | Description |
|---|---|---|
theme |
default, minimal, dark, transparent | Visual theme of the widget |
compact |
true, false | Compact mode (smaller size) |
hideMetrics |
true, false | Hide download/upload/ping details |
More flexible integration with customization options via data attributes.
<script src="https://speedmeter.dev/widget.js"></script>
<script
src="https://speedmeter.dev/widget.js"
data-theme="minimal"
data-compact="false"
data-hide-metrics="false">
</script>
| Attribute | Values | Description |
|---|---|---|
data-theme |
minimal, dark, transparent | Visual theme (default is gradient) |
data-compact |
true, false | Compact mode |
data-hide-metrics |
true, false | Hide detailed metrics |
Listen for test completion events:
window.addEventListener('message', function(event) {
if (event.data.type === 'speedtest-complete') {
console.log('Download:', event.data.results.download, 'Mbps');
console.log('Upload:', event.data.results.upload, 'Mbps');
console.log('Ping:', event.data.results.ping, 'ms');
}
});
Choose a theme that matches your website design.
theme= (no parameter)
theme=minimal
theme=dark
theme=transparent
Use compact mode for smaller spaces like sidebars.
compact=true
Yes, the widget is completely free for any website, commercial or personal.
No registration required. Just copy the code and paste it into your website.
No hard limits for reasonable use. If you expect very high traffic, please contact us.
Yes, you can choose from 4 themes and use compact mode. For deeper customization, contact us.
Yes, the widget is fully responsive and works on all devices.