Proximity Sensor Tester
Test a proximity sensor in your browser over HTTPS, log near/far transitions and distance, and export CSV/JSON. Note: most browsers and iOS lack a web proximity API.
About Proximity Sensor Tester
Proximity Sensor Tester visualizes the near/far response from your device's infrared proximity sensor and records the session for repair and QA evidence. Watch the animated indicator change color as objects move closer or farther, count near/far transitions to spot chatter, track min/max/avg distance, and export the timestamped log as CSV or JSON. Note: the proximity Web API requires a secure (HTTPS) connection and is only available behind a flag in some Chromium browsers — desktop browsers and iOS generally cannot access it.
- Open this page over HTTPS — a proximity sensor is unavailable on insecure (http) connections, and most desktop browsers and iOS cannot expose it at all.
- Press Start testing and allow proximity access if your browser prompts for permission.
- Hold the device flat and wave your hand toward the top bezel where the sensor is usually located.
- Watch the Near/Far indicator and distance values, and check the transition counter for chatter (rapid flicker means a misaligned IR pinhole or grease).
- Move away to confirm the indicator returns to Far, then export the session as CSV or JSON to attach to a repair ticket, or hit Reset for a fresh session.
Frequently Asked Questions

