RelicRELIC

Epoch & Unix Timestamp Converter

Convert a Unix timestamp to a readable date, or a date back to a timestamp, in seconds or milliseconds, local time or UTC.

Runs entirely in your browser. Nothing you type is uploaded.
Current Unix time (seconds)
.
Timestamp to date
Enter a timestamp to see the date.
Date to timestamp
Pick a date and time (in your local zone) to get the timestamp.

What a Unix timestamp actually is

A Unix timestamp counts the seconds that have passed since midnight UTC on January 1, 1970, a moment programmers fondly call the epoch. It is the format databases, logs, and APIs love because it is just a number, with no timezone or formatting to argue about. The catch is that some systems count seconds and others count milliseconds, so this converter auto-detects which one you pasted (anything with 13 or more digits is treated as milliseconds) and lets you override it if the guess is wrong.

For every timestamp you paste and lose

You convert an epoch, copy the result into a ticket, then go hunting for it again twenty minutes later. Relic is an encrypted, permanent memory for everything you copy, so that timestamp, that token, and that one curl command stay searchable on every device, forever, end-to-end encrypted so only you can read them. The converter is free; never re-deriving the same thing twice is the upgrade.

Frequently asked questions

What is a Unix timestamp, and how do I convert one?

A Unix timestamp is the number of seconds that have passed since midnight UTC on January 1, 1970, a moment programmers call the epoch. Paste one into the "Timestamp to date" field and this tool shows it as your local time, as UTC, and in ISO 8601, or go the other way by picking a date to get the timestamp back.

Does it handle both seconds and milliseconds?

Yes. On Auto, any value with 13 or more digits (1,000,000,000,000 or larger) is read as milliseconds, and smaller values as seconds. If the guess is wrong you can force Seconds or Millis with the toggle, and the date-to-timestamp side always gives you both.

Why do so many systems store time as an epoch number?

Because it's just a single integer with no time zone or formatting to argue about, which makes it easy to store, sort, and compare. Databases, logs, and APIs lean on it, and you convert to a human-readable date only when a person needs to read it.

What is the current Unix time right now?

The banner at the top shows the live current Unix time in seconds and ticks forward once a second. Hit "Use now" to drop that value straight into the timestamp field so you can see the matching date.

Is my timestamp sent anywhere?

No. Every conversion happens locally in your browser, so the timestamps, tokens, or dates you paste are never uploaded. That matters when the timestamp comes from a private log or an internal system.

More free tools
JSON Formatter
json formatter
Base64 Encode / Decode
base64 decode
Diff Checker
diff checker
URL Encode / Decode
url decoder
UUID Generator
uuid generator
Regex Tester
regex tester
All tools