This tool reads the Network Information API built into your browser to report whether you are connected via Wi-Fi, cellular, or ethernet, along with the effective speed class and an estimated bandwidth figure. The result updates automatically if your connection changes. Not all browsers support this API — see the note below if yours does not.
What is the Network Information API?
The Network Information APIis a browser specification that exposes read-only properties about the device’s current network connection to JavaScript. It lives at navigator.connection and provides four key fields:
- type — the physical medium:
wifi,cellular,ethernet,bluetooth,none, orunknown. - effectiveType — a performance tier:
4g,3g,2g, orslow-2g, based on observed RTT and throughput. - downlink— estimated bandwidth in Mbps, rounded to limit fingerprinting.
- rtt— estimated round-trip latency in milliseconds, also rounded.
- saveData— a boolean flag set by the user or OS to request reduced data usage.
The API is supported in Chromium-based browsers(Chrome, Edge, Opera, Samsung Internet, and Android WebView). Firefox and Safari have not shipped it, citing privacy concerns around network-based fingerprinting. If your browser reports “Not supported,” this is expected behaviour — the information is simply not available.
Connection type vs effective type
These two fields answer different questions. typedescribes the physical layer — the radio or wire you are physically using. effectiveType describes the performance you are actually experiencing, regardless of the medium.
A slow Wi-Fi hotspot in a coffee shop may report type: "wifi" but effectiveType: "2g" because the measured throughput is poor. Conversely, a strong 5G cellular connection reports type: "cellular" and effectiveType: "4g". On most desktop browsers, type returns "unknown"because the OS API to distinguish ethernet from Wi-Fi is not consistently accessible from the browser sandbox — effectiveType is more reliably populated.
What affects the reported values?
- VPNs: A VPN tunnel adds latency and may reduce measured throughput, pushing the effectiveType down from
4gtoward3geven on fast broadband. - Network switching: Toggling airplane mode, connecting to a new Wi-Fi network, or roaming between towers triggers a
changeevent and the displayed values refresh. - Data Saver / Lite Mode: Android Chrome’s “Lite Mode” and some OS-level data-saving settings flip
saveDatatotrue, signalling websites to reduce asset sizes and defer non-critical fetches. - Intentional rounding: The browser deliberately caps
downlinkto a small set of values and roundsrttto prevent high-precision network fingerprinting. Values are approximate by design.
Why is knowing your network type useful?
- Adaptive media: Video players and image delivery services use effectiveType to pick bitrate or image quality automatically. Knowing you are on
2gexplains why a site served a low-resolution thumbnail. - Progressive Web Apps: PWAs that check
saveDataskip large background syncs and prefetches, protecting users on metered mobile plans. - Troubleshooting: When a site loads slowly, confirming the browser sees only
3gor2geffective type immediately explains the experience — no need to run a full speed test first. - Developer testing: Web developers use this page to verify their adaptive logic reacts correctly when effectiveType or saveData changes during manual testing.
- Before a VPN or hotspot switch: Check your baseline type and speed class, connect your VPN or hotspot, then refresh to see what changed.
Related tools
For a real throughput measurement, use the Internet Speed Test. For round-trip latency to this server, see What Is My Latency. To identify your ISP or carrier network by name, use What Is My ISP.
Privacy note
All detection happens in your browser using local JavaScript APIs — no network request is made to our servers for this specific check. The values are read directly from navigator.connection and displayed only to you. See our Privacy Policy for how analytics and advertising operate separately from this diagnostic.