Unix Timestamp Converter

Convert Unix timestamps to dates and back, in seconds or milliseconds.

Updated

Timestamp to date

Enter a Unix timestamp in seconds or milliseconds — it is detected automatically.

ISO 86012023-11-14T22:13:20.000Z
UTCTue, 14 Nov 2023 22:13:20 GMT
LocalNov 14, 2023, 10:13:20 PM UTC

Date to timestamp

Pick a date and time to get its Unix timestamp in your local time zone.

Choose a date and time to see its Unix timestamp.

About

About this tool

A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970 at 00:00:00 UTC, known as the epoch. It is the standard way computers store and exchange time because it is a single, time-zone-free integer. This Unix timestamp converter turns that number into a human-readable date — and converts any date back into a timestamp.

Paste a value and the tool detects the unit automatically: values below 10^12 are treated as seconds, larger ones as milliseconds. You get the date in three forms — ISO 8601 (the format most APIs use), a UTC string, and your local time — each with a one-click copy button. The reverse direction takes a date-and-time picker and returns the timestamp in both seconds and milliseconds.

Because everything runs locally in your browser, it is safe for logs, debugging API responses, and database timestamps you would rather not paste into a remote server. The 'Now' button fills in the current timestamp instantly, which is handy when you need a fresh epoch value for testing.

In practice

Examples

Input

1700000000

Output

2023-11-14T22:13:20Z (UTC)

Below 10^12, so it is read as seconds.

Input

1700000000000

Output

2023-11-14T22:13:20Z (UTC)

Same instant expressed in milliseconds.

Input

0

Output

1970-01-01T00:00:00Z (the Unix epoch)

Who uses it

Common uses

  • Developers debugging an API response that returns createdAt as a Unix timestamp
  • Engineers reading log lines or database rows that store time as epoch seconds
  • QA testers who need a fresh current timestamp to paste into a request payload
  • Backend developers converting between millisecond timestamps (Java, JavaScript) and second timestamps (PostgreSQL, Unix)
  • Anyone checking what date a JWT 'exp' or 'iat' epoch claim actually represents
  • Data analysts translating epoch columns into readable dates for a report
FAQ

Frequently asked questions

What is a Unix timestamp?

It is the number of seconds since January 1, 1970 (UTC), called the Unix epoch. Some systems use milliseconds instead. It encodes a moment in time as a single integer with no time zone.

Does it accept seconds or milliseconds?

Both. If the absolute value is below 1,000,000,000,000 (10^12) it is treated as seconds and multiplied by 1000; otherwise it is treated as milliseconds.

What time zone are the results in?

The ISO 8601 and UTC outputs are in UTC. The local output uses your device's time zone. When you convert a date back to a timestamp, the picker is read in your local time zone.

Is my data sent anywhere?

No. All conversion happens in your browser with JavaScript. Nothing is uploaded, logged, or stored.

What does the 'Now' button do?

It fills the timestamp field with the current Unix time in seconds, so you can grab a fresh epoch value for testing or logging.

Share

Embed this tool

Free to use on your own site. It stays fast and private for your visitors.

embed.html
<iframe src="https://hypercho.com/embed/timestamp-converter" title="Unix Timestamp Converter by Hypercho" width="100%" height="560" style="border:1px solid #d8cec3;border-radius:16px;max-width:720px" loading="lazy"></iframe>
<p style="font:13px sans-serif"><a href="https://hypercho.com/tools/timestamp-converter" target="_blank" rel="noopener">Unix Timestamp Converter</a> by <a href="https://hypercho.com" target="_blank" rel="noopener">Hypercho</a></p>
Work with Hypercho

Doing this by hand every week?Hand it to an AI employee.

A free tool handles one job at a time. If your team repeats a workflow like this every day, we'll design, build and run an AI employee that owns it.

Book a strategy call