Unix Timestamp Converter Online — Epoch ↔ Date

Convert Unix epoch seconds or milliseconds to human-readable dates (ISO and locale) and back. Auto-detect the unit, switch between UTC and local time — everything stays in your browser.

Loading…
Unix timestamp converter — developer notes
Map Unix epoch values to readable dates and back without leaving the browser. Auto unit detection avoids confusing 10-digit seconds with 13-digit milliseconds.

How conversion works

Paste an epoch number (seconds or milliseconds) or an ISO / parseable date string, then convert. Use Now to fill the current epoch in seconds. Results show ISO, a locale-formatted string, and both epoch forms so you can copy what your API expects.

Options

Unit (auto / seconds / milliseconds)
Auto treats roughly 10-digit values as seconds and 13-digit values as milliseconds. Force seconds or milliseconds when a value is ambiguous or you know the source unit.
Timezone (UTC / local)
UTC is the default for logs and distributed systems. Local shows wall-clock time in your browser timezone when debugging against local clocks.

Examples

Epoch seconds → ISO (UTC)

Input

1710000000

Output

2024-03-09T16:00:00.000Z

ISO date → epoch

Input

2024-03-09T16:00:00.000Z

Output

1710000000 (seconds) / 1710000000000 (ms)

Related utilities

Need identifiers for fixtures? Use the UUID generator. Scheduling jobs? Check next runs with the cron parser.

Unix timestamp FAQ

Epoch conversion questions

How does auto unit detection work?

Values with about 10 digits (absolute) are treated as seconds; longer values are treated as milliseconds. Override with Seconds or Milliseconds when needed.

Is my data uploaded?

No. Conversion runs entirely in your browser.

Can I convert dates to epoch?

Yes. Paste an ISO or browser-parseable date string and convert to get both seconds and milliseconds.

UTC vs local — which should I use?

Prefer UTC for logs, APIs, and multi-region systems. Use local when matching a wall clock on your machine.

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.