Unix Timestamp Converter
Convert a Unix epoch timestamp into a readable date, or turn a date back into a timestamp. Works in seconds or milliseconds, UTC and local time.
Timestamp to date
Date to timestamp
Working with Unix time
Unix time counts seconds since the epoch, 1 January 1970 UTC. Because it carries no timezone, it is the standard way systems exchange a point in time. Ethereum block headers use it too: the timestamp field is Unix seconds, so you can paste a block timestamp above to see when that block was produced.
Watch the digit count: a 10-digit number is almost certainly seconds, a 13-digit number is milliseconds. Pick the matching unit so the date comes out right.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds elapsed since 00:00:00 UTC on 1 January 1970, the Unix epoch. It is a timezone-independent way to represent a moment in time.
Seconds or milliseconds?
Unix timestamps are traditionally in seconds (10 digits today). JavaScript's Date uses milliseconds (13 digits). This tool lets you pick either.
How do Ethereum block timestamps work?
Each Ethereum block header carries a timestamp field in Unix seconds, set by the validator that proposed the block. Paste it here to read it as a date.
Does this send my data anywhere?
No. The conversion runs entirely in your browser with the built-in Date API. Nothing leaves your machine.
Building on Ethereum?
Run your code on the node itself. No rate limits, no compute units, flat rate, sub-10ms RPC.