Epoch Milliseconds Converter

Convert between epoch milliseconds and human dates.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Epoch milliseconds converter

A timestamp in your logs or database is often a bare number like 1700000000000. That’s epoch milliseconds — the count of milliseconds since 1 January 1970 UTC, the format JavaScript’s Date.now() returns. This converter turns that number into a readable date and back again, both directions, with copy buttons for each format.

How it works

The tool uses the browser’s native Date object — no rounding tricks or external libraries. In Epoch ms to date mode it constructs a date from your millisecond value and renders it as an ISO 8601 string, a UTC time and your local time. In Date to epoch ms mode it parses any date the browser understands and reports getTime() (milliseconds) plus that value divided by 1000 (the classic Unix seconds). A 13-digit input is milliseconds; a 10-digit input is seconds.

Example

Paste 1700000000000:

OutputValue
ISO 8601 (UTC)2023-11-14T22:13:20.000Z
Epoch seconds1700000000
Epoch milliseconds1700000000000

Switch direction and type 2023-11-14T22:13:20Z to get 1700000000000 back. Every output has a copy button, so you can grab exactly the format your code or database expects. The conversion runs entirely on your device.

Ad placeholder (rectangle)