Skip to content

Widgets · Free, no account

Moon phase widget for your website

Tonight’s phase, how much of the disc is lit, the sign the Moon is travelling through and the date of the next full Moon.

How do I add a moon phase widget to my website?

Paste one line of HTML and the widget shows tonight’s Moon phase, its illuminated percentage and the next full Moon date. It recalculates itself every day from our own ephemeris, so nothing has to be updated by hand. It is free and needs no account or API key.

Preview and embed code

320 × 430 pixels by default. Change the numbers in the code and the widget re-lays itself out.

Copy this

Paste it into a WordPress Custom HTML block, a Wix or Squarespace Embed element, a Tilda HTML block, or straight into a template. Nothing else is needed.

What the frame shows

Everything in it is calculated.

  • Phase name, illuminated percentage and Moon age in days
  • The zodiac sign the Moon is in right now
  • Date and time of the next quarter or full Moon
  • A drawn Moon disc whose terminator matches the real elongation

Who puts this on a page

Not only astrology sites.

  • Fishing and hunting sites, where the phase drives the solunar tables
  • Gardening and biodynamic growers who sow by the Moon
  • Sailing, hiking and astrophotography pages planning by moonlight
  • Pagan, witchcraft and ritual blogs that work the lunar cycle

Options

Everything you can change.

All of it lives in the URL inside the code you copied, so there is nothing to configure anywhere else.

WhatHowValues
Theme Add ?theme= to the frame address, or use the buttons above before copying. auto, light, dark
Size Change width and height in the code. The widget re-lays itself out rather than cropping. Any. Default 320 × 430
Attribution The link under the frame is the licence condition. Style it to match your site, but keep it visible. Required

Clear answers

Frequently asked questions

How do I add a moon phase widget to my website?
Copy the HTML on this page and paste it into any part of your site that accepts HTML — a WordPress Custom HTML block, a Wix or Squarespace embed element, a Tilda HTML block or a raw template. Nothing else has to be installed, and the widget starts showing the correct phase immediately.
Is the moon phase widget free?
Yes. It is free for personal and commercial sites, there is no account, no API key and no request limit. The only condition is that the attribution link that comes with the code stays visible.
How often does the widget update?
The phase, illumination and Moon sign are recalculated for every day from the same astronomical engine the rest of the site uses. You paste the code once and never touch it again.
Does it work on WordPress, Wix and Squarespace?
Yes. The widget is a standard iframe, which every website builder accepts through its HTML or embed block. It does not require JavaScript on your page and it cannot affect the rest of your layout.
Will the widget slow my page down?
No. It loads lazily, weighs a few kilobytes, downloads no fonts and runs no tracking scripts on your visitors. It is a self-contained frame that loads after your own content.