Six parallel connections is the ceiling on what it measures
SpeedTest by OpenSpeedTest™ is a Free and Open-Source HTML5 Network Performance Estimation Tool Written in Vanilla Javascript and only uses built-in Web APIs like XMLHttpRequest (XHR), HTML, CSS, JS, & SVG. No Third-Party frameworks or libraries are Required. Started in 2011 and moved to OpenSpeedTest.com dedicated Project/Domain Name in 2013.
At a glance
- What is it?
- OpenSpeedTest is a bandwidth estimator that ships as static files and no build step. Its accuracy rests on a measurement model built for HTTP/1.1: a fixed pool of parallel requests, a hardcoded four percent compensation factor, and a recommendation to use the oldest protocol version it supports.
- Who is it for?
- OpenSpeedTest suits someone who wants to measure a link they control, on their own server, without installing anything on the client and without a hosted service in the path. Four things to know before you rely on its numbers.
- Can I use it commercially?
- Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
- Is it still maintained?
- Activity is slowing. The repository last received commits 7 months ago.
- What is it written in?
- Mainly JavaScript, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 25, 2026, and from our analysis. They are not legal advice.
Star history
- openspeedtest/Speed-Test3,874 ★ · +84
| Repository | 2026-09-24 | 2026-11-25 |
|---|---|---|
| openspeedtest/Speed-Test | 3.8k | 3.9k |
84 Stars in the last 62 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
The measurement model cannot see HTTP/2 or HTTP/3 throughput
The server requirements list supports HTTP/2 and HTTP/3 and then recommends against both, saying HTTP/1.1 is recommended for achieving maximum performance. That reads backwards until you find the tuning option. There is a setting for the number of parallel HTTP connections the client opens to the server, it defaults to six, and it can be changed through a query parameter. Six is the long-standing per-host limit on concurrent HTTP/1.1 connections, which tells you the measurement is built on opening a fixed pool of separate requests and timing them. Under HTTP/2 that pool is multiplexed onto one connection and under HTTP/3 onto one connection over a different transport, so the thing being measured no longer exists and the numbers stop meaning what they mean on HTTP/1.1. That is why the older protocol is recommended, and it is the single biggest limitation of the tool: it can report a ceiling shaped by its own concurrency model, and any link in the path that multiplexes will cap what it reports rather than what your connection can do.
Your web server has to answer a POST to a static file with 200
Two of the server requirements catch people out. The first is a list of methods the server must accept and answer with 200 OK: GET, POST, HEAD and OPTIONS. The second is the one that is easy to miss: the server must accept a POST to static files and respond with 200 OK. That is not default behaviour everywhere. A conventional static file server is configured to serve files on GET and HEAD, and a POST to the same path frequently returns 405 Method Not Allowed or is handled by whatever dynamic route happens to match. So a correct-looking Nginx configuration can pass every other item on the list and still break the upload half of the test. The remaining requirements cluster around the same idea: a maximum request body size of 35 megabytes or more, a timeout above 60 seconds, disabled access logs, and time to first byte improved wherever you can. The project ships a reference Nginx configuration as a separate repository and points at it, which is the right move given how specific these requirements are.
Results carry a four percent compensation factor unless you ask for it to be removed
Every result this tool produces includes a correction that is not a measurement. The overhead compensation factor is described as currently four percent, with the justification that this is a browser-based test with many unknowns and that four percent is within the margin of error. That means the default reading of a result is not what crossed the wire. You can turn it off with a clean or C query parameter, which resets compensation to zero, or set any value between zero and four, where the number is read as a percentage. Two things about that. The upper bound is a hard limit, so you cannot compensate above four percent even if you think a measurement is biased further than that. And the parameter is opt-out rather than opt-in, so a screenshot of a default result is a number the tool adjusted rather than one it observed. For anyone publishing or comparing results, that distinction is the difference between a measurement and an estimate.
Saving results posts them in a query string, while the setup tells you to disable access logs
The results-saving feature works by editing the HTML file and setting a flag true, then pointing a URL variable at the endpoint that should receive the data. The endpoint format is a service on port 4500 with a save path and a data parameter. Two consequences follow from that shape. The measurement payload travels as a query string value rather than as a request body, which means every intermediate hop that records URLs, including your reverse proxy, your web server and any upstream cache, sees it. And the same document that describes this feature instructs you to disable access logs on that web server for performance. Those two instructions pull in opposite directions. Disabling logs limits one form of retention while moving data into a place that logs tend to capture. Nothing here is malicious and nothing is broken, but if you enable result saving on a network you do not own, be deliberate about which hosts in the path are writing URLs to disk.
The application is three files and two committed payloads
There is no build step, no package manifest, no source directory and no bundler in this repository. The tracked entries are a licence file in a markdown wrapper, a readme, an assets directory, a separate hosted entry point, one HTML file, and two files with no directory marker that are the test payloads themselves, one for the download direction and one for the upload direction. Everything the browser runs is inside that single HTML file, which is also the configuration file. To change behaviour you edit it in place: the results-saving flag and its endpoint, and the server list, are all variables at the top of the page. The script size is quoted as under eight kilobytes gzipped, which is the budget the whole design is protecting. The practical implication for anyone adopting it is that there is nothing to pin and nothing to rebuild. You copy files to a static host, you edit variables in a text editor, and a change takes effect on reload with no artefact, no lockfile and no release process to wait for.
The security argument is about static files, and the setup weakens the server around them
One of the reasons given for choosing this tool is secure by design, on the grounds that it contains only static files and therefore carries no security updates to apply and no hidden exploits. The claim is true about the tool and misleading about the deployment, because the tool is not the thing under attack. It is a set of HTML, CSS and JavaScript served by a web server you operate, and the same document tells you to accept POST requests against static files, to raise the request body limit to tens of megabytes, to keep timeouts above a minute and to turn off access logging. A static tool with no server of its own still needs a server tuned in unusual ways, and each of those settings is a decision about that server rather than about this project. Reading the claim as scoped to the delivered files is fair. Reading it as a property of a self-hosted instance is not, which is why the reference server configuration matters as much as the client code.
A query-string mini-language where the lowest stress preset runs for five minutes
Most of the interface is URL parameters, and the set is small enough to learn in a minute. Passing the run keyword starts a test on page load, and giving it a number delays the start by that many seconds. Passing the stress keyword switches to a continuous test, and its value can be a preset or an exact number of seconds. The presets are named low, medium, high, very high, extreme, day and year, and they map to five minutes, ten minutes, fifteen minutes, half an hour, one hour, a day and a year, which is where the naming stops being intuitive: the gentlest stress preset runs a five minute test in each direction. Every keyword and every preset also accepts its first letter, so a single letter is equivalent to the short keyword, and combining run and stress starts immediately for a fixed period in both directions, meaning the stated duration is per direction rather than total. Case is ignored throughout. One more knob completes the set, a parameter that sets the number of parallel connections.
Editorial conclusion
OpenSpeedTest suits someone who wants to measure a link they control, on their own server, without installing anything on the client and without a hosted service in the path. Four things to know before you rely on its numbers. Remember that it measures over a fixed pool of HTTP/1.1 connections, so a multiplexed link will cap what it reports. Decide about the four percent compensation factor explicitly, because the default is an adjustment rather than a measurement. Check that your server answers a POST against a static file, since that is not default behaviour and it is the failure that breaks uploads. And if you enable result saving, remember the payload travels as a URL query string through every hop that logs URLs.
Frequently asked questions
how to use open speed test
Open the page and start the test, or drive it from the URL. The run keyword starts a test on page load and accepts a number to delay the start in seconds, while the stress keyword switches to a continuous test whose value is a preset name or an exact number of seconds. Each keyword and preset also accepts its first letter, keywords can be combined, and case is ignored.
how to setup speed test server
Any web server supporting HTTP/1.1 or newer will do, including Nginx, Apache, IIS or Express. The server must accept GET, POST, HEAD and OPTIONS with a 200 response, must answer a POST against a static file with 200, needs a maximum body size of 35 megabytes or more, needs a timeout above 60 seconds, and should have access logs disabled. A reference Nginx configuration is published as a separate repository.
What does OpenSpeedTest measure and what browsers does it run in?
It estimates network performance, meaning bandwidth, from the browser. It is written in plain JavaScript using only built-in web platform features, with no third-party framework or library, its interface is drawn in SVG, and it runs in any browser described as Internet Explorer 10 or newer. No client software or plugin is required.
How do I stop OpenSpeedTest adding a correction to my results?
Pass the clean parameter, or its first letter, as a query parameter. That resets the overhead compensation factor to zero. You can also set any value between zero and four, where the number is read as a percentage, and values above four are rejected. Without the parameter the default factor of four percent is applied to every result.
How many parallel connections does OpenSpeedTest use?
Six by default, which is the conventional per-host limit for concurrent HTTP/1.1 connections. You can change it with a query parameter that accepts a number or its first letter. The server requirements recommend HTTP/1.1 over HTTP/2 and HTTP/3 for maximum performance, which follows from the measurement relying on a fixed pool of separate connections rather than on one multiplexed one.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/openspeedtest-speed-test)Star history chart for your README
[](https://hysenlabs.com/projects/openspeedtest-speed-test)Was this useful?