Unix Timestamp Converter

Convert Unix timestamps to human dates and back, with a live epoch clock, automa...

SecureFastFree

Updated

Current Unix time (seconds)
----------
Starting live clock

Timestamp to date

Date to timestamp

Pick a valid date.

The picked date and time are read as UTC.

Common intervals in seconds

60
1 minute
3,600
1 hour
86,400
1 day
604,800
1 week
2,592,000
30 days
31,536,000
1 year (365 days)

Notable Unix timestamps

Quick answer

A Unix timestamp is the number of seconds since 1 January 1970 at 00:00:00 UTC, a single number that means the same instant everywhere in the world. This converter runs entirely in your browser: paste a timestamp and it auto-detects seconds versus milliseconds, then shows the date in your local time, in UTC, and in ISO 8601, plus a relative phrase like 3 hours ago. For example, 1700000000 is Tue, 14 Nov 2023 22:13:20 UTC. You can also pick a date and time and read the epoch back out in seconds and milliseconds.

SSL Secured
256-bit Encryption
Cloud Processing
Mobile Friendly

Converter Features

Live Ticking Clock - Current Unix time in seconds, with copy and a pause and play toggle
Unit Auto-Detect - Reads seconds or milliseconds from digit length, with a manual override
Local and UTC - Both zones shown side by side so there is no off-by-one hour guessing
ISO 8601 Output - ISO in UTC and with your local offset, plus a plain readable sentence
Two-Way - Timestamp to date and date to timestamp, in seconds and milliseconds
Relative Time - A human phrase such as 3 hours ago or in 2 days for any timestamp

Why Use Unix Timestamp Converter?

Live Epoch Clock

Watch the current Unix time tick up second by second, copy it with one tap, or pause it to hold a value steady while you work.

Auto Seconds or Milliseconds

Paste any value and the converter reads the digit length: 10-digit input is treated as seconds, 13-digit input as milliseconds. You can also force either unit.

Local and UTC Together

Every timestamp is shown in both your device local time and UTC, so you never guess which zone a value belongs to or make an off-by-one hour mistake.

ISO 8601 and Relative

Get ISO 8601 in UTC and with your local offset, a readable sentence like Tue, 14 Nov 2023 22:13:20 UTC, and a relative phrase such as 3 hours ago.

Date to Timestamp

Pick a date and time, choose whether it is UTC or your local zone, and read the epoch out in both seconds and milliseconds, ready to paste into code.

100% Private

Every conversion runs in your browser with the built-in Date and Intl APIs. No timestamp, date, or clock reading is ever sent to a server.

Common Uses for the Unix Timestamp Converter

API Development

Read the epoch fields in requests and responses as real dates while debugging.

Database Rows

Turn a created_at or updated_at epoch column into a date you can actually read.

Log Analysis

Convert timestamps in log lines to local time to line events up with a report.

Scheduling and Expiry

Work out the epoch for a future date to set a token expiry or a cron style run time.

How It Works

1

Read or copy the live epoch

The top panel shows the current Unix time in seconds, updating live. Copy it, pause the clock, or press Use this to drop it into the converter.

2

Convert a timestamp to a date

Paste a Unix timestamp into Timestamp to date. The tool auto-detects seconds versus milliseconds and shows the local time, UTC, ISO 8601, and a relative phrase.

3

Convert a date to a timestamp

In Date to timestamp, pick a date and time, choose UTC or local, and copy the epoch out in seconds or milliseconds.

Tips and Best Practices

Grab the Current Epoch Fast

Press Use this on the live clock to drop the current Unix time straight into the converter, which is handy when writing a test fixture or seeding a value.

Force a Unit When Values Are Odd

Auto-detect uses digit length, so a short millisecond value from early 1970 could look like seconds. If a result looks wrong, tap Seconds or Milliseconds to set the unit yourself.

Mind UTC vs Local

When converting a date to a timestamp, the UTC and Local buttons change the answer by your time zone offset. Pick the one that matches where the date was recorded.

Frequently Asked Questions

A Unix timestamp, also called epoch or POSIX time, is the number of seconds that have elapsed since 1 January 1970 at 00:00:00 UTC, not counting leap seconds. Because it is a single number tied to UTC, it is the same everywhere in the world, which makes it a compact and time zone independent way to store and compare instants in databases, logs, and APIs.
Paste the timestamp into the Timestamp to date box. This tool auto-detects whether the value is in seconds or milliseconds from its length, then shows the moment in your local time and in UTC, plus ISO 8601 and a relative phrase like 3 hours ago. For example, 1700000000 is Tue, 14 Nov 2023 22:13:20 UTC.
Classic Unix timestamps count whole seconds and are about 10 digits long, like 1700000000. JavaScript, Java, and some databases count milliseconds, which are about 13 digits long, like 1700000000000. This converter reads the digit length automatically, and you can also force seconds or milliseconds with the unit buttons.
Yes. A negative Unix timestamp represents a date before the 1970 epoch. For example, -86400 is 24 hours before the epoch, which is Wed, 31 Dec 1969 00:00:00 UTC. Type the minus sign and the converter handles it the same way as any other value.
Systems that store Unix time in a signed 32-bit integer can only count up to 2147483647 seconds, which is Tue, 19 Jan 2038 03:14:07 UTC, after which the value overflows. This tool uses 64-bit JavaScript numbers, so it converts far past 2038 without any limit.
Yes. Every calculation uses the browser built-in Date and Intl APIs on your own device, so nothing is uploaded. The live clock reads your system time, and the local output uses your device time zone, while the UTC output is fixed to Coordinated Universal Time.

Related Tools