Free Unix Timestamp Converter — Epoch to Date & Date to Epoch
Convert epoch to a readable date in UTC and local time, or date to Unix timestamp. Auto-detects seconds, ms, and microseconds.
Current Unix time (s)
—
Milliseconds
—
Timestamp → date
Date → timestamp
Quick answer
To convert a Unix timestamp to a date, paste it into the "Timestamp → date" box of the KaviForge Unix Timestamp Converter. It auto-detects whether the value is in seconds (10 digits), milliseconds (13 digits), microseconds, or nanoseconds, and shows the date in UTC, your local time zone, ISO 8601, and relative time. Use "Date → timestamp" for the reverse.
Convert a Unix timestamp to a human-readable date, or a date back to epoch seconds. Seconds, milliseconds, and microseconds are detected automatically.
JavaScript and many APIs use milliseconds instead of seconds, which is a common source of bugs. This converter detects the unit automatically so you always get the right date.
How to Convert a Unix Timestamp
- 1The current Unix time is shown at the top, updating every second — copy it with one click.
- 2Paste a timestamp into "Timestamp → date"; the unit is detected automatically.
- 3Read the date in UTC, local time, ISO 8601, and relative form.
- 4To go the other way, pick a date and time in "Date → timestamp".
- 5Choose whether that date is in your local time zone or UTC, then copy the seconds or milliseconds.
Features
Live Current Epoch Time
Current Unix time in seconds and milliseconds, updated every second.
Automatic Unit Detection
Recognises seconds, milliseconds, microseconds, and nanoseconds.
UTC & Local Time
See results in UTC and your browser’s time zone side by side.
ISO 8601 Output
Get the standard 2026-09-27T10:30:00.000Z format for APIs.
Relative Time
Understand timestamps at a glance: "in 3 days" or "2 hours ago".
Date to Timestamp
Convert any date and time to epoch seconds and milliseconds.
When to Use the Unix Timestamp Converter
Debug API and database values
Turn created_at or updated_at integers into readable dates.
Read log timestamps
Convert epoch values in server, Kafka, or CloudWatch logs.
Check token expiry
Convert exp and iat claims from JWTs and OAuth tokens.
Schedule and test time-based code
Generate exact timestamps for cron jobs, cache expiry, or test fixtures.
About the Unix Timestamp Converter
Unit detection is based on the number of digits: up to 11 digits is treated as seconds, 12–14 as milliseconds, 15–17 as microseconds, and more as nanoseconds. You can override it with the unit selector.
All conversions use your browser’s Date and Intl APIs, so local times respect your time zone and daylight saving rules.
Unix Timestamp Converter FAQs
How do I convert a Unix timestamp to a date?
Paste it into the "Timestamp → date" field of the KaviForge Unix Timestamp Converter. The UTC, local, and ISO 8601 dates appear instantly.
What is the current Unix timestamp?
It is shown live at the top of the tool in seconds and milliseconds. Click "Copy seconds" to copy it.
Is my timestamp in seconds or milliseconds?
A 10-digit value is usually seconds and a 13-digit value is milliseconds. The converter detects this automatically.
How do I convert a date to a Unix timestamp?
Use the "Date → timestamp" section: pick the date and time, choose Local or UTC, and copy the Unix seconds or milliseconds.
Are Unix timestamps affected by time zones?
No. A Unix timestamp always counts seconds from 1970-01-01 in UTC. Only its display as a date depends on time zone.
What is the year 2038 problem?
Systems that store Unix time as a signed 32-bit integer overflow on 19 January 2038. Modern 64-bit systems and JavaScript are not affected.
Popular Unix Timestamp Converter searches
- Epoch to Date ConverterConvert an epoch or Unix timestamp to a readable date and time. Paste seconds or milliseconds and get UTC and local time instantly.
- Convert a Date to a Unix TimestampConvert a calendar date and time to a Unix timestamp in seconds. Enter a date, choose a timezone and copy the epoch value.
- Milliseconds Timestamp to DateConvert a 13-digit millisecond Unix timestamp to a readable date. Works for JavaScript Date.now() and Java System.currentTimeMillis() values.
- Current Unix TimestampGet the current Unix timestamp in seconds and milliseconds. See how to read epoch time now in JavaScript, Python, Bash and SQL.
- Convert Epoch to UTCConvert an epoch timestamp to a UTC date and time. See the ISO 8601 string and avoid local-timezone confusion when reading logs.
- What Date Is Unix Timestamp 1000000000?Unix timestamp 1000000000 is the "billennium": the moment epoch time reached one billion seconds. See the exact date and how to convert any timestamp.
- Year 2038 Problem and Timestamp 2147483647Timestamp 2147483647 is the largest 32-bit signed Unix time. Convert it to see the date and learn how to avoid the Year 2038 problem.
- Unix Timestamp to ISO 8601Convert a Unix timestamp to an ISO 8601 string like 2026-01-01T00:00:00Z. Ideal for APIs, JSON payloads and logging formats.
- Convert a Unix Timestamp to a Date in JavaScriptConvert a Unix timestamp to a Date in JavaScript with new Date(ts * 1000). Check your result with the live converter and avoid the seconds vs milliseconds trap.
- Convert a Unix Timestamp in SQLConvert Unix timestamps to dates in MySQL with FROM_UNIXTIME and in PostgreSQL with to_timestamp. Verify the expected value with the converter.
Related Developer Tools
Cron Expression Generator
Build and explain cron expressions in plain English and preview the next run times.
JWT Decoder
Decode JSON Web Tokens to read the header, payload, and claims, and check if a token has expired.
UUID Generator
Generate random UUID v4 or time-ordered UUID v7 in bulk, and validate existing UUIDs/GUIDs.