Timestamp / Unix Time Converter
Convert Unix timestamps to human-readable dates, and back.
What is a Unix timestamp?
A Unix timestamp (also called epoch time) is the number of seconds that have elapsed since midnight UTC on January 1, 1970 — a single number that unambiguously represents a specific moment in time, regardless of timezone. Many programming languages and databases return timestamps in milliseconds instead of seconds, which is a common source of confusion since a millisecond timestamp looks like a much larger number for the same moment.
How to use it
- To convert a timestamp to a date, paste it into the first box — the tool auto-detects whether it's in seconds or milliseconds based on its length, or you can set the unit manually.
- To convert a date to a timestamp, pick a date and time in the second section and click Convert to Timestamp.
- The live counter at the top always shows the current timestamp, useful as a quick reference.
This is a routine task when debugging an API response, reading a database column, inspecting a JWT's exp/iat claims, or scheduling something with a cron-like system that expects epoch time. The auto-detect logic treats a 10-digit number as seconds and a 13-digit number as milliseconds, matching the two formats used by virtually every system in practice. All conversion happens using your browser's own Date object, so results are computed instantly and never sent anywhere.
Want the "why" behind this tool? Read Why Some Timestamps Are 10 Digits and Others Are 13.