← Tools

Unix Timestamp Converter

Turn epoch time into readable dates and back, in any time zone.

Private: your files never leave your device.

Current Unix time

Seconds
Milliseconds
Right now (UTC)

Timestamp to date

Date to timestamp

The same moment around the world

    Convert many at once

    Paste a list of timestamps, a log file or JSON. Every Unix timestamp in it gets a readable date.

    The current Unix time in code

    Unix time counts seconds since 1 January 1970 00:00:00 UTC, without leap seconds. Dates and time zones use your browser's up-to-date time zone data. Nothing is uploaded.

    How it works

    1. Choose your files.
    2. Adjust the settings if you like.
    3. Download the result, or send it to another device with BroAllDone.

    Frequently asked questions

    What is a Unix timestamp?

    The number of seconds since 1 January 1970 at midnight UTC, the Unix epoch. For example 1700000000 is 14 November 2023 at 22:13:20 UTC. It's the same everywhere in the world, which is why computers use it.

    Is my timestamp in seconds or milliseconds?

    Count the digits: today's timestamps have 10 digits in seconds, 13 in milliseconds, 16 in microseconds and 19 in nanoseconds. The converter detects this for you, and you can also choose the unit.

    How do I convert a date to a Unix timestamp?

    Use Date to timestamp: pick the date, the time and its time zone, and you get the timestamp in seconds and milliseconds. You can also type a date like 2024-05-01 14:30 in the first box.

    How are time zones and daylight saving time handled?

    The converter uses your browser's up-to-date time zone data, so it knows every country's rules, past and present. If a time doesn't exist (the clocks jump forward) or happens twice (they go back), it tells you.

    What is the year 2038 problem?

    Older systems store Unix time in a signed 32-bit number, which runs out on 19 January 2038 at 03:14:07 UTC (2147483647). Modern systems use 64 bits and are fine for billions of years.

    Can it read the time from a UUID or a MongoDB ID?

    Yes. Paste a MongoDB ObjectId, a UUID version 1, 6 or 7, or a ULID, and you get the moment it was created.

    More free tools