Mobile Device Tests magnetometer Generic Sensor magnetic field

Magnetometer Test

Free magnetometer test for phones: probe magnetic field (µT) support in the browser. Honest unsupported on most desktops and Safari; try Android Chrome.

Interactive tool

Run the test

Runs in your browser
X — µT
Y — µT
Z — µT
|B| — µT

What this tool checks

Most browsers do not expose a magnetometer to web pages. Unsupported is a normal, honest result — especially on desktop and Safari. Live readings are rare (some Android Chrome builds).

Checking support…

Need heading instead? Compass Test · Orientation Test · All mobile tests

Permission status

Checked in your browser. DeviceHub does not store permission grants.

  • Special permission Not required

Live results

Metrics update as you run the test. Nothing is uploaded.

Loading

Waiting for interactive tool output…

Device information

Labels and capability details reported by your browser.

No device details yet.

Description

About Magnetometer Test

Introduction

This page tries to read a magnetometer if the browser exposes one. Most browsers do not. Seeing “unsupported” is normal and trustworthy — DeviceHub will not invent live µT values.

What this tool does

It attempts to start a magnetometer sensor and shows values only when the engine provides them.

When to use it

Use it to learn whether this browser exposes the sensor API. Prefer Compass Test for a more common orientation-based heading estimate.

How it works

Supported: rare Chromium/Android configurations. Unsupported: Safari, Firefox, desktops, and most stock mobile browsers. Why: magnetometer web access is experimental and restricted. Permissions: sensor permission when prompted. Hardware: a phone with a magnetometer plus a supporting browser. Expected: usually unsupported; occasional live field readings on niche setups.

Step-by-step instructions

  1. Open the page on a phone.
  2. Start the probe and respond to any permission prompt.
  3. Treat unsupported as a valid outcome.

Common problems

Unsupported everywhere you try is common. That reflects browser support, not a broken phone magnetometer for native apps.

Privacy explanation

Sensor samples stay local when present. Nothing is uploaded.

Runtime principles

Built for the browser

What happens when you run this test — without downloads or accounts.

  1. 01

    Runs in your browser

    Magnetometer Test uses standard web APIs — no install, extension, or desktop app required.

  2. 02

    Reads what the browser allows

    Results come from events and capability signals the web platform exposes for this session.

  3. 03

    Private by default

    Input and diagnostic values stay in your browser session for display — nothing is sold as media.

Compatibility

Supported browsers

Expected support for modern engines. Individual APIs may still vary by device.

  • Chrome

    supported

    Latest stable

  • Firefox

    supported

    Latest stable

  • Safari

    supported

    Latest stable

  • Edge

    supported

    Latest stable

Devices

Supported devices

Hardware and form factors this browser test is designed to exercise.

  • Phones & tablets

    Touch and sensor APIs when the browser exposes them.

  • Mobile Chrome & Safari

    Primary targets for touch and motion diagnostics.

  • Convertible laptops

    Touch and orientation when tablet mode is active.

Privacy

Your data stays with you

Magnetometer Test is built privacy-first. Diagnostics run in your browser session whenever web APIs allow.

Read our privacy policy

Troubleshooting

Common problems

Quick fixes before you dig into FAQs.

Magnetometer unsupported
Generic Sensor Magnetometer is mostly Chromium on Android with secure context and Permissions-Policy. Try Chrome/Edge on a phone; Safari often lacks this API, use Compass Test / Orientation Test instead.
Wild microtesla spikes
Magnetic interference from cases, mounts, and electronics is expected. Move environments and compare; readings are not a calibrated lab meter.
Works in Chrome, empty in Firefox
Expected platform gap. Document the browser; DeviceHub will not fake Magnetometer data on unsupported engines.

FAQ

Frequently asked questions

Structured answers for users and FAQ rich results.

Browse FAQs
What is an online magnetometer test?
It probes whether the browser can read magnetic field samples (microteslas) via the Magnetometer Generic Sensor API. Most browsers only report unsupported — that is an honest, useful result.
Why is this always unsupported?
Few browsers expose a magnetometer to web pages. Honest unsupported is expected.
What do browsers expose?
On rare builds, magnetic field samples. Most expose nothing.
What do they not expose?
A universal magnetometer API across Safari, Firefox, and desktop.
Which browsers might work?
Occasional Chromium on Android. Do not count on it.
Permissions or hardware?
Sensor permission if prompted. A phone magnetometer is required for live values.
What should I expect?
Usually an unsupported state. Live numbers are uncommon.

Newsletter

Updates coming soon

A lightweight email digest for new tools and release notes is planned. No signup form is live yet — check Release Notes for product updates.

Release notes

Need another diagnostic after Magnetometer Test?

Explore related DeviceHub tools that pair well with this test.