Unix Timestamp Converter

Convert Unix timestamps to UTC dates and back. Supports seconds and milliseconds. Free, instant, and private.

Independently verified for accuracy

Calculator by Toolsloft ↗
UTC date and time
2021-01-01 00:00:00 UTC
Day of week
Friday

Convert a Unix timestamp to a readable UTC date and time, or turn a date back into an epoch value. Unix time counts the seconds since the start of 1970, and it shows up in logs, APIs, and databases. This tool handles both seconds and milliseconds.

How this is calculated

A timestamp is read as seconds or milliseconds since the Unix epoch (1970-01-01 00:00:00 UTC) and formatted in UTC. The reverse direction parses a UTC date and time and counts the seconds back to the epoch. All arithmetic is in UTC to avoid time-zone drift.

How to use

  1. To read a timestamp, enter the epoch value and pick seconds or milliseconds.
  2. To get a timestamp, switch modes and enter a date as YYYY-MM-DD or YYYY-MM-DD HH:MM:SS.
  3. Copy the UTC date or the epoch seconds from the result.

Examples

  • 1609459200 (seconds): 2021-01-01 00:00:00 UTC, Friday
  • 2000-09-09 01:46:40: 968464000

FAQ

What is a Unix timestamp?
It is the number of seconds that have passed since 1 January 1970 at 00:00:00 UTC, known as the Unix epoch. It gives a single number that represents a moment in time without any time zone attached.
Seconds or milliseconds?
Unix time is classically in seconds, but JavaScript and many APIs use milliseconds, which are a thousand times larger. A 13-digit value is usually milliseconds, a 10-digit value is usually seconds. Pick the matching unit.
Does this use my local time zone?
No. All conversions are done in UTC so the result is stable no matter where you are. Convert to your local zone separately if you need it.

Embed this calculator

Add this free calculator to your own site. Copy the code and paste it where you want it to appear.