What is a Unix timestamp and how do I convert it to a date?
A Unix timestamp is the number of seconds since January 1, 1970, 00:00 UTC. Computers use this "internal" format instead of human-readable dates - it's one number, easy to store and compare.
Type a timestamp - get the date in your local timezone and UTC. The tool auto-detects whether you typed seconds or milliseconds. Works the other way too: pick a date, get the timestamp.
Bonus: a live "now" timestamp counter - useful for developers testing databases or APIs.
How to use it
- Pick a mode: Timestamp → Date (I have a number, want to see the date) or Date → Timestamp (pick a date, get the number).
- Enter the value. The tool auto-detects whether it's seconds (10 digits) or milliseconds (13 digits).
- On the right you see the result in several formats - local timezone, UTC, ISO 8601, human-readable ("3 hours ago").
- Click "Use current" to insert the current timestamp.
When this is useful
Everyday situations where a timestamp needs to become a date or the other way around:
- Programming - debugging logs - servers record event times as timestamps in logs. Copy and see when something actually happened.
- Databases - "created_at" columns usually store a timestamp. Quickly check when a customer signed up.
- APIs and integrations - most REST APIs return dates as timestamps in JSON responses. Convert to a readable date without writing code.
- Checking record age - "this record has timestamp 1640000000 - when was that?". Answer: December 20, 2021.
- Generating test dates - need a "January 1, 2025" timestamp for a test? Pick the date, copy the timestamp.
- Files in the operating system - file modification dates on Unix systems are also timestamps.
To convert times between timezones, use our timezone converter. To count days between two dates, see date difference.