Magnetometer Tester
Test your phone magnetometer sensor: live microtesla X/Y/Z readings, check against Earth's 25-65 µT field, spot hard-iron interference, plus CSV/JSON export.
About Magnetometer Tester
Magnetometer Tester visualizes the Earth's magnetic field in real time. Monitor X, Y, and Z axis readings, view the combined field strength on a live chart, and track session min/max/average to judge a sensor against the expected 25-65 µT range. The compass needle shows a magnetic, tilt-sensitive heading (accurate only when the device is flat, uncalibrated and not corrected for declination), so treat it as a quick indicator rather than a precise navigation compass. Export the full reading history to CSV or JSON for QA and repair records.
- Press Start testing and allow magnetometer access when prompted by the browser (HTTPS required).
- Hold your device flat to see the baseline magnetic field strength and compass heading.
- Move the device near magnets or metal objects to observe spikes on the realtime chart.
- Watch the session min / max / average to compare the total field against the 25-65 µT Earth-field range.
- Use Calibrate compass to zero the heading, then Export CSV or JSON to archive the test, and Reset to start fresh.
Frequently Asked Questions

