Today's Date
Date Conversion
Free Conversion API
Coming Soon: We're launching a free REST API for date conversion. Perfect for mosque websites, Islamic apps, and educational platforms. Requirements: Free API access with attribution link to IslamCave.com
// Free Calendar Conversion API
// Requires attribution link to IslamCave.com
const convertToHijri = async (year, month, day) => {
const response = await fetch(
`https://api.islamcave.com/v1/calendar/hijri?
year=${year}&month=${month}&day=${day}`
);
return await response.json();
};
// Example
const result = await convertToHijri(2026, 8, 21);
console.log(result);
// { hijri: "1 Safar 1448 AH", gregorian: "21 August 2026" }🚀 Fast
Sub-100ms response times from global CDN
✅ Accurate
Based on widely-accepted calculation methods
🔓 Free
Unlimited requests with attribution
Want API access? Contact us at [email protected] for early access and integration support.
Embeddable Calendar Widget
Add an interactive Islamic calendar to your mosque website with just a few lines of code. Shows today's Hijri date and allows visitors to convert dates.
<!-- Embed on your mosque website -->
<div id="islamcave-calendar"></div>
<script src="https://islamcave.com/widgets/calendar.js"></script>
<script>
IslamCaveCalendar.init({
element: '#islamcave-calendar',
theme: 'light', // or 'dark'
showTodayDate: true
});
</script>
<!-- Required: Add attribution link -->
<a href="https://islamcave.com">Powered by IslamCave</a>Free for Mosques: This widget is completely free for mosques, Islamic centers, and non-profit Islamic organizations. We only ask for a small attribution link.
Download Calendar PDFs
Get printable Islamic calendar PDFs for the entire year. Perfect for mosques, schools, and homes.
Coming soon - Full year calendars with prayer times and Islamic events