Loading…
Format dates into ISO, RFC, and locale strings. Use for display formats; for Unix epochs use timestamp-converter. Input: date text. Returns formatted dates. 100% client-side.
Date Formatter is loading — interactive editor will appear here. Use examples below to try instantly once loaded.
Press ? for keyboard shortcuts
Formats a date and time into more than 20 common patterns, including ISO 8601, RFC 2822, Unix timestamps (seconds and milliseconds), US locale strings, and ordered year-month-day variants. You pick a timezone and a pattern, and the output updates instantly.
Dates appear in many different formats across APIs, logs, databases, and UI — and mishandled formats cause subtle bugs. A formatter that shows exactly what a given timestamp looks like in different notations and timezones saves time when debugging data pipelines.
This tool is part of the DevStackIO platform — a collection of free online developer tools from DevStackIO. Browse more free developer resources on DevStackIO.
Back-end and API developers working with timestamps, data engineers transforming records, QA engineers verifying date handling, and anyone adapting dates between systems.
Pick an input date, either from the picker or by entering a Unix timestamp
Select the timezone to interpret the value in
Since the pattern list updates automatically, choose your preferred output format
Copy the formatted result for use in your code or document
Switch between milliseconds and seconds for Unix-style timestamps
Input 1783800000000 ms → ISO 8601: 2026-07-11T06:40:00.000Z (UTC)Input 2026-08-07 14:00 → RFC 2822: Fri, 07 Aug 2026 14:00:00 +0000Input 1750000000 s → Locale (US): July 1, 2025 at 12:00 AMInput 2026-01-15 08:30 → YMD: 20260115 0830Does this tool support timezones?
Yes, you can choose UTC, local, or several common zones, and the output adjusts accordingly.
How do I tell seconds from milliseconds?
10-digit timestamps are seconds; 13-digit are milliseconds.
Is my value sent anywhere?
No, all formatting happens locally in your browser.
Can I convert a formatted date back to a timestamp?
Yes, paste a full ISO or RFC string and the tool derives its timestamp.
Authoritative specifications, standards, and in-depth reading for Date Formatter.
Source (UTC)
2026-10-12 05:29:41 UTC
Formatting uses UTC for predictable, ISO-compliant output. All processing happens locally in your browser.
Add or subtract days and diff dates. Use for durations; for workdays use business-days-calculator. Input: dates. Returns difference. 100% client-side, files never leave browser.
Calculate exact age from birthdate. Use for years/months/days; for differences use date-calculator. Input: date. Returns age. 100% client-side, files never leave browser.
Count working days (Mon–Fri) between two dates, or add/subtract business days. Leap-year and month-length correct.
Find the ISO 8601 week number, weekday, day-of-year, and leap-year status for any date.
Calculate the exact number of days, weeks, months, and years between two dates. Handles leap years and varying month lengths correctly.
Find the day of week for any date. Shows weekday name, day-of-year, and leap year status. Uses proleptic Gregorian calendar.
Normalize line breaks to LF (Unix/Mac) or CRLF (Windows), or remove them entirely.
Count words, characters, and sentences. Get reading time and Flesch score as you type.