Sign up free

Unix Timestamp Converter

See the current Unix time, turn timestamps into plain dates with the weekday and week number, and turn dates back into timestamps.

About Unix Timestamp Converter

A Unix timestamp converter reads the numbers that logs, databases and APIs use for time: a created_at column, the expiry inside a token, the time on a server log line. Paste a timestamp and it's recognized as seconds, milliseconds, microseconds or nanoseconds by its length, then written out as a plain date such as 2026-09-29 11:20:00, the yyyy-MM-dd HH:mm:ss form that SQL and log files use, in the time zone you choose. The weekday and the ISO week number sit beside it, for example Tuesday · Week 40. A live clock shows the current timestamp in seconds and milliseconds, ready to copy. For a JSON Web Token, the JWT Decoder reads the expiry for you and says whether it has passed.

The time zone list starts with your own zone and UTC, then every IANA zone, such as Asia/Shanghai or America/New_York. Each timestamp is also shown as ISO 8601 and RFC 2822 in UTC, along with how far it is from now, such as 3 days ago. ISO 8601 is also what the lastmod field of a sitemap expects. To go the other way, enter a date and time and get its Unix timestamp. For a log excerpt or a column from a spreadsheet, paste up to 500 values, one per line, and copy all the results at once. It all runs in your browser.

How to use Unix Timestamp Converter

  1. 1
    Copy the current time

    The live Unix timestamp is shown in seconds and milliseconds, each with its own copy button.

  2. 2
    Paste a timestamp

    Seconds, milliseconds, microseconds and nanoseconds are told apart by their length. For a batch, put up to 500 on separate lines.

  3. 3
    Pick the time zone

    Your own zone, UTC or any IANA zone. Each result reads like 2026-09-29 11:20:00, with the weekday and week number.

  4. 4
    Or start from a date

    Enter a date and time, such as 2026-09-29 11:20:00, to get its Unix timestamp.

Why use Cubfile for this

  • SQL-ready dates

    Each timestamp as 2026-09-29 11:20:00 in your zone, the form SQL and log files use, with the weekday and ISO week.

  • Four precisions

    Seconds, milliseconds, microseconds and nanoseconds, told apart automatically.

  • Any time zone

    Your own zone and UTC at the top, then every IANA zone, from Asia/Shanghai to Europe/London.

  • Batch conversion

    Paste up to 500 timestamps or dates, one per line, and copy all the results at once.

FAQ

Unix Timestamp Converter: questions and answers

How do I convert a Unix timestamp to a date?
Paste it into the converter. It works out whether the number is in seconds, milliseconds, microseconds or nanoseconds and shows the date as yyyy-MM-dd HH:mm:ss in the time zone you pick, with the weekday and the ISO week number (weeks start on Monday), plus ISO 8601 and RFC 2822 in UTC.
Is my timestamp in seconds or milliseconds?
Count the digits. A current time is 10 digits in seconds and 13 in milliseconds, which is what JavaScript's Date.now() and Java's System.currentTimeMillis() return. The converter detects this for you.
What time zone is a Unix timestamp in?
None. It counts seconds since 1 January 1970 at 00:00 UTC, so the same number is the same moment everywhere. Only the date you display depends on the time zone, and UTC is always at the top of the list, right under your own zone.
What is the year 2038 problem?
Systems that store seconds in a signed 32-bit integer overflow on 19 January 2038 at 03:14:07 UTC. Storing the value in 64 bits avoids it. The largest such value, 2147483647, is 31 ones in binary, as the Number Base Converter shows.
What date format does a sitemap's lastmod need?
W3C Datetime, which is a profile of ISO 8601, such as 2026-09-26 or 2026-09-26T08:00:00+08:00. Convert a timestamp here and copy the ISO 8601 value.
Share Unix Timestamp Converter with a friendIt runs in any browser, and they can try it without signing up.

Related tools

HASH Hash GeneratorGet MD5, SHA-1, SHA-256, SHA-512 and SM3 hashes of text in one go.
U+UNI Unicode ConverterConvert text to and from \u escapes, &#; codes, U+ points and UTF-8 bytes.
AES AES Encrypt and DecryptEncrypt or decrypt text with AES in GCM, CBC or CTR mode.
&;HTML HTML Entity Encoder/DecoderEscape text into HTML entities, or turn entities back into text.
JWT JWT DecoderDecode a JSON Web Token’s header and payload and check its expiry and signature.
01BIN Number Base ConverterConvert numbers between binary, octal, decimal, hex and any base up to 36.
BASE Base32 and Base58 EncoderEncode and decode Base32, Base58, Base85 and Base16.
0xHEX Text to Hex ConverterTurn text into hexadecimal bytes in UTF-8, GBK or UTF-16, and back.