Unix timestamp converter

Unix time to a date and a date to Unix time, a whole column at once. Seconds, milliseconds, microseconds or nanoseconds, in any time zone.

The data entered in the form are processed only in your browser and will not be saved or sent anywhere.
Lines: 0

Convert Unix time

Unix time counts the seconds since 1 January 1970 UTC: 1795703400 is 26 November 2026, 14:30 UTC. Logs, databases and APIs are full of such numbers, and people are not. Paste them, one per line, and press "Convert": each number becomes a date, and each date becomes a number, so one list can hold both.

The unit is guessed from the number of digits: up to 11 digits are seconds, 12-14 milliseconds (JavaScript, Java), 15-17 microseconds (Python, PostgreSQL), 18-19 nanoseconds (Go, InfluxDB). The table shows how each line was read. If a short number really is milliseconds, choose the unit yourself in "Unit of the numbers"; the same setting decides the unit when dates are turned into numbers.

Time zones, properly. The same moment is 14:30 in London, 15:30 in Warsaw and 09:30 in New York. Choose any zone your browser knows; it starts on this device's own. Summer time is applied with its real dates, and two awkward cases are named: a time that does not exist (the clocks skip 02:30 on the last Sunday of March in Poland) and one that happens twice (the clocks go back in October). Dates with their own zone, like 2026-11-26T15:30:00+01:00 or an HTTP date ending in GMT, keep it.

Straight back to the spreadsheet. The results come one per line in the order of the input, with blank lines where the input was blank or wrong, so the column lines up with the original. "For spreadsheets (2026-11-26 14:30:00)" is the format Excel and Google Sheets read as a date. Under the input you see the Unix time now, ticking, with a button to copy it or add it to the list.

Examples

  • A column of login times in milliseconds from a database turned into dates in Polish time.
  • "2026-11-26 15:30" in Warsaw turned into 1795703400 for an API filter.
  • A log line with 1795703400123456 (microseconds) read as 2026-11-26T14:30:00.123456Z.

Who it is for

Developers, admins and analysts reading logs and database exports, testers preparing API requests, and anyone who has to work out what time a number means.