Free widget

Week number badge

Show the current week number on your website, intranet or README. It updates itself every day. No JavaScript needed.

Current week number badge, lightCurrent week number badge, dark

Copy the code

Paste the HTML where you want the badge to appear.

Light badge

<a href="https://weeknumber.io/" title="What week is it? Weeknumber.io"><img src="https://weeknumber.io/badge.svg" width="200" height="56" alt="Current week number by Weeknumber.io"></a>

Dark badge

<a href="https://weeknumber.io/" title="What week is it? Weeknumber.io"><img src="https://weeknumber.io/badge.svg?theme=dark" width="200" height="56" alt="Current week number by Weeknumber.io"></a>

Badge for a specific time zone

<a href="https://weeknumber.io/" title="What week is it? Weeknumber.io"><img src="https://weeknumber.io/badge.svg?tz=America/New_York" width="200" height="56" alt="Current week number by Weeknumber.io"></a>

For Markdown (GitHub README, Notion and similar):

[![Current week number](https://weeknumber.io/badge.svg)](https://weeknumber.io/)

Options

?theme=dark
Dark background for dark websites.
?tz=Europe/Berlin
Use "today" in a specific IANA time zone. Default is UTC.

How it works

The badge is a small SVG image drawn on request. It shows the ISO 8601 week number and year and is cached for at most an hour, never past midnight, so it changes on Monday without any action from you. It is free to use; please keep the link to Weeknumber.io. Need the raw data? Use the week number API.