Skip to content

Widgets

Prayer Times Widget for Your Website

Add daily prayer times or the Hijri calendar to your mosque or community website with one line of HTML. Free, no account needed, and always up to date.

Two instruments · 7 languages · No account needed

Build your widget

City

Selected Shanghai, China

Options

Widget type

Copy this code into your site

Paste this where the widget should appear on your page.

HTML
<iframe src="https://qurangallery.com/prayer/widget?type=prayer-times&country=china&city=shanghai" width="100%" height="470" style="max-width:min(380px,100%);border:0;border-radius:12px" loading="lazy" title="Prayer Times — Quran Gallery"></iframe>

What you get

  • Free forever

    No signup, no API key, no limits.

  • Always current

    Times update automatically every day — nothing to maintain.

  • Accurate for your city

    The calculation method follows each country's convention, with Hanafi and Shafi Asr options.

  • 7 languages

    English, Arabic, Urdu, Indonesian, Turkish, Bengali and French.

For mosques and Islamic organizations

For mosques and Islamic organizations

Show your community accurate local prayer times right on your own homepage. The widget matches the times on Quran Gallery's city pages, including the correct calculation method for your country.

Build with the prayer times API

Where to next

Widgets

Take the times with you

Every widget reads the timetable this site reads, and renews itself each day without you touching the code again.