Unix timestamp converter

Convert epoch time to a readable date and back β€” seconds or milliseconds, with the live current timestamp.

Current Unix timestamp (seconds)
…

Timestamp β†’ Date

Date β†’ Timestamp

Epoch time, made readable

Logs, databases and APIs store time as a Unix timestamp β€” the number of seconds since 1 January 1970 UTC. This converter turns that number into a human date in your local time, UTC and ISO 8601 format, and goes the other way too: pick any date and get its epoch value in both seconds and milliseconds.

The current timestamp at the top updates live from your device clock. Everything is computed in your browser, so nothing is uploaded.

How to convert a timestamp

To read an epoch value, paste your 10-digit (seconds) or 13-digit (milliseconds) number and the local, UTC and ISO 8601 dates appear at once. To go the other way, use the Date β†’ Timestamppicker, choose a date and time, and copy the resulting Unix value in seconds or milliseconds. The live current timestamp is always one click away when you just need "now" for a quick test.

Common uses for epoch time

Reading server logs, debugging API responses, setting token expiry (exp) claims, scheduling jobs and comparing event times all involve Unix timestamps. If you are working with API payloads or encoded values too, the JSON formatter and URL encoder sit alongside this on the developer tools page.

Frequently asked questions

What is a Unix timestamp?
A Unix timestamp (or epoch time) is the number of seconds that have passed since 1 January 1970, 00:00 UTC. It is a simple, time-zone-free way for computers to store a moment in time.
Does it handle milliseconds too?
Yes. Paste a value in seconds (10 digits) or milliseconds (13 digits) and the converter detects which it is, then shows the local, UTC and ISO 8601 date.
How do I convert a date to a timestamp?
Use the Date β†’ Timestamp picker, choose a date and time, and the tool shows the matching Unix value in both seconds and milliseconds.
Is the current timestamp accurate?
It reads your device clock and updates every second, so it is as accurate as your computer's time. Everything runs in your browser.
Why are some timestamps 10 digits and others 13?
A 10-digit value counts seconds since the epoch, while a 13-digit value counts milliseconds. JavaScript and many APIs use milliseconds, whereas Unix tools and databases often use seconds. This converter detects the length and handles both.
Does the converter account for time zones?
Yes. A Unix timestamp itself is always in UTC, but the tool also shows the moment in your local time zone alongside the UTC and ISO 8601 forms, so you can see exactly how the same instant appears in each.
What is ISO 8601 and why does it matter?
ISO 8601 is the international standard date format, like 2026-06-17T09:30:00Z. It sorts correctly as text and is unambiguous across regions, which is why it is the preferred format for logs, APIs and data exchange.
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit integer will overflow on 19 January 2038. Modern platforms use 64-bit timestamps, which push the limit billions of years away, so the issue mainly affects old or embedded software.

More free tools

Fast, private utilities that run entirely in your browser.

By Narender Chaudhary, Editorial & Product Lead Β· Updated June 2026

Join us on Telegram & WhatsApp for the latest updates