Unix Timestamp Converter
Convert Unix timestamps into readable dates and convert dates back into timestamps. Check seconds, milliseconds, UTC and your browser's local time with this free developer tool.
Timestamp Converter
Convert timestamps and dates in either direction.
Enter a Unix timestamp in seconds or milliseconds.
Auto-detect uses the number of digits as a guide. Choose a unit manually if needed.
Conversion results
The selected date and time are interpreted in your browser's local time zone.
This converter uses the browser's current time zone.
Timestamp results
Convert Time Data with Ease
Useful timestamp conversion features for APIs, logs, databases and software development.
Two-Way Conversion
Convert Unix timestamps to readable dates or convert a selected date and time into a Unix timestamp.
Seconds and Milliseconds
Work with common Unix timestamp formats used by programming languages, APIs and databases.
UTC and Local Time
Compare the UTC representation with the local time configured in your browser.
ISO 8601 Output
View dates in the widely used ISO 8601 format, suitable for many programming and data workflows.
Current Timestamp
Quickly populate the converter with the current time to inspect seconds and milliseconds.
Browser-Based Processing
Convert timestamps without creating an account or submitting your values to a server-side endpoint.
What Is a Unix Timestamp?
A Unix timestamp represents a point in time as the number of seconds elapsed since 00:00:00 UTC on 1 January 1970, also known as the Unix epoch. Many programming languages, databases, APIs and log systems use timestamp values to represent dates and times.
Seconds vs. milliseconds
Unix timestamps are commonly expressed in seconds or milliseconds. A timestamp in seconds is typically around ten digits for contemporary dates, while milliseconds are typically around thirteen digits. Digit length is only a practical hint, so confirm the expected unit when working with external systems.
How to convert a timestamp to a date
- Open the Timestamp → Date tab.
- Enter your timestamp in the input field.
- Choose seconds, milliseconds or auto-detection.
- Click Convert to date to view UTC, local time and ISO output.
How to convert a date to a timestamp
- Open the Date → Timestamp tab.
- Select the date and time using the date-time input.
- Click Convert to timestamp.
- Copy the Unix seconds or milliseconds result for your application.
What is UTC?
Coordinated Universal Time (UTC) provides a common time reference independent of a user's local time zone. The same instant can display as different clock times in different locations. ISO output from this tool uses UTC with a trailing Z.
Why are some timestamps 10 digits and others 13?
Many systems store Unix time in seconds, while JavaScript's Date timestamp uses milliseconds. Using seconds where milliseconds are expected, or the reverse, can result in a date far away from the intended time.
Does this tool use a server?
No server-side conversion endpoint is needed. Date parsing and timestamp calculations run in your browser. Local date-time inputs use the browser's configured time zone, which may differ from UTC.
Frequently Asked Questions
Answers to common Unix timestamp questions.
1. Is this timestamp converter free?
Yes. You can convert timestamps and dates without creating an account or paying to use this tool.
2. What is the Unix epoch?
The Unix epoch begins at 00:00:00 UTC on 1 January 1970. Unix timestamps count elapsed seconds or milliseconds from that reference point.
3. What is the difference between seconds and milliseconds?
A millisecond is one-thousandth of a second. Multiply a timestamp in seconds by 1,000 to obtain its millisecond representation for the same instant.
4. Does the converter support UTC?
Yes. Timestamp results include UTC output and ISO 8601 output. The local-time result uses your browser's configured time zone.
5. Why does my timestamp show the wrong date?
Check whether your timestamp is in seconds or milliseconds. Also verify that the original value is correct and that you are comparing the same time zone.
6. What is ISO 8601 format?
ISO 8601 is a standard way to represent dates and times. An example UTC representation is 2025-01-01T00:00:00.000Z.
7. Can I convert dates before 1970?
Yes. Valid dates before the Unix epoch produce negative Unix timestamps. Supported date ranges depend on your browser's date implementation.
8. Is my timestamp data uploaded?
No. The conversion calculations run locally in your browser and do not submit timestamp values to a PHP processing endpoint.
Explore More Free Tools
Discover more tools for your everyday digital workflow.