Hijri / Gregorian Converter
Convert any Gregorian date to Hijri or back using the Umm al-Qura calendar, with the weekday, month names and the Hijri month length (29 or 30 days). Runs in your browser.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- From Gregorian: pick the date in the first card.
- From Hijri: type the year and choose the month and day in the second card.
- See the weekday and the Hijri month length under the result.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
- Needs a browser whose Intl supports the Umm al-Qura calendar (all modern browsers). If not found, you get a message instead of wrong results.
Frequently asked questions
Does it match the official announcement?
It uses the Umm al-Qura calendar built into your browser. It can differ by a day from the moon-sighting announcement for some months, especially Ramadan, Shawwal and Dhu al-Hijjah. For important occasions rely on the official announcement.
Why is day 30 rejected for some months?
A Hijri month has 29 or 30 days and we take its length from the calendar. If the month has 29 days, day 30 does not exist.
Which years are covered?
The official Umm al-Qura table covers roughly 1300–1600 AH. Outside that range the result is an approximation.
Related tools
Date CalculatorFind the difference between two dates in days, weeks, months and working days, add or subtract a duration, get the weekday and the semester week number, and convert between Hijri and Gregorian.Age CalculatorEnter a birth date (Gregorian or Hijri) to get your age in years, months and days, the weekday you were born, days until your next birthday, and your age in Hijri years.Academic Calendar BuilderSet the term start and number of weeks, add holidays, exams and deadlines, and get a week-by-week table with Hijri dates and the current week. Print it on A4 or export an .ics file.Exam CountdownList your exams (course, date, time, place) and watch a live countdown to each in days, hours and minutes, nearest first. Saved in your browser, with .ics export for your calendar app.