DevTools Logo

Hijri Calendar Converter

Hijri Calendar Converter

Convert Gregorian dates to Hijri and back via the Intl/ICU islamic-umalqura calendar.

Runs in your browser
Loading today’s date…
Try an example

Gregorian date

YYYY-MM-DD

Conversion result

Hijri month · 1 Ramadan 1447

18 February 2026 – 19 March 2026
Ramadan 1447 with matching Gregorian dates. Select a day to convert it.
SunMonTueWedThuFriSat

Moon-sighting note. This tool uses the Intl/umalqura calendar via the browser's ICU implementation: a fixed 30-year arithmetic cycle that approximates the Umm al-Qura tables. Real Hijri dates depend on local moon sighting and official announcements, so they can differ by ±1 day (sometimes more) from these calculated dates. Follow your local authority for religious observance.

Method: Uses the browser's Intl API with the islamic-umalqura calendar, which approximates the Umm al-Qura tables via ICU's fixed 30-year tabular cycle. Weekdays come from the Julian day number. All conversion runs in this browser tab — no dates or location are sent anywhere.

Examples

Ramadan start

Enter 2026-02-18 in the Gregorian field to get 1 Ramadan 1447 AH, a Wednesday, under the tabular civil calendar.

Hijri to Gregorian

Choose 15 Ramadan 1447 to resolve it to 4 March 2026, with the weekday shown.

Impossible Hijri date

Try 30 Safar 1447: Safar has 29 days in the 30-year cycle, so the tool reports the month length instead of rolling the date over.

About this tool

Enter a Gregorian date to get its Hijri day, month name (transliterated and Arabic), AH year and weekday, or enter a Hijri date to get the Gregorian equivalent. The conversion uses the browser's Intl API with the islamic-umalqura calendar (ICU), which approximates the Umm al-Qura tables via a fixed 30-year tabular cycle with 11 leap years per 30 years. 1 Muharram 1 AH corresponds to 19 July 622 CE in the proleptic Gregorian calendar. This is a calculated civil calendar: dates determined by local moon sighting, including those published by Umm al-Qura authorities, can differ by ±1 day or more from these calculated dates. Always follow your local authority for religious observance. All conversion runs in your browser; no dates or location are uploaded.

What this tool does not do

  • Processes only the inputs provided in this session without connecting to external accounts or background servers.
  • Runs entirely in the current browser tab; nothing is synced across devices or backed up to a server.

How to use this tool

  1. Choose conversion direction

    Select Gregorian → Hijri or Hijri → Gregorian.

  2. Enter year, month, and day

    Input the date to compute tabular civil Islamic calendar equivalents.

  3. Review weekday and sighting note

    Read the converted date, Islamic month name, weekday, and ±1 day lunar-sighting caveat.

Use cases

Ramadan start

Enter 2026-02-18 in the Gregorian field to get 1 Ramadan 1447 AH, a Wednesday, under the tabular civil calendar.

Hijri to Gregorian

Choose 15 Ramadan 1447 to resolve it to 4 March 2026, with the weekday shown.

Impossible Hijri date

Try 30 Safar 1447: Safar has 29 days in the 30-year cycle, so the tool reports the month length instead of rolling the date over.

Common mistakes

Mistake:How long is a tabular Hijri year compared to a Gregorian year?

Fix:A standard lunar Hijri year has 354 days (355 in leap years), shifting Islamic months roughly 10–11 days earlier on the Gregorian calendar each solar year.

Mistake:Can I convert in both directions (Gregorian ↔ Hijri)?

Fix:Yes. Enter either a Gregorian date or a Hijri day, month, and year to get the corresponding date and weekday immediately.

Frequently asked questions

Why can converted Hijri dates differ by 1–2 days from local announcements?

This tool uses the deterministic 30-year tabular Islamic civil algorithm (alternating 29/30-day months with 11 leap years), whereas religious holidays like Ramadan and Eid often follow local lunar crescent sightings or Umm al-Qura tables.

How long is a tabular Hijri year compared to a Gregorian year?

A standard lunar Hijri year has 354 days (355 in leap years), shifting Islamic months roughly 10–11 days earlier on the Gregorian calendar each solar year.

Can I convert in both directions (Gregorian ↔ Hijri)?

Yes. Enter either a Gregorian date or a Hijri day, month, and year to get the corresponding date and weekday immediately.

Does conversion depend on external APIs?

No. Julian Day Number arithmetic runs locally in your browser across historical and future dates.