Day Number Logo

Day-Number

Your daily calendar companion

← Back to All Widgets

Today's Day Number Widget for Websites

Display the current day of the year on your website.

Preview

Customize Your Widget

Embed Code

<iframe
  src="https://day-number.com/api/widgets/today-day-number?style=elegant&theme=light&size=large&lang=en&showProgress=true&showPercentage=true"
  width="640"
  height="220"
  frameborder="0"
  scrolling="no"
  title="Day Number Widget"
></iframe>

Safest method, works everywhere

How to Use This Widget

1

Customize Your Widget

Use the configurator above to style the day number widget and choose the theme and size that best match your site.

2

Copy the Embed Code

Choose either the iframe (recommended) or script method, then click Copy Code to copy code.

3

Paste Into Your Site

Paste the day number widget code into your HTML where you want the counter to appear.

4

Publish & Enjoy

Publish your page and the day number widget will automatically update daily with the correct day of the year.

Usage Terms

  • ✅ Free for commercial and personal use
  • ✅ No signup or API key required
  • ✅ Attribution link must remain visible and dofollow
  • ❌ Do not modify the widget code to remove attribution

Frequently Asked Questions

Can I customize the colors?

Yes. You can change how the day number widget looks by choosing from 2 preset styles (Classic, Elegant) and light/dark themes. Custom color schemes are planned for a future update.

Does the widget slow down my site?

No. The widget loads asynchronously and weighs under 10KB. It won't block your page rendering or affect Core Web Vitals.

Can I use it on multiple websites?

Yes. You can embed the day number widget on as many sites as you want, as long as you keep the attribution link.

How often does it update?

The widget updates instantly when the page loads. It reflects the current day number based on the visitor's timezone.

What happens if the service goes down?

The day number widget degrades gracefully. If our servers are unreachable, it will show a fallback message instead of breaking your layout.

Free Day Number Widget for Websites | Day of Year Counter