Skip to content
Developer · Time Utilities

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates — and dates back to timestamps — instantly in your browser. Supports seconds, milliseconds, microseconds, and nanoseconds.

In-browser only IANA timezones ISO 8601 · RFC 3339
Current Unix Timestamp0
Timezone
CONVERTED DATE

Enter a timestamp or date to convert

All conversions happen in your browser. Nothing is uploaded to a server.

Copied!

Guide

How to Use

  1. 1
    See the current timestamp.

    When you open the page, the current Unix timestamp is displayed at the top, updating every second. Click the copy icon to grab it.

  2. 2
    Convert a timestamp to a date.

    Type or paste a Unix timestamp into the timestamp field. The tool auto-detects whether it is in seconds, milliseconds, microseconds, or nanoseconds, and instantly shows the corresponding date and time in your selected timezone.

  3. 3
    Convert a date to a timestamp.

    Type a date and time (e.g., 2025-06-15 14:30:00) into the date field. The tool calculates the Unix timestamp in all units and displays them below.

  4. 4
    Change the timezone.

    Use the timezone dropdown to switch from UTC to your local timezone or any IANA timezone (e.g., America/New_York, Asia/Tokyo). All date formats update immediately.

  5. 5
    Copy any result.

    Every output value has a copy button. Click it to copy the value to your clipboard — a brief confirmation appears.

  6. 6
    Share a conversion.

    The URL updates to reflect your current inputs. Copy the URL from your browser address bar and share it — anyone who opens it will see the same conversion.

Reference

Example Inputs and Outputs

Example Inputs and Outputs
InputUnitOutput (UTC)
0seconds1970-01-01T00:00:00Z (Unix epoch)
1700000000seconds2023-11-14T22:13:20Z
1700000000000milliseconds2023-11-14T22:13:20Z
2147483647seconds2038-01-19T03:14:07Z (32-bit max)
-86400seconds1969-12-31T00:00:00Z (One day before epoch)

Frequently Asked Questions

What is a Unix timestamp?
A Unix timestamp (also called an epoch timestamp or POSIX time) is the number of seconds that have elapsed since January 1, 1970 at 00:00:00 UTC, not counting leap seconds. It is a single integer that represents a specific moment in time, used in server logs, API responses, and database records.
Does my data get sent to a server?
No. Every conversion happens entirely in your browser using JavaScript. Nothing you type or paste is uploaded, stored, or transmitted anywhere. You can use this tool offline after the page has loaded.
How do I know if my timestamp is in seconds or milliseconds?
The most common convention: 10-digit timestamps are in seconds, 13-digit timestamps are in milliseconds. This tool auto-detects the unit by counting digits and shows you which one it picked. If the digit count is ambiguous, you can manually select the unit from the dropdown.
Why do some systems use milliseconds or nanoseconds instead of seconds?
The original Unix standard defined timestamps in seconds. Many modern systems (JavaScript, Java, many databases) use milliseconds for higher precision. Languages like Go and Rust support nanosecond precision. This tool handles all four common units.
What is the Year 2038 problem?
Systems that store Unix timestamps as a signed 32-bit integer will overflow on January 19, 2038 at 03:14:07 UTC. This tool uses JavaScript's 64-bit date representation and is not affected, but if you are working with 32-bit systems, timestamps beyond that date will cause issues on those systems.
How does this tool handle timezones and daylight saving time?
The tool uses the IANA Time Zone Database (via your browser's Intl API) to convert timestamps to any timezone. During daylight saving time transitions — especially the "fall back" hour when clocks repeat — the tool resolves ambiguous times to the earlier occurrence, which is the standard behaviour.
What date formats does this tool output?
The tool displays the converted date in five formats simultaneously: ISO 8601, RFC 3339, RFC 2822, SQL datetime, and a human-readable format with timezone abbreviation. Each has its own copy button.
Can I convert dates before 1970?
Yes. Negative Unix timestamps represent dates before the epoch (January 1, 1970). For example, timestamp -1 is December 31, 1969 at 23:59:59 UTC. The tool handles these correctly.
What is the maximum timestamp this tool can handle?
JavaScript's Date object supports dates up to approximately ±285,616 years from 1970. For nanosecond inputs, precision is limited to JavaScript's safe integer range (up to 9,007,199,254,740,991). In practice, this covers every date you will ever need to work with.