J-Kit
Português

Online Compass

Device-orientation compass in the browser

Understand orientation sensors
How the online compass uses sensors

Device Orientation reports device rotation when hardware provides sensors

The compass uses device orientation events. On some mobile browsers, access is only granted after a tap and explicit permission. On desktops without sensors, heading may remain unavailable.

How to use

Start it on a device with sensors

  1. Click start compass and grant permission if the browser asks.
  2. Rotate the device slowly and watch degrees and cardinal point.
  3. Keep the device away from magnets and electronics to reduce interference.
References

Sources and references for this tool

These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.

FAQ

Frequently asked questions

Only if the computer and browser expose orientation sensors.

Utilities