Unix Timestamp Converter

Convert Unix epoch time to a human date and back — seconds or milliseconds, local time or UTC, with ISO 8601 and relative time.

Current Unix timestamp
Enter a timestamp or pick a date to convert.

🔒 Runs entirely in your browser — nothing you type is uploaded or stored on a server.

The Unix Timestamp Converter translates epoch time into a date you can read — and turns a date back into a timestamp. Paste a number like 1700000000 and instantly see it as a full date and time, the ISO 8601 string, the day of the week and a friendly “3 months ago”. It handles seconds, milliseconds and microseconds automatically by looking at the length, so you don't have to remember which unit a log or API used.

It works both ways and in both time zones. Switch between your local time and UTC with one click; the readable date, the ISO string and the reverse conversion all follow. Pick a date and time in the calendar field and read off its exact epoch in seconds and milliseconds — handy for building a query, seeding test data or checking why a token expired.

A live clock shows the current Unix time ticking each second, one click to copy. Every value in the result has its own copy button, so grabbing just the milliseconds or the ISO string is instant. Like all Txtset tools it runs entirely in your browser — useful when the timestamps come from production logs you would rather not paste into someone else's server.

How to use

  1. Paste a Unix timestamp into the left field — seconds, milliseconds or microseconds are detected automatically.
  2. Or pick a date and time in the right field to convert the other way.
  3. Switch between Local time and UTC to see the moment in either zone.
  4. Read the full breakdown: seconds, milliseconds, ISO 8601, readable date, day and relative time.
  5. Copy any single value with its Copy button, or grab the live current timestamp up top.

Examples

Reading a log line
A log shows 1700000000 — paste it to learn it was 14 Nov 2023, 22:13:20 UTC, three months ago.
Milliseconds from JavaScript
A 13-digit value like 1700000000000 is recognised as milliseconds and converted without you changing any setting.
Building a query
Pick a date in the calendar to get its exact epoch seconds to drop into a database query or API filter.
Checking token expiry
Convert a JWT's exp claim to a readable date to see at a glance whether it has already expired.

Frequently asked questions

What is a Unix timestamp?
It is the number of seconds (or milliseconds) since 1 January 1970 at 00:00 UTC, known as the Unix epoch. It is a compact, timezone-free way to represent an exact moment, used throughout logs, databases and APIs.
Does it handle seconds and milliseconds?
Yes, automatically. The converter looks at how many digits the number has — roughly 10 for seconds, 13 for milliseconds, 16 for microseconds — and interprets it correctly. Both units are shown in the result.
Can it convert a date back to a timestamp?
Yes. Use the date-and-time field and read off the epoch in seconds and milliseconds. Your Local/UTC choice controls how the picked date is interpreted.
Local time or UTC — what's the difference?
UTC is the global reference with no daylight saving; local time is UTC shifted by your device's time-zone offset. The same instant has one UTC value but a different wall-clock time depending on the zone, so pick the one your data uses.
What is ISO 8601?
A standard text format for dates like 2023-11-14T22:13:20.000Z. It sorts chronologically as plain text and is unambiguous across systems, which is why APIs favour it.
Is anything sent to a server?
No. All conversions run in your browser using your device's clock and time zone, so timestamps from private logs stay on your machine.