Unix Timestamp Converter
Convert Unix timestamps to dates and back, in local time and UTC.
Current Unix timestamp (seconds)
Timestamp → Date
Seconds or milliseconds (13 digits) are detected automatically.
Date → Timestamp
Your data is processed entirely in your browser and is never sent to a server.
How to use Unix Timestamp Converter
- The current timestamp (in seconds) is always shown at the top for quick copying.
- Timestamp → Date: enter a timestamp; the tool detects seconds or milliseconds and shows the date in local time and UTC. Click Now to use the current moment.
- Date → Timestamp: pick a date and time (in your device's time zone) to get the timestamp in seconds and milliseconds.
Frequently asked questions
What is a Unix timestamp?
It is the number of seconds since 00:00:00 UTC on 1 January 1970. It does not depend on time zones, which is why databases and APIs use it to store time.
How do I know if a timestamp is in seconds or milliseconds?
Current timestamps in seconds have 10 digits; in milliseconds they have 13 (Date.now() in JavaScript). The tool detects this from the length.
Why is the local time different from UTC?
Local time is UTC plus your time zone offset (for example UTC−5 in New York or UTC+1 in Berlin). The tool shows both so you can compare them easily.
Other tools
View all
JWT Decoder
Decode a JWT to see its header, payload and expiry.
UUID Generator
Generate UUID v4 (random) or v7 (time-ordered) in bulk.
Code Formatter
Format, minify and validate JSON, XML, HTML, CSS, JavaScript, SQL and YAML.
URL Encode / Decode
Encode and decode URLs, and break a URL down into its parts.