All Tools Store
Runs in your browser

Unix timestamp converter

Paste a timestamp or pick a date and get local time, UTC, ISO 8601 and a relative phrase together.

Now (seconds) —
Now (milliseconds) —

·

Type a number and the unit is guessed from its digit count; type text and ISO 8601 and similar formats are parsed.

Date to timestamp

Conversion happens in your browser; nothing you type is sent to a server. Local time is derived from your device's time zone.

How to use

  1. Paste the number into the box; the unit is read from its digit count.
  2. If the guess is wrong, pick seconds or milliseconds from the list.
  3. Read the local time, UTC and ISO 8601 rows and copy what you need.
  4. For the other direction, pick a date in the calendar below and read the timestamp.

Unix time: one number, one instant

A Unix timestamp is the number of seconds since 1 January 1970 00:00:00 UTC. It carries no time zone: the same instant is the same number in Istanbul, London and Tokyo. Time zones only matter when the value is displayed.

That is why logs, databases and APIs store timestamps instead of formatted dates: comparing two of them is one subtraction, and daylight saving or regional offsets cannot spoil the result.

The UTC row on this page is always fixed. The local row follows your device's time zone, so two people can read the same timestamp as different local times and both be right.

Seconds or milliseconds? Count the digits

DigitsUnitExampleWhere you meet it
10seconds1760000000PHP time(), Python time(), Unix tools
13milliseconds1760000000000JavaScript Date.now(), Java, MongoDB
16microseconds1760000000000000PostgreSQL, some measurement systems
19nanoseconds1760000000000000000Go, Prometheus, high-resolution logs

The tool guesses from the digit count and states which unit it used. If the result lands in 1970 or in a distant future, switch the unit by hand — the most common mistake is reading milliseconds as seconds, which puts the date 55,000 years ahead.

ISO 8601 and time-zone notation

Limits worth knowing

The same conversion elsewhere

EnvironmentTimestamp to dateDate to timestamp
JavaScriptnew Date(ms)Date.now()
Pythondatetime.utcfromtimestamp(s)int(time.time())
PHPdate('Y-m-d H:i', $s)time()
MySQLFROM_UNIXTIME(s)UNIX_TIMESTAMP()
Excel=A1/86400+25569=(A1-25569)*86400

The 25569 in the Excel row is the serial number of 1 January 1970; remember to format the cell as a date.

Glossary

Unix time
Seconds elapsed since 1 January 1970 UTC, also called epoch time.
Epoch
The moment counting starts: 1 January 1970 00:00:00 UTC.
UTC
Coordinated Universal Time, the reference for all time zones.
ISO 8601
The standard that writes dates as 2026-10-09T14:30:00Z.
Z (Zulu)
The ISO 8601 suffix meaning UTC.
Millisecond
A thousandth of a second; JavaScript keeps time in this unit.
Leap second
A second added to keep clocks in step with Earth's rotation; Unix time ignores it.
Year 2038 problem
The overflow of 32-bit timestamps on 19 January 2038.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since 1 January 1970 00:00:00 UTC. It carries no time zone: the same instant is the same number everywhere, and only the display is converted to local time.

What is the difference between a 10-digit and a 13-digit number?

Ten digits are seconds, thirteen are milliseconds. Sixteen digits are microseconds and nineteen are nanoseconds. The tool guesses from the digit count, and you can override it with the unit list.

Why does the result look an hour off?

Local time depends on your device's time zone and daylight saving. The UTC row is always fixed, so compare using that one.

What does the Z in the ISO 8601 row mean?

Zulu, which means UTC. <code>2026-10-09T14:30:00Z</code> is 14:30 in UTC.

Can a timestamp be negative?

Yes, it points to a moment before 1970. The tool converts negative values too.

Does the year 2038 problem affect me?

On old systems storing the timestamp in a signed 32-bit integer it overflows on 19 January 2038. This page uses JavaScript's 64-bit numbers, so it is not affected.

Is the date I enter stored?

No. Everything is computed in your browser; nothing is sent or saved.

JWT DecoderRead what is inside a tokenBase64 Encode & DecodeConvert text and files to Base64 and backText ToolsDedupe, sort, shuffle, find & replace

the Mall of Accs team Last updated:

More free tools

2FA Code GeneratorInstant codes from your secret keyPassword GeneratorStrong random passwords, one or in bulkQR Code GeneratorQR for links, text, Wi-Fi and 2FAQR Code ScannerRead a QR code from an image or cameraImage to LinkUpload an image, get a shareable linkImage CompressorCompress, resize, convert JPG/PNG/WebPImage WatermarkAdd a text watermark to images in bulkGmail Dot & Alias GeneratorHundreds of addresses from one GmailAccount Line ParserTurn messy lines into clean columnsYouTube Channel IDUC channel ID from a URL or @handleFacebook UIDNumeric ID from a public profileInstagram User IDNumeric ID from a public profileTikTok User IDNumeric ID + secUid from a profileYouTube Link GeneratorTimestamp link, embed code, subscribe linkYouTube Tag ExtractorA video's tags, title and descriptionYouTube Logo & BannerDownload a channel's logo and bannerYouTube ThumbnailDownload a video cover image (HD)Earnings CalculatorYouTube/TikTok/Twitch/Spotify incomeEngagement RateEngagement % from followers + likesProfile Photo DownloaderTikTok & Instagram profile pictureWheel of NamesType names, spin the wheel, get a winnerGiveaway PickerPick a fair random winner from a listText CompareLine-by-line diff of two textsInstagram Bio Line BreakLine breaks that survive in bios and captionsFancy Text GeneratorBold, italic and fancy Unicode text stylesCharacter & Word CounterLive counts against platform limitsHash GeneratorMD5, SHA-1, SHA-256 and SHA-512 digestsUTM Link BuilderAdd campaign tags to a linkBinary ConverterText ⇄ binary, decimal ⇄ hex ⇄ octalSlug GeneratorTurn a title into an SEO-friendly URLJSON FormatterFormat, minify, find errors by linePassword Strength CheckerHow long would it take to crack?User-Agent ParserBrowser, OS, device and bot detectionIP LookupIP owner, ASN and reverse DNSEmail Domain CheckerMX, disposable, SPF and DMARCOutlook / Hotmail Inbox ReaderRead the inbox of an account you boughtShort Link GeneratorShorten long links in one clickUnit ConverterLength, weight, temperature, data and moreStopwatch & TimerLaps, plus a countdown with a sound alertDiscount CalculatorPercent-off price and discount rateCurrency ConverterDollar, euro, lira and 30 currencies