π Unix Timestamp Converter β Seconds to Date and Back
Enter a Unix timestamp or a date and convert between them. Supports both seconds and milliseconds. All calculations happen locally on your device.
What this tool does
The Unix Timestamp Converter translates between the integer epoch time used by most programming languages and human-readable dates. It supports both the traditional seconds-since-1970 form and the millisecond form used by JavaScript.
You can paste a number and see the corresponding UTC date, or paste a date string and obtain the matching timestamp. A convenience button fills the current time so you can quickly check the present epoch value.
When to use it
- Convert a timestamp found in a log file or database into a readable date.
- Generate a Unix timestamp for an API request that expects epoch time.
- Check whether a large number is seconds or milliseconds by its magnitude.
- Verify the date that corresponds to a well-known epoch value.
How it works
- Enter a numeric timestamp or a date string.
- Choose seconds or milliseconds and click the conversion button.
- The result appears immediately. Use Now to fill the current timestamp.
Worked example
Enter 1735689600 and leave the unit on Seconds, then click To date. The output shows 2025-01-01T00:00:00.000Z and the corresponding UTC string. Switching the unit to Milliseconds and entering 1735689600000 produces the same date. Clicking Use now fills the input with the current timestamp in the selected unit.
- Convert 1735689600 to see the corresponding UTC date.
- Turn a date like 2025-06-15 into a Unix timestamp for an API.
- Check whether a timestamp is in seconds or milliseconds by the magnitude.
Accuracy and limitations
- Date parsing depends on the browser's Date constructor and may interpret ambiguous strings differently.
- Timestamps far outside the safe integer range may lose precision.
- The tool displays UTC for numeric conversions and does not offer arbitrary time-zone conversion.
- Local time-zone offsets are applied only when the browser parses a date string.
Privacy and data handling
All conversion happens inside your browser. Timestamps and dates are never uploaded.
Frequently asked questions
What is a Unix timestamp?
It is the number of seconds (or milliseconds) that have elapsed since 1 January 1970 00:00:00 UTC.
Does it handle time zones?
The converter works in UTC for numeric timestamps and uses the browser's local interpretation for date strings.
Why do some timestamps have 13 digits?
Thirteen digits usually mean milliseconds. Ten digits are the classic seconds form. The unit selector lets you choose which interpretation to use.
Related tools
More Date & Time tools βAge Calculator
Calculate exact age from birth date with years, months, and days.
Timezone Converter
Convert any date and time between different time zones instantly.
Days Between Calculator
Count the exact number of days between any two dates.
Leap Year Checker
Test any year against the Gregorian leap-year rule and list nearby leap years.