Date & Time Tools
Date Format Converter
Convert any date string from one format to another in your browser. ISO 8601, US, EU, RFC 2822, Unix timestamps, and custom token patterns.
Input format
Auto detect tries the browser parser first, then falls back to common date shapes. Pick a specific format if your input is ambiguous (for example 05/06/2026).
Output view
Local renders fields in your browser timezone. UTC renders the same instant in Coordinated Universal Time.
Format presets
Same instant rendered in your local zone.
ISO 8601
yyyy-MM-ddTHH:mm:ssZ2026-05-08T15:30:00+00:00
Best for APIs, JSON payloads, log files, databases.
RFC 2822
Fri May 08 2026 15:30:00 GMT+0000 (Coordinated Universal Time)
Email headers and HTTP Date headers.
US (MM/dd/yyyy hh:mm A)
MM/dd/yyyy hh:mm A05/08/2026 03:30 PM
American date order with 12-hour time.
EU (dd/MM/yyyy HH:mm)
dd/MM/yyyy HH:mm08/05/2026 15:30
European date order with 24-hour time.
ISO date only
yyyy-MM-dd2026-05-08
Sortable, calendar-day form.
Long localized
Friday, May 8, 2026 at 3:30:00 PM UTC
Spelled-out form using your browser locale (Intl.DateTimeFormat).
Short localized
5/8/26, 3:30 PM
Compact localized form (Intl.DateTimeFormat).
File-safe
yyyy-MM-dd_HH-mm-ss2026-05-08_15-30-00
No colons or slashes. Safe for filenames and URLs.
Friendly date
dddd, MMMM d, yyyyFriday, May 8, 2026
Spelled-out weekday and month for prose.
Unix seconds
1778254200
Whole seconds since 1970-01-01 UTC. Same in local and UTC view.
Unix milliseconds
1778254200000
Milliseconds since the epoch. Matches Date.now() and JSON.
Custom output format
Mix tokens with literal text. Wrap fixed words in single quotes (for example 'at') so they are emitted as written.
Result
Friday, May 8, 2026 at 3:30 PM
Token cheat sheet
Examples are rendered using the currently parsed date.
yyyy
4-digit year
2026
yy
2-digit year
26
MMMM
Full month name
May
MMM
3-letter month
May
MM
2-digit month (01-12)
05
M
Month (1-12)
5
dddd
Full weekday name
Friday
ddd
3-letter weekday
Fri
dd
2-digit day (01-31)
08
d
Day (1-31)
8
HH
2-digit hour, 24h (00-23)
15
H
Hour, 24h (0-23)
15
hh
2-digit hour, 12h (01-12)
03
h
Hour, 12h (1-12)
3
mm
2-digit minute (00-59)
30
m
Minute (0-59)
30
ss
2-digit second (00-59)
00
s
Second (0-59)
0
SSS
Milliseconds (000-999)
000
A
AM/PM
PM
a
am/pm
pm
Z
Offset with colon
+00:00
ZZ
Offset without colon
+0000
How to use
- Paste your date into the input field, click Now to start with the current time, or pick one of the sample formats.
- If the date is ambiguous, choose a specific input format (ISO, US, EU, dotted, year-first, RFC 2822, or a custom token pattern) so the parser locks onto the right day and month.
- Switch between Local and UTC to render the same instant in your timezone or in Coordinated Universal Time.
- Copy any preset format with one click, or type a custom output pattern using the token cheat sheet to write your own.
About this tool
Date Format Converter rewrites any date string into the format you need, entirely in your browser. Paste a date in almost any common shape (ISO 8601 like 2026-05-08T15:30:00, US like 05/08/2026, European like 08/05/2026, dotted like 08.05.2026, year-first like 2026/05/08, RFC 2822 from email and HTTP headers, long forms like May 8, 2026, or a Unix timestamp in seconds or milliseconds), and the tool detects the shape and parses it into a real Date object. If your input is ambiguous (05/06/2026 could be June 5 or May 6 depending on locale), pick a specific input format from the toggle so the parser locks onto the correct day and month. The output panel renders the same instant in eleven preset formats: ISO 8601 with offset, RFC 2822, US 12-hour, EU 24-hour, ISO date only, long localized through Intl.DateTimeFormat, short localized, file-safe (no slashes or colons), spelled-out friendly form, Unix seconds, and Unix milliseconds. A Local versus UTC toggle lets you flip every output between your browser timezone and Coordinated Universal Time, which makes converting between log files, scheduled jobs, calendar events, and API timestamps straightforward. The custom output panel accepts any token pattern (yyyy, MM, dd, HH, mm, ss, MMMM, dddd, hh, A, SSS, Z, and more) with literal text wrapped in single quotes, so you can write patterns like dddd, MMMM d, yyyy 'at' h:mm A and copy the result with one click. A live cheat sheet shows every supported token rendered against the current date, so the pattern you write is the pattern you get. Useful for developers reformatting API payloads, analysts cleaning spreadsheet exports, marketers preparing campaign dates, support engineers reading logs across timezones, and anyone who has ever stared at a date in the wrong format and wished it would just convert. The whole pipeline runs locally on your device, so the dates you paste here never leave your browser.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Unix Timestamp Converter
Convert epoch timestamps to dates and back.
Open tool
Date & TimeDate Difference Calculator
Days, weeks, months, working days, and weekday between any two dates.
Open tool
Date & TimeTime Zone Converter
Compare a moment across many time zones with offsets and DST.
Open tool
Date & TimeAge Calculator
Exact age, day of birth, next birthday countdown, and lifetime stats.
Open tool