ConvertProKitConvertProKit← Developer Tools

Unix Timestamp Converter

Epoch to date, or date to epoch - both directions, instantly.

100% in your browser Nothing uploaded Free & unlimited+ Works offline after first visit
Current Unix Timestamp
or convert a date to a timestamp

Convert Unix timestamps to dates, and back

Paste any Unix timestamp - in seconds or milliseconds - and it's decoded instantly into your local time, UTC, ISO 8601 and a plain-English relative time like "3 hours ago". Or flip it around: pick a date and time to get the matching Unix timestamp for use in code, APIs, databases or log files.

How to use it

What is a Unix timestamp?

A Unix timestamp (also called epoch time) counts the seconds elapsed since 00:00:00 UTC on 1 January 1970 - the "Unix epoch". It's the standard way most programming languages, databases and APIs represent a moment in time as a single number, independent of time zone. JavaScript's Date.now() and many JSON APIs use milliseconds instead (13+ digits), which this tool auto-detects.

Common uses

Frequently asked questions

What is a Unix timestamp?

A Unix timestamp (or epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It's used by most programming languages, databases and APIs to store a moment in time as a single number.

Seconds or milliseconds?

This tool auto-detects: timestamps with 13 or more digits are treated as milliseconds (used by JavaScript's Date.now()), shorter ones as seconds (the classic Unix standard used by most backend languages).

Is it free?

Yes, completely free with no signup, and it runs entirely in your browser.