Ctrl + K
Developer

Unix Timestamp Converter

Convert Unix epoch timestamps to human-readable dates and back instantly.

Current Unix Timestamp (updates every second)

1781949256

in seconds

2026-06-20T09:54:16.000Z

Unix Timestamp 0 chars
Converted Date

Enter a timestamp to convert

Cron Expression Generator

Build and explain cron schedule expressions →

All timestamp conversions happen locally in your browser. Your timestamps and dates are never sent to any server. The live clock uses your system time.

A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds. Our free Unix Timestamp Converter lets you instantly convert between Unix timestamps and human-readable dates, supporting both seconds and milliseconds, with live clock display. All processing is local and private.

What Is a Unix Timestamp?

The Unix epoch began on January 1, 1970 at 00:00:00 UTC. Timestamps count the seconds (or milliseconds) since that moment. This system is ubiquitous in computing: databases store dates as integers, APIs exchange time as epoch numbers, and programming languages use timestamps internally for all date/time operations. The "Year 2038 problem" (when 32-bit timestamps overflow) makes understanding epoch time particularly relevant for legacy systems.

How to Use the Timestamp Converter

  1. Choose your conversion direction — Click Unix → Date to convert a numeric timestamp, or Date → Unix to convert a date string to a timestamp.
  2. Enter your value — Type or paste a Unix timestamp (seconds or milliseconds) or a date string (ISO 8601, UTC, or local format).
  3. Read the results — See the converted value in multiple formats: local time, UTC, ISO 8601, and relative time.
  4. Use live timestamp — Click Now to insert the current Unix timestamp, or watch the live clock at the top of the tool.
  5. Swap directions — Click Swap to send the result back to the input and switch conversion direction.

Key Features

  • Dual Conversion

    Convert timestamps to dates and dates back to timestamps instantly.

  • Seconds & Milliseconds

    Auto-detects 10-digit (seconds) and 13-digit (milliseconds) timestamps.

  • Live Clock Display

    Real-time current Unix timestamp that updates every second.

  • Multiple Date Formats

    View results in local time, UTC, ISO 8601, and relative time.

  • Smart Swap

    Send output to input and flip modes for round-trip verification.

  • 100% Private

    All conversions happen client-side. Nothing is sent to any server.

Common Use Cases

  • API Debugging: Decode Unix timestamps from API responses to understand when events occurred.
  • Database Queries: Convert human-readable dates to timestamps for database filters and ranges.
  • Log Analysis: Parse epoch timestamps from server logs and application traces into readable times.
  • JWT Token Inspection: Decode the iat and exp claims found in JWT tokens.

Frequently Asked Questions

What is the difference between seconds and milliseconds?
A 10-digit Unix timestamp (e.g. 1717000000) is in seconds. A 13-digit timestamp (e.g. 1717000000000) is in milliseconds. Our tool auto-detects which format you're using: if the number exceeds 100 billion (1e11), it treats it as milliseconds; otherwise as seconds. JavaScript's Date.now() returns milliseconds, while most Unix systems and databases use seconds.
What is the Year 2038 problem?
On January 19, 2038 at 03:14:07 UTC, 32-bit signed integer Unix timestamps will overflow (2,147,483,647 seconds after 1970). This affects older systems and software that store timestamps in 32-bit integers. Most modern systems use 64-bit integers or larger types, solving the problem for billions of years.
Does this tool handle time zones?
Yes. Unix timestamps are always UTC-based, but our tool displays the converted date in both your local timezone (as detected by your browser) and UTC. When converting from a date to a timestamp, the input is parsed in local time unless you specify a timezone offset in the date string (e.g., 2025-05-29T12:00:00Z for UTC).
What date formats can I convert from?
Any format that JavaScript's Date constructor can parse. This includes ISO 8601 (e.g. 2025-05-29T12:00:00Z), short dates (e.g. 2025-05-29), US format (e.g. 05/29/2025), and UTC strings (e.g. Thu, 29 May 2025 12:00:00 GMT). If parsing fails, the tool will show a clear error message.

Related Tools