Skip to content
โ† All tools

What Is My Network Type

Detect whether you are on Wi-Fi, cellular, or ethernet, with effective speed class and estimated bandwidth from the Network Information API.

The readout above comes from navigator.connection, the browser's Network Information API. It reports an estimated speed class, optional physical medium on some Android builds, round-trip hints, and whether Data Saver is on. I first leaned on this API when a hotel Wiโ€‘Fi in Istanbul showed type: wifi but effectiveType: 3gwhile a 4K trailer buffered in 240p: the radio was Wiโ€‘Fi, the bottleneck was a congested uplink, not LTE. Below I explain what each field means, who still ships the API in 2026, and what to do when Firefox or Safari say "not supported."

What the Network Information API exposes

The interface lives on navigator.connection (also exposed as navigator.mozConnection or webkitConnection on older builds). The fields this page surfaces:

  • type (when available): wifi, cellular, ethernet, bluetooth, none, or unknown.
  • effectiveType: coarse performance bucket slow-2g, 2g, 3g, or 4g derived from recent throughput and RTT measurements.
  • downlink: estimated megabits per second, rounded to limit fingerprinting precision.
  • rtt: estimated round-trip milliseconds, also rounded.
  • saveData: user or OS preference to minimize bytes (navigator.connection.saveData).

The specification is maintained at the WICG; browsers may implement subsets. Values are hints for adaptive loading, not billing-grade speed tests.

Browser support in 2026 (honest matrix)

BrowsertypeeffectiveTypedownlink / rttsaveData
Chrome (desktop)Usually unknownYesYes (rounded)Yes
EdgeSame as ChromeYesYesYes
FirefoxNot exposedNot exposedNot exposedNot exposed
Safari (macOS / iOS)Not exposedNot exposedNot exposedNot exposed
Samsung InternetOften cellular vs wifi on AndroidYesYesYes

Check current engines on caniuse.com/netinfo. If this page says unsupported, that is expected on Firefox and Safari, not a bug in your network.

Effective connection type versus physical type

typeanswers "what interface carried the packet?" when the OS tells the browser. effectiveTypeanswers "how fast did recent transfers feel?" A gigabit fiber link behind a cheap router with bufferbloat can still report 3g if measured RTT spikes. Conversely, strong 5G often shows cellular plus 4g effective type even though the marketing label says 5G, because the API buckets by performance, not carrier branding.

Desktop Chrome frequently leaves type at unknown because sandboxed renderers cannot reliably distinguish Wiโ€‘Fi from Ethernet on every OS. Trust effectiveType for adaptive video logic; trust type mainly on Android phones where the distinction changes metered billing behavior.

Why adaptive sites care about these signals

Image CDNs and video players downgrade quality when effectiveType drops or saveData is true. Next.js and other frameworks can prefetch less aggressively. Service workers may skip background sync until the connection improves. None of this replaces measuring real throughput: run Internet Speed Test when you need megabits per second, not a rounded estimate.

Listen for the change event on navigator.connection (this page does) because toggling airplane mode, joining a VPN, or walking out of Wiโ€‘Fi range updates the object without a reload.

When the API is missing: practical fallbacks

On Safari and Firefox, measure RTT yourself with timed fetches to your origin, exactly like our latency tool. Server-side geo and ASN data from ISP lookup tells you carrier class, not instantaneous congestion. For PWAs, default to conservative assets and upgrade when a user explicitly requests HD.

Never gate critical security updates behind effectiveType; attackers can spoof connection objects in compromised environments, and privacy browsers may freeze values.

Frequently asked questions

How does my browser know if I am on Wiโ€‘Fi or cellular?

On supported Chromium Android builds, the OS reports the active network interface to the browser, which maps it to the type field. Desktop browsers often cannot see the medium and return unknown. iOS and Firefox do not expose the API at all in 2026.

What does "effective connection type" mean?

It is a performance label (4g being the fastest bucket) computed from rolling throughput and RTT samples. It does not mean you are literally on fourth-generation cellular when you are on Wiโ€‘Fi; it means the link currently performs like a fast mobile connection.

Why does my Wiโ€‘Fi sometimes show as 3G?

Because effectiveType reflects measured speed, not the logo on your router. Congested Wiโ€‘Fi, VPN overhead, distance from the access point, or ISP uplink saturation all push the bucket down even though type still says wifi.

What is the saveData flag?

When saveData is true, the user or OS asked apps to minimize bytes. Sites should serve smaller images, avoid autoplay video, and defer non-critical prefetch. Android Chrome Lite mode and some carrier plans flip this bit automatically.

Which browsers support the Network Information API?

Chromium desktop and Android derivatives (Chrome, Edge, Opera, Samsung Internet) expose most fields. Firefox and Safari do not implement navigator.connection for web content as of 2026. Use feature detection: if the object is undefined, fall back to RTT probes and user settings.

Throughput: Internet Speed Test. HTTPS RTT to this site: What Is My Latency. Carrier or ISP name: What Is My ISP. Browser identity: What Is My Browser.

Sources cited above

Common questions

How does my browser know if I'm on Wi-Fi or cellular?
On supported Chromium Android builds, the OS reports the active network interface to the browser, which maps it to the type field. Desktop browsers often cannot see the medium and return unknown. iOS and Firefox do not expose the API at all in 2026.
What does "effective connection type" mean?
It is a performance label (4g being the fastest bucket) computed from rolling throughput and RTT samples. It does not mean you are literally on fourth-generation cellular when you are on Wi-Fi; it means the link currently performs like a fast mobile connection.
Why does my Wi-Fi sometimes show as 3G?
Because effectiveType reflects measured speed, not the logo on your router. Congested Wi-Fi, VPN overhead, distance from the access point, or ISP uplink saturation all push the bucket down even though type still says wifi.
What is the saveData flag?
When saveData is true, the user or OS asked apps to minimize bytes. Sites should serve smaller images, avoid autoplay video, and defer non-critical prefetch. Android Chrome Lite mode and some carrier plans flip this bit automatically.
Which browsers support the Network Information API?
Chromium desktop and Android derivatives (Chrome, Edge, Opera, Samsung Internet) expose most fields. Firefox and Safari do not implement navigator.connection for web content as of 2026. Use feature detection: if the object is undefined, fall back to RTT probes and user settings.

Also Check These Tools

๐ŸŒWhat Is My IPInstantly see your public IPv4 and/or IPv6 address with ISP, city, and country details.โ†’๐Ÿ“กWhat Is My ISPSee which Internet Service Provider (ISP) or organization is associated with your public IP and connection.โ†’๐Ÿ”ทWhat Is My DNSLook up public DNS A and AAAA records using Cloudflare DNS over HTTPS, with honest labeling about resolvers.โ†’๐Ÿ“ถWhat Is My LatencyMeasure HTTPS round-trip time from your browser to this siteโ€”a practical โ€œpingโ€ when ICMP is not available in the web sandbox.โ†’๐Ÿ”What Is My VPN / Am I Leaking?Compare your HTTP-visible public IP with WebRTC ICE reflexive addresses to spot possible IP leaks, plus plain-language DNS leak context.โ†’โšกInternet Speed TestTest your download and upload speeds with a fast, accurate in-browser speed test.โ†’๐Ÿ–ฅ๏ธWhat Is My BrowserDetect your browser name, version, engine, and operating system in one click.โ†’๐Ÿ”What Is My User AgentSee the full user agent string your browser sends to websites and servers.โ†’๐ŸชWhat Is My Cookie / Tracking StatusSee whether first-party cookies and web storage work, what DNT/GPC report, and visible cookie surfaceโ€”plus honest limits for HttpOnly and cross-site tracking.โ†’๐Ÿ“What Is My Screen ResolutionCheck your screen resolution, color depth, pixel ratio, and viewport size.โ†’๐ŸŽฎWhat Is My WebGL / GPUDetect your GPU renderer, vendor, WebGL version, and key graphics capabilities directly from your browser โ€” no plugins required.โ†’๐Ÿ“What Is My LocationDiscover your approximate location based on your IP address including city and country.โ†’๐Ÿ•What Is My TimezoneFind your current timezone, UTC offset, and local time with DST status.โ†’๐Ÿ”ŒWhat Is My Open PortsCheck which TCP ports are open, closed, or filtered on your public IP address โ€” no software needed.โ†’