Other
UNIX Timestamp Converter
This UNIX timestamp converter converts between UNIX timestamps (epoch seconds) and human-readable dates in both directions. Enter a timestamp to convert it to a date, or enter a date and time to convert it to a timestamp — the result updates in real time and can be copied with one click.
Current UNIX time
Other formats
| ISO 8601 | — | |
|---|---|---|
| Localized | — | |
| UTC string | — | |
| Day of week | — |
All conversions run entirely in your browser, and the values you enter are never sent to any external server.
Related Tools
QR Code Generator
Create QR codes for URLs, Wi-Fi, email, SMS, phone, contacts, geo, and events. Pick size, color, and logo. They never expire. Runs entirely in your browser.
Random Picker
Randomly pick 1–N entries from a name list or number range, with no-duplicate mode, reel animation, and saved history. Runs entirely in your browser.
Pomodoro Timer
A free online Pomodoro timer with 25/5 focus and break cycles, circular progress, alarms, full-screen, and a pop-out window. Runs entirely in your browser.
Color Picker
Pick colors from an image and get the HEX, RGB, or HSL code. Zoom in with the loupe for pixel-level accuracy and export your palette. Free, no signup.
Color Code Converter
Convert color codes between HEX, RGB, HSL, HSV, and OKLCH, with alpha and a CMYK reference. Copy any format in one click. Runs entirely in your browser.
Contrast Checker
Check color contrast against WCAG 2.1 / 2.2 AA and AAA, with passing-color suggestions, color-blindness simulation, and APCA. Runs entirely in your browser.
About UNIX Timestamp Converter
This UNIX timestamp converter converts between UNIX timestamps (epoch seconds) and human-readable dates in both directions. Enter a timestamp to convert it to a date, or enter a date and time to convert it to a timestamp — the result updates in real time and can be copied with one click.
It supports both 10-digit (seconds) and 13-digit (milliseconds) values, and you can switch the unit with a single tap. The time zone can be set to UTC or your browser's local time zone, which is handy when you need to turn the UTC timestamps in server logs into local time. Press "Set current time" to instantly fetch the UNIX timestamp for the present moment.
A UNIX timestamp (UNIX time / epoch time) represents a point in time as the number of seconds elapsed since 00:00:00 UTC on January 1, 1970. Because it is a single value that does not depend on a time zone, it is used everywhere: date columns in databases, API responses, logs, JWT expiration (exp), and more.
This tool also shows the converted value in multiple formats — ISO 8601, a localized representation, a UTC string (RFC 1123 style), and the day of the week — each of which can be copied individually.
All conversions run entirely in your browser, and the values you enter are never sent to any external server.
How to use
- Choose seconds (10 digits) or milliseconds (13 digits) under "Unit", and UTC or Local under "Time zone".
- Enter a number in the "UNIX timestamp" field, and the converted value appears in the "Date & time" field in real time.
- Conversely, enter a value in the "Date & time" field in "YYYY-MM-DD HH:mm:ss" format to convert it to a UNIX timestamp.
- Use "Set current time" or the "Now" button to fetch the current time with one click.
- Use the "Copy" button to copy the result. Other formats such as ISO 8601 can also be copied individually.
Use cases
- Engineers who want to convert UNIX timestamps stored in server logs or databases into readable dates.
- Developers who need to quickly check the date that the epoch seconds or milliseconds (13 digits) in an API response point to.
- Anyone who wants to check what point in time JWT values such as exp / iat refer to.
- People who need the UNIX timestamp for a specific date and time to embed in code or queries.
- People who want to turn times recorded in UTC into a local time zone such as their own.
- Anyone who wants to fetch the current UNIX timestamp (seconds or milliseconds) with one click for test data.
Notes
- The formula from a UNIX timestamp to a date is "date (UTC) = 1970-01-01 00:00:00 UTC + N seconds". For 13-digit (millisecond) values, divide by 1000 to get seconds first.
- In Excel, if cell A1 holds a timestamp in seconds, "=(A1/86400)+DATE(1970,1,1)" converts it to a date (UTC). Conversely, "=(A1-DATE(1970,1,1))*86400" gets seconds from a date. Adjust for your local time zone offset as needed.
- When "Local" is selected, conversion is based on your device's and browser's time zone settings. In regions with daylight saving time, the switch follows your device settings.
- Conversion to seconds (10 digits) truncates anything below one millisecond. Choose "Milliseconds" to keep sub-second precision.
- The supported range matches what JavaScript's Date can handle (roughly ±270,000 years). Values beyond that cannot be converted.