Epoch / Timestamp Converter
Unix time ↔ human-readable date.
Runs entirely in your browser — nothing you enter is uploaded or sent to a server.
A Unix timestamp is timezone-independent; the local time shown uses your device's timezone, so double-check the zone whenever a specific date and time really matters. Read our full disclaimer.
About this tool
A Unix timestamp is the number of seconds (or milliseconds) since 1 January 1970 UTC — the way computers store time. This tool converts a timestamp into readable dates (ISO 8601, UTC, and your local time, plus a human-relative 'x hours ago'), and converts a date back into a timestamp in both seconds and milliseconds. It auto-detects seconds vs milliseconds, copies any value in one click, and runs entirely in your browser.
Try it
The timestamp 1700000000 (seconds) is 2023-11-14T22:13:20Z. Midnight on 2021-01-01 UTC is 1609459200.
How to use
- 1Enter a Unix timestamp — the tool auto-detects seconds vs milliseconds.
- 2Read the ISO, UTC, and local date, plus a human-relative time.
- 3Or pick a date and time to get its timestamp in seconds and milliseconds.
Features
- Two-way: timestamp → date and date → timestamp.
- Seconds or milliseconds, detected automatically.
- ISO 8601, UTC, and local output, plus a relative time.
- One-click copy of any value.
Frequently asked questions
What's the difference between seconds and milliseconds?
A 10-digit timestamp is usually in seconds; a 13-digit one is in milliseconds. The tool guesses based on the magnitude, and you can override it. Unix time counts seconds by convention; JavaScript's Date.now() uses milliseconds.
Which timezone is used?
It shows UTC and your browser's local time. Timestamps themselves are timezone-independent — they always count from 1970 UTC — so a timestamp is the same everywhere; only the readable date changes with the zone.
What is the Unix epoch?
The epoch is the reference point Unix time counts from: 00:00:00 UTC on 1 January 1970. A timestamp is simply the number of seconds (or milliseconds) elapsed since that instant.
How do I convert a date to a Unix timestamp?
Switch to the date-to-timestamp direction, pick a date and time, and the tool shows the timestamp in both seconds and milliseconds — handy when you need the value for an API, a database, or a JWT's exp claim.
More developer tools
View allUUID Generator
Create one or many version-4 UUIDs for IDs, keys, and test data — generated securely on your device with the Web Crypto API, ready to copy in bulk.
Open toolURL Encoder / Decoder
Encode text so it's safe to drop into a URL, or decode percent-encoded text back to readable form — instantly and entirely in your browser, nothing uploaded.
Open toolPassword Generator
Generate secure random passwords with your choice of length and character sets, using your browser's Web Crypto API — nothing is ever sent anywhere.
Open tool