Free panchang and nakshatra widgets for your website

For temple, community-association and astrology sites: today’s panchang for your city, or a find-your-nakshatra calculator, on your own page. Pick the options, copy the code, paste it into your site.

Today’s panchang

Tithi and nakshatra with the time each ends, sunrise, sunset and Rahu Kaal, computed every day for the city you choose and shown in that city’s local time.

Live preview

Find your nakshatra

Your readers enter a birth date, time and city and see the Moon’s nakshatra and pada. Without a birth time it says whether the Moon changed nakshatra that day instead of guessing.

Live preview

Adding it to your site

  1. Choose the options above and press Copy code.
  2. Paste it wherever your site accepts HTML: in WordPress, a Custom HTML block; elsewhere, your site builder’s embed or HTML element.
  3. Publish. The frame fills the column it sits in, up to 440 pixels wide, and works on phones.

Questions

Is it free?

Yes. There is no sign-up, no key and no fee. We ask only that you keep the one-line credit under the widget.

Which cities does the panchang widget cover?

238 cities in 28 countries, chosen from the list above. Each is computed for that city’s own coordinates and its local time, including daylight saving, so the sunrise, Rahu Kaal and the tithi at sunrise are the ones your readers actually see.

My city is not on the list. Can I still use it?

Yes. Replace ?city=… in the code with your coordinates, for example /embed/panchang?lat=40.49&lng=-74.45&name=Our%20Temple, where name is the label shown on the widget. The time zone is worked out from the coordinates. Add &cc=US to get US-style dates and 12-hour times.

Does it update by itself?

Yes. The panchang is recomputed for the current day in your city; nothing needs editing.

Will it slow my page down or track my visitors?

The panchang widget is a few kilobytes of HTML with no JavaScript. The nakshatra widget carries one small script for its form. Neither loads analytics or advertising code, and neither sets cookies. The code adds loading="lazy", so the frame loads only when a reader scrolls near it.

How is it calculated?

With the same engine as the rest of GrahAI: the Swiss Ephemeris, sidereal positions with the Lahiri ayanamsa, and sunrise computed for the place. The nakshatra widget sends the birth details to GrahAI to compute the chart and shows the Moon’s nakshatra and pada.

Looking for the full tools? See the panchang, the nakshatra calculator and every free calculator.