Unix Timestamp Converter – Epoch to Date & Back Online

Convert Unix timestamps to readable dates and back — auto-detects seconds, milliseconds, microseconds, and nanoseconds, with a live clock.

Unix Timestamp Converter – Epoch to Date & Back Online
Home › Converters › Unix Timestamp Converter

Unix Timestamp Converter: Epoch Time to Readable Date in One Click

Paste any epoch timestamp — seconds, milliseconds, microseconds, or nanoseconds — and instantly see the UTC date, your local date, ISO 8601, day of the week, and relative time (“3 days ago”). Convert dates back to epoch just as fast, with a live ticking clock.

Timestamp → Date

Paste a Unix timestamp. The converter auto-detects the unit by digit length (10 digits = seconds, 13 = milliseconds, 16 = microseconds, 19 = nanoseconds).

That does not look like a valid timestamp. Please enter digits only (10, 13, 16, or 19 digits).
Seconds
—
Milliseconds
—
Microseconds
—
Nanoseconds
—
UTC date & time
—
Your local date & time
—
ISO 8601
—
Day of week
—
Relative time
—
Unix time (detected input)
—

Date → Timestamp

Pick a date and time to get the matching epoch value in all four precisions.

Please pick a valid date and time first.
Seconds
—
Milliseconds
—
Microseconds
—
Nanoseconds
—

Current Unix Time (Live)

The exact current epoch timestamp, ticking every second.

—
—
100% private

Every conversion runs in your browser. Your timestamps never leave your device.

No signup needed

No account, no email, no API keys. Open the page and convert.

Free forever

Unlimited conversions, no paywalls, no rate limits.

How to use the Unix Timestamp Converter

  1. 1Paste your timestamp

    Drop any epoch value into the input — 1696118400, 1696118400000, or a 16/19-digit value. The tool auto-detects seconds, milliseconds, microseconds, or nanoseconds by digit length.

  2. 2Hit Convert

    Click Convert (or press Enter). You instantly get the UTC date, your local date, ISO 8601, day of the week, relative time like “3 days ago”, plus the value in all four precisions.

  3. 3Copy what you need

    Every result box has its own Copy button — grab the ISO string for an API payload, the seconds value for a database query, or the local time for a bug report.

  4. 4Or go in reverse

    Use the Date → Timestamp card: pick a date and time and get the matching epoch seconds, milliseconds, microseconds, and nanoseconds. The live clock shows right now.

Why developers love this converter

Automatic unit detection

10 digits means seconds, 13 means milliseconds, 16 means microseconds, 19 means nanoseconds. No dropdown, no guessing — paste and go.

Microsecond and nanosecond precision

Uses exact BigInt math, so 19-digit nanosecond timestamps convert without the rounding errors that break other converters.

UTC, local, and ISO 8601 together

See the same moment in coordinated universal time, your own timezone, and the ISO 8601 format APIs expect — side by side.

Relative time at a glance

Instantly know whether a timestamp was “12 minutes ago” or “in 4 days” — perfect for reading logs and debugging.

Reverse conversion

Turn any calendar date and time back into epoch seconds, milliseconds, microseconds, and nanoseconds for seed data and test fixtures.

Live ticking epoch clock

A real-time seconds and milliseconds clock you can copy from anytime you need “right now” in epoch format.

Frequently asked questions

What is a Unix timestamp?
A Unix timestamp (epoch time) is the number of seconds that have passed since January 1, 1970, 00:00:00 UTC. 1696118400, for example, is 10/01/2023 at 12:00:00 AM UTC. Databases, APIs, and log files use timestamps because they are simple, timezone-free numbers that sort and compare easily.
How does the auto-detection work?
The tool counts the digits: 10 digits is treated as seconds, 13 as milliseconds, 16 as microseconds, and 19 as nanoseconds. Odd lengths (11, 12, 14, 15, 17, 18 digits) are mapped to the nearest unit. A badge above the results always tells you which unit was detected, so there is no guesswork.
Why do some results show extra decimal digits?
JavaScript dates are only precise to the millisecond, so most converters silently round 16- and 19-digit inputs. This tool uses exact BigInt arithmetic to preserve microsecond and nanosecond precision, and shows the full fractional seconds in the ISO 8601 output (up to 9 digits).
What is the difference between the UTC and local results?
UTC is the single universal reference time (what servers and APIs use). Local is the same instant expressed in your device’s timezone. 1696118400 is 10/01/2023, 12:00:00 AM UTC, but in New York it is 09/30/2023, 8:00:00 PM — the same moment, different clock reading.
What date range does it support?
Any timestamp JavaScript dates can represent — roughly 1970 back to 271,821 BC and forward to 275,760 AD. Negative timestamps (dates before 1970) work too; just include the minus sign.
Is my data sent to a server?
No. Every calculation happens locally in your browser with JavaScript. Nothing is uploaded, logged, or stored — you can even disconnect from the internet after the page loads and it keeps working.
How do I convert a date to a Unix timestamp?
Scroll to the “Date → Timestamp” card, pick a date and time with the calendar control, and click “Convert to epoch”. You get the value in seconds, milliseconds, microseconds, and nanoseconds, each with a one-click copy button.
Scroll to Top