100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Free · Browser-only · No upload

Unix timestamp to date — epoch converter online

Convert unix time to date, epoch time to date, seconds or milliseconds

Paste a unix timestamp or epoch integer and instantly convert unix time to date in your local zone, UTC, and ISO 8601. This unix timestamp converter runs entirely in your browser — no upload, no account.

Auto-detection tells you whether the value is ten-digit seconds or thirteen-digit milliseconds, so you avoid the classic 1970 date bug. Need the reverse? Use our Date to Unix Timestamp page from the toolbar above.

Unix time to dateDate to unix timestampTime zone converter
Unix / epoch timestamp

More Text Utilities

🔓
Base64 Decoder
🧬
Base64 Encoder
🔡
Case Converter
Cron Generator
🎨
CSS Minifier
📐
CSS Unminifier
📆
Date Format Converter
📅
Date to Unix
🔎
Find and Replace
🛡️
HTML Escape
📰
HTML Minifier
↩️
HTML to Markdown
🔓
HTML Unescape
📄
HTML Unminifier
📋
Markdown Preview
🔄
Markdown to HTML
🎲
Random Number
🔤
Random String
🔍
Regex Tester
🧹
Remove All Whitespace
↩️
Reverse Text
✂️
Split String
⚖️
Text Compare
🔁
Text Repeater
📖
Text Viewer
🌍
Time Zone Converter
🕐
Unix Time to Date
🔗
URL Encoder
🔤
UTF-8 Decoder
🌐
UTF-8 Encoder
📊
Word Counter

Browse by category

Unix time to date formula

From seconds: new Date(seconds × 1000). From milliseconds: new Date(ms). GNU/Linux: date -d @SECONDS for epoch time to date on the command line.

date = new Date(unixSeconds * 1000) iso = date.toISOString()

Worked example

1781257035 is ten digits → seconds → 2026-06-12T09:37:15.000Z UTC. Read as milliseconds it wrongly lands in 1970.

Common epoch values

FromToResult
0UTC1970-01-01T00:00:00.000Z
1_700_000_000UTC2023-11-14T22:13:20.000Z
1_781_257_035UTC2026-06-12T09:37:15.000Z

Guide to converting unix timestamps to human dates

What is a unix timestamp?

A unix timestamp counts non-leap seconds since 1 January 1970 00:00:00 UTC — the unix epoch. Databases, APIs, and log files store dates this way because integers sort and compare cleanly. When you convert unix time to date, you translate that integer back into a calendar clock humans can read.

The same value may appear as a unix stamp, epoch unix timestamp, or POSIX timestamp depending on documentation. This online timestamp converter treats them identically and shows local time, UTC, and ISO output side by side.

How to convert unix time to date

Paste the number into the input field. The epoch timestamp converter auto-detects seconds versus milliseconds from digit length and labels the format below the box. Results appear in a two-column grid: local time with your IANA zone, UTC, ISO 8601, unix seconds, and unix milliseconds.

To convert epoch time to date from a MySQL row, PostgreSQL unix timestamp column, or Snowflake export, paste the integer and confirm the year before copying ISO for a ticket. For JWT exp fields, decode the payload with our Base64 Decoder first, then paste exp here.

If unix timestamp to date shows January 1970, you likely have a unit mismatch — ten-digit values are almost always seconds. Thirteen digits mean milliseconds.

Seconds vs milliseconds

JavaScript Date.now() returns thirteen-digit milliseconds. Linux date +%s and most server logs print ten-digit unix seconds. Feeding seconds into a millisecond parser sends the date to 1970 — decades before the value you expected.

This unix time to date online tool counts digits automatically. A value like 1781257035 maps to 2026 in UTC when read as seconds. The stats row below the output shows the current unix timestamp, detected format, and relative time for quick sanity checks.

Database and language examples

PostgreSQL convert unix timestamp to date in SQL with to_timestamp(seconds). Python datetime from unix timestamp uses datetime.fromtimestamp(s, tz=timezone.utc). Tableau and Stripe dashboards often expose raw epoch integers — paste them here instead of writing one-off spreadsheet formulas.

Whether you need unix to human date for a support ticket or unix time convert to date during an outage, the workflow is the same: paste, verify the year, copy ISO or UTC.

Privacy and related tools

Production log lines and customer session timestamps never leave your device. Clear the field on shared machines when finished.

Use Date to Unix Timestamp when you need to convert a calendar picker to epoch seconds. Use Time Zone Converter to compare IANA zones for the same instant.

Detailed guide

Fixing a 1970 date

Count digits: ten = seconds, thirteen = milliseconds. Re-paste after confirming the source system's unit.

JWT exp decoding

Most JWT libraries store exp as unix seconds. Paste exp here and compare to the current unix timestamp in the stats row.

Common questions

Unix Time to Date FAQ

How do I convert unix timestamp to date online?

Paste the number above. This unix timestamp converter shows local time, UTC, ISO 8601, and both second and millisecond forms with automatic unit detection.

How do I convert epoch time to date?

Epoch time and unix time are the same scale. Paste the integer to convert epoch time to date in one step — no manual unit toggle required.

Why does my unix timestamp show 1970?

Usually a seconds-vs-milliseconds mix-up. Ten-digit log values are seconds; treating them as milliseconds points to January 1970.

PostgreSQL or MySQL unix timestamp to date?

Copy the integer from your query result and paste it here for a quick human-readable check alongside SQL to_timestamp() output.

Is this an online timestamp converter?

Yes — a browser-only online timestamp converter. Nothing is uploaded to a server.

Does the Unix Time to Date send my input to a server?

Yes. Everything runs in your browser. Your input is not uploaded, logged, or stored on our servers.

Do I need an account?

No account or sign-up is required. Open the page and start using the tool immediately.