Unix Timestamp Converter
Convert Unix timestamps to readable dates and back. Supports seconds, milliseconds, microseconds and nanoseconds with UTC, local and ISO output.
Updates every second. Click any value to fill the timestamp input and convert. Press Pause to freeze.
Result
Conversion result
Your converted date and timestamp appear here.
No conversion yet
Enter a timestamp on the left and press Convert to date, or pick a date and convert to timestamp. The result updates instantly in your browser and is never uploaded.
- Try
1714471234(seconds) or1714471234567(milliseconds) - Use the Bulk tab to convert a list from a log or CSV
| Input | Detected | UTC | ISO 8601 | Relative |
|---|
On this page
What is a Unix timestamp?
A Unix timestamp counts seconds from 1970-01-01 00:00:00 UTC, the Unix epoch. Many systems store time this way because the number is compact, sorts easily, and avoids formatting ambiguity. A value of 0 is midnight at the start of 1970, 1714471234 is 30 Apr 2024 10:00:34 UTC, and negative values represent dates before 1970. JavaScript and some APIs use milliseconds (13 digits) instead of seconds (10 digits). This tool handles seconds, milliseconds, microseconds and nanoseconds.
How to convert a timestamp to a date
Open the Timestamp to date tab, paste the number into Unix timestamp, and choose the precision or leave Auto to detect it by length. Auto treats 10 digits as seconds, 13 as milliseconds, 16 as microseconds and 19 as nanoseconds. Press Convert to date. The result shows GMT, your local time, the time in the Display time zone you select, ISO 8601, RFC 2822, a relative label such as 2 years ago, and the same instant expressed as seconds, milliseconds, microseconds and nanoseconds. Each row has its own Copy button, and Copy all copies the full block. Try Example to load 1714471234, or Use current time to fill the present moment.
How to convert a date to a timestamp
Switch to the Date to timestamp tab, pick a calendar date and a time (seconds included), and decide whether the wall time is local or UTC with the Interpret as UTC checkbox. Unchecked treats the time as your browser time zone, checked treats it as UTC. Press Convert to timestamp. You get the same set of outputs with the timestamp values for that instant. Use Use now to fill the current date and time, or Example for 2024-04-30 10:00:34 UTC.
How to use bulk conversion
Open the Bulk tab and paste one timestamp per line, for example a column copied from a log file or CSV. Choose the bulk precision (Auto is usually correct), then press Convert batch. A table appears with Input, Detected precision, UTC, ISO 8601 and Relative for every line. Invalid lines are marked and counted at the top. Use Copy table to copy a tab-separated version or Download CSV to save unix-timestamps.csv. Empty lines are ignored.
How the display time zone works
The large result card shows three time representations at once: GMT, your local time, and the zone selected in Display time zone. The selector lists UTC plus every IANA zone your browser supports, labelled with its current short offset. Changing the selector re-renders the Selected zone row without re-entering the input. The live clock at the top works the same way and always reflects the current instant in seconds, milliseconds and ISO 8601 UTC.
Worked examples
Timestamp 1714471234 with Auto (seconds) converts to Tue, 30 Apr 2024 10:00:34 GMT, ISO 2024-04-30T10:00:34.000Z, local time Tue Apr 30 2024 12:00:34 GMT+0200 in Central European Summer Time, relative about 2 years ago, seconds 1714471234, milliseconds 1714471234000, microseconds 1714471234000000 and nanoseconds 1714471234000000000.
Timestamp 1714471234567 with Auto (13 digits, milliseconds) converts to the same instant but with millisecond precision preserved: 2024-04-30T10:00:34.567Z and 567 milliseconds past the second.
Date 2024-04-30 10:00:34 with Interpret as UTC checked returns 1714471234 seconds, 1714471234000 milliseconds and the same derived micro and nano values.
Edge cases
Empty or non-numeric input shows Enter a Unix timestamp. Values outside the JavaScript Date range (about plus or minus 8.64e15 milliseconds, year 275760) show That timestamp is outside the supported range. Negative timestamps are valid and map to dates before 1970, for example -86400 is 1969-12-31T00:00:00.000Z. Decimal timestamps keep the fractional part: 1714471234.5 is 10:00:34.500Z. Commas and spaces are stripped, so 1,714,471,234 is accepted. The Pause button freezes the live clock so you can copy a stable value.