Description
speedtest-go is the Go backend for LibreSpeed, a lightweight internet speed test that runs in the browser. The browser side measures download, upload, ping and jitter with XMLHttpRequest and Web Workers, and needs no Flash, Java or WebSocket. This Go server answers the test requests. It can detect the visitor's IP address through proxy headers, look up ISP and location through the ipinfo.io API, or fall back to an offline MaxMind GeoIP database, and it can calculate the distance to the server. Test results are optional and can be stored in SQLite, BoltDB, PostgreSQL, MySQL or MSSQL, then shared as a PNG image or read through a JSON API. The server also supports Proxy Protocol, multiple test points, PHP-compatible endpoint names and an ID obfuscation option for privacy. It ships as a single binary. You can install a prebuilt binary from the releases page, add an optional systemd service file, or use the Ansible role that the project maintains separately.…
Highlights
- Backend for the LibreSpeed browser speed test
- Measures download, upload, ping and jitter
- IP, ISP and location detection with an offline GeoIP fallback
- Stores results in SQLite, PostgreSQL, MySQL and more
- Single-binary deployment
Ratings & Reviews
No ratings yet
Be the first to rate Speedtest Go.
People also visit
MySpeed
Speed test analysis software that shows your internet speed for up to 30 days
Speedtest Exporter
Speedtest Exporter made in python using the official speedtest bin
Speedtest Tracker
Monitor the performance and uptime of your internet connection
Speed Test by OpenSpeedTest™
HTML5 Network Performance Estimation Tool. (Source Code) MIT Docker
Speedtest Go FAQ
What does speedtest-go do?
It is the server side of the LibreSpeed speed test. The browser measures the connection and this Go program answers the test requests.
Which platforms can run it?
Any platform Go supports. Use a prebuilt binary from the releases page, or build it from source with Go 1.21 or later.
Do I need a database?
No. Storing results is optional. You can use SQLite, BoltDB, PostgreSQL, MySQL or MSSQL if you want to keep them.
Does it call an outside service?
Location and ISP lookups use the ipinfo.io API, and an offline MaxMind GeoIP database can be used instead as a fallback.
Can I keep the test results private?
Yes. An optional ID obfuscation setting hides the test result IDs.
What are the best Speedtest Go alternatives?
Popular alternatives to Speedtest Go include Speedtest, Speedtest Rust and MySpeed. See all Speedtest Go alternatives

