Tiny Online Tools logoTiny Online ToolssearchSearch tools…grid_viewAll Tools
Homechevron_rightUtility Toolschevron_rightDate Format ConverterDate Format Converter

Date Format Converter

Convert dates between any formats: ISO 8601, US, EU, RFC, custom patterns, and Unix timestamps.

Paste an ISO string, RFC date, or Unix timestamp in seconds/milliseconds.Tokens: YYYY, MM, DD, HH, mm, ss, MMM, dddd, A, etc.

Similar Tools

ISO Date Converter

ISO Date Converter

Convert any date into ISO 8601 format plus UTC, local, date-only, time-only, and weekday representations, instantly and for free.

Timestamp Converter

Timestamp Converter

Convert Unix timestamps into human-readable dates.

Unix Timestamp Generator

Unix Timestamp Generator

Generate the current Unix timestamp, convert any date to one, or create batches of random timestamps.

Week Number Calculator

Week Number Calculator

Get the ISO 8601 week number, US week number, day of year, and days remaining for any date. Free online week-number tool.

Favicon Generator

Favicon Generator

Generate all favicon sizes from any image, with HTML link tag snippets.

Shadow Palette Generator

Shadow Palette Generator

Generate layered shadow styles for interface design.

JPG to PDF

JPG to PDF

Combine JPG images into a single PDF document.

apps

More Tools

Browse our full collection of free online tools.

Converting Between Date Formats

Dates appear in dozens of formats across systems. The Date Format Converter unifies them: paste any recognizable date in, pick or type the output pattern, and see the result instantly.

Inputs It Understands

This tool auto-detects:

  • ISO 8601: 2026-04-14T12:00:00Z, 2026-04-14, 2026-04-14 15:30
  • RFC 2822 / HTTP: Tue, 14 Apr 2026 12:00:00 GMT
  • Unix timestamps: seconds (1776124800) or milliseconds (1776124800000) — the detector switches mode automatically using the magnitude of the number.
  • Human-readable strings that the browser's native Date constructor can parse: April 14, 2026 12:00, 04/14/2026.

The Format Tokens

Format patterns use a lightweight token syntax similar to Moment.js and dayjs:

TokenMeaningExample
YYYY / YY4- or 2-digit year2026 / 26
MMMM / MMM / MM / MMonth name / short / padded / plainApril / Apr / 04 / 4
DD / DPadded / plain day14 / 14
dddd / dddWeekday long / shortTuesday / Tue
HH / H24-hour padded / plain09 / 9
hh / h12-hour padded / plain09 / 9
mm / mMinutes padded / plain05 / 5
ss / sSeconds padded / plain07 / 7
A / aAM/PM or am/pmPM / pm

Any other characters pass through literally — so YYYY-MM-DDTHH:mm:ss yields 2026-04-14T12:00:00, and dddd, MMMM D yields Tuesday, April 14.

Why Not Just Intl?

The built-in Intl.DateTimeFormat is excellent for locale-aware display, but it doesn't support arbitrary token patterns. When you need a very specific output — a legacy log format, a custom filename prefix, a column header — a token-based converter is faster than building it by hand.

Presets

The quick presets cover the most common cases: ISO 8601 for computing, US (MM/DD/YYYY) and EU (DD.MM.YYYY) for regional documents, RFC-style for email headers, and 12h clock for user-facing UIs. Click a preset and the pattern populates immediately.