Free Compass Widgets for Your Website
Add a live compass or a Qibla finder to your website or blog: choose the widget and its language, copy the code and paste it into your page.
Take Our Compass Online with You, Even Offline
Download our app for reliable offline navigation, ensuring you stay on track even without an internet connection.
How to Add a Widget
- Choose the widget and its language above.
- Copy the code and paste it into the HTML of your page where the widget should appear. On WordPress, use a Custom HTML block.
- Publish the page and open it on a phone to try the compass.
Good to Know
The widgets are free for any website. They show no ads and use no analytics or tracking cookies; the compass and the location are worked out on the visitor's device and are not sent anywhere.
A compass needs a phone or tablet with a compass sensor. On a computer the dial does not turn, but the Qibla finder still shows the direction in degrees for a chosen city.
The allow attribute in the code lets the widget ask for location and motion access. Without it, browsers block the sensors inside the widget.
Please keep the small Compass Pro link under the widget.
Frequently Asked Questions
Is the widget free?
Yes, for any website, personal or commercial. We only ask you to keep the small Compass Pro link under it.
Does the widget show ads or track visitors?
No. The widget pages carry no ads and no analytics, and positions stay on the visitor's device.
Why does the compass not turn on my computer?
Computers have no compass sensor. Open your page on a phone or tablet to see the compass move.
Can I change the size?
Yes: change the width and height in the code. The widget works from a width of about 280 pixels.
Which languages are available?
Every language of this site. Choose one in the code builder above, and the widget and its link appear in that language.
More Tools
- Online CompassLive compass with degrees, true north and your coordinates.
- Qibla FinderFind the direction of the Kaaba from where you are.
- My LocationYour GPS coordinates in every common format.
- Magnetic DeclinationHow far magnetic north is from true north where you are.
- GPS SpeedometerYour speed, top speed and trip distance from GPS.
- Bubble LevelCheck whether a surface is level with your phone.
- Sun PositionWhere the sun is now, and where it rises and sets.
- Bearing CalculatorDirection and distance between any two points.
- Feng Shui CompassFacing direction with the 24 mountains and eight trigrams.
- Vastu CompassFacing direction with the 16 Vastu zones.
Compass for Android
Compass for iPhone