# Unix Timestamp Converter

> Free Unix timestamp converter. Convert epoch time to UTC, local and ISO dates, auto-detecting seconds, ms, us and ns. Convert dates back to timestamps.

Convert Unix timestamps to readable dates and back. Auto-detects seconds, milliseconds, microseconds and nanoseconds. Includes a live clock button for the current time.

*Interactive tool: enter your values at https://toollantern.win/unix-timestamp-converter/ and results update instantly in your browser.*

## What the tool does

A Unix timestamp counts seconds since January 1, 1970 (the epoch). Paste one to see it as a UTC date, your local date and ISO 8601. Or pick a date to get its timestamp. The tool guesses the unit from the number of digits: 10 means seconds, 13 milliseconds, 16 microseconds, 19 nanoseconds.

## Worked example

**1700000000** is detected as seconds and converts to Tuesday, November 14, 2023 22:13:20 UTC. The same moment is **1700000000000** in milliseconds.

## Why timestamps

APIs, databases and JWTs store time as plain numbers because they are timezone-free and easy to compare. This tool bridges those numbers and human dates.

## Frequently asked questions
### What is a Unix timestamp?

The number of seconds since January 1, 1970 00:00:00 UTC, not counting leap seconds. It is the standard way computers store absolute time.

### How do I know if my timestamp is seconds or milliseconds?

Count the digits: 10 digits is seconds, 13 is milliseconds. This tool detects it automatically and tells you which unit it found.

### Why does the date look wrong?

Check the unit first. A millisecond value read as seconds lands in the year 50,000+. Also confirm whether you expected UTC or your local timezone.

### What is the Year 2038 problem?

On systems storing timestamps in a signed 32-bit integer, time overflows on January 19, 2038. Modern 64-bit systems are unaffected.

---
Interactive version: https://toollantern.win/unix-timestamp-converter/
