Network Info
Network info tool online. Check connection type, effective speed, and public IP address. Test your network details—free browser tool.
Features
- Detect current connection type (WiFi, 4G, etc)
- Check effective network speed (slow-2g to 4g)
- Measure round-trip time and downlink speed
- View public IP address and ISP info
- Test online/offline status
- Monitor connection changes in real-time
Common Use Cases
- Optimize media quality based on connection speed
- Defer large downloads on slow connections
- Show offline UI when connection is lost
- Debug network-related issues
- Test adaptive streaming strategies
Network Information API Explained
The Network Information API exposes your device's network connection details to web apps, allowing them to adapt content based on speed and type. This is crucial for optimizing data usage and user experience.
Key metrics:
- Connection type - WiFi, cellular, Ethernet, Bluetooth, or unknown
- Effective type - slow-2g, 2g, 3g, or 4g based on measured speed
- Downlink - Estimated download speed in Mbps
- RTT - Round-trip time in milliseconds (latency)
Practical use: Video streaming apps use this to choose video quality. Social media apps defer image uploads on slow connections. Progressive web apps download lighter assets when bandwidth is limited.
The API also fires change events when your connection changes, allowing apps to react in real-time (e.g., pause downloads, reduce quality).
Examples
Type: wifi
Effective Type: 4g
Downlink: 10 Mbps
RTT: 50 msType: cellular
Effective Type: 2g
Downlink: 0.4 Mbps
RTT: 800 msStatus: Online
Connection Available: Yes
Public IP: 203.0.113.42Frequently Asked Questions
Some browsers don't support the Network Information API, or your device/OS doesn't expose connection type. Desktop computers on Ethernet often show "unknown" for privacy reasons.
Downlink is an estimate based on recent transfers, not a real-time speed test. It's useful for categorization (fast/slow) but not as precise as running a dedicated speed test.
Effective type reflects actual performance, not connection type. If your WiFi is congested or has high latency, it may be classified as "2g" even though you're on WiFi. This helps apps adapt to real conditions.
This tool shows your public IP, which can be used to look up your ISP via third-party services. However, the browser doesn't directly expose ISP information for privacy reasons.
The browser updates connection info periodically based on real network performance. Apps can listen to change events to react when the connection type or speed changes.