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.

Get the Code

Preview. On a phone, tap the button in the widget to try it.

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

  1. Choose the widget and its language above.
  2. Copy the code and paste it into the HTML of your page where the widget should appear. On WordPress, use a Custom HTML block.
  3. 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