~/tools/bubble-level

Bubble Level

Turn your phone into a spirit level online — a bubble level online with no app needed, accurate to 0.1°, that works offline.

What is this? Hide details

What is Bubble Level?

Rest your phone on a shelf and this reads the tilt straight from its accelerometer. Lay it flat for a round two-axis bubble, or stand it on an edge for a carpenter's vial. Nothing leaves your device, and one tap calibrates out your phone's own bias.

bubble-level.js
Flat
Front/back 0.0°
Left/right 0.0°

Lay the phone flat on the surface you are checking.

Tap the level to freeze the reading.

Rest the phone on a surface and tap Calibrate. Then turn it 180° and read again — if it still shows zero, the surface is truly level.