What is this tool?
Use this Unix timestamp converter to translate epoch time into readable dates, or convert a local date and time into Unix seconds and milliseconds. The page also shows the current Unix timestamp, so you can copy the current epoch value without opening a terminal.
Unix time counts elapsed time from 1970-01-01 00:00:00 UTC. It is often used in APIs, logs, databases, cache headers, job schedulers, analytics events, and signed payloads. This tool shows UTC and your browser’s local time side by side so you can spot time zone mistakes quickly.
Common use cases
Reading log values
Paste a timestamp from logs or JSON and view the UTC and local date/time.
Creating test data
Pick a local date and time to get Unix seconds and milliseconds for fixtures or API examples.
Checking seconds vs milliseconds
Use Auto when you are not sure whether a timestamp is in seconds or milliseconds.
Comparing UTC and local time
Use the UTC output when working with API contracts, then compare it with the local output to explain the same instant to a user or teammate.
How to Use
- Copy the current timestamp if you need the current Unix time in seconds.
- To convert a timestamp, paste an integer into Timestamp -> Date.
- Choose Auto, Seconds, or Milliseconds.
- To convert a date, choose a value in Date -> Timestamp.
- Use the copy buttons next to values you want to reuse.
Notes / Limitations
Date input uses the browser’s local time zone. This tool does not provide a time zone selector on the timestamp page.
- Auto-detection treats large values as milliseconds and smaller values as seconds.
- Timestamp input must be an integer.
- UTC output is shown separately from the browser’s local date/time.
- Leap seconds and historical calendar rules are handled by the browser’s JavaScript date implementation.
Privacy / local processing
Timestamp conversion runs in the browser with JavaScript date APIs. The timestamp tool code does not send your entered values to a server.
Related tools
- Use the Days From Today Calculator when you need date-only offsets such as 30, 60, or 90 days from today.
- Use the Timezone Converter when you need to convert a date and time between named time zones.
- Use the JSON Formatter & Validator to inspect API responses that contain timestamp fields.