Date Formatter
Date & TimeCreate custom date strings with flexible tokens, locale-aware names, and UTC or local time.
Choose a Date
Switch to UTC if you want to format a universal timestamp.
Locale affects month and weekday names (e.g., en-US, fr-FR).
Format Options
Use tokens like YYYY, MMM, DD, HH, mm, ss.
Formatted Output --
Token Reference
YYYY Year (2025)
YY Year (25)
MMMM Month name (January)
MMM Month (Jan)
MM Month (01)
M Month (1)
DD Day (09)
D Day (9)
dddd Weekday (Monday)
ddd Weekday (Mon)
HH 24h (14)
H 24h (no padding, 0–23)
hh 12h (02)
h 12h (no padding, 1–12)
mm Minutes (05)
m Minutes (no padding, 0–59)
ss Seconds (09)
s Seconds (no padding, 0–59)
A AM/PM
a am/pm
Z Offset (+02:00)
ZZ Offset (+0200)
How it works
Custom tokens: Build your own date strings using a simple token map.
Locale aware: Month and weekday names follow the locale you choose.
UTC or local: Switch between local time and UTC without conversions.
Private: Everything runs locally in your browser with no uploads.