Timestamp Converter

Convert between Unix timestamps (seconds) and human-readable dates.

About Unix Time

Unix time counts seconds since 1970-01-01T00:00:00Z. This tool uses seconds (not milliseconds) for conversion. All processing happens in your browser.

ℹ️

About this Timestamp Converter

Convert between Unix timestamps and human-readable dates and times. Unix (epoch) time is the number of seconds or milliseconds since January 1, 1970, 00:00:00 UTC, and is used everywhere in programming—APIs, databases, log files, and configs. This tool lets you paste a timestamp and see the corresponding date and time, or pick a date and get the timestamp. Support for both seconds (10 digits) and milliseconds (13 digits) is included, so you can work with JavaScript Date.now(), Python time.time(), or any other system. All conversion runs in your browser with no server round-trips, so your data stays private. Essential for developers debugging APIs, analyzing logs, or writing scripts that deal with dates.

Key Features

Convert Unix timestamp (seconds or milliseconds) to human-readable date and time

Convert a chosen date and time to Unix timestamp in seconds or milliseconds

Support for both 10-digit (seconds) and 13-digit (millisecond) timestamps

One-click copy of the result for use in code or docs

All processing in your browser; no data sent to servers

Clear indication of UTC vs local time where applicable

📖

How to Use

1

To convert timestamp to date: enter the number in the input and select seconds or milliseconds

2

To convert date to timestamp: use the date/time picker and choose seconds or ms output

3

View the result in the output area

4

Copy the value with the copy button for use in your project or logs

💡

Popular Use Cases

1

Debug API responses or webhooks that return timestamps

2

Convert log timestamps to readable dates when analyzing errors or events

3

Generate timestamps for tests, fixtures, or configuration

4

Understand expiry or "created_at" values stored as epoch time

💡

Tips & Best Practices

10 digits = seconds (e.g., 1700000000); 13 digits = milliseconds (e.g., 1700000000000). The epoch is 1970-01-01 00:00:00 UTC.

JavaScript Date.now() and many REST APIs use milliseconds; Unix command line and some databases use seconds.

When in doubt, try both seconds and milliseconds if the date looks wrong.

Frequently Asked Questions

Q

What is a Unix timestamp?

A Unix timestamp is the number of seconds (or milliseconds) since January 1, 1970, 00:00:00 UTC. It is a standard way to store and exchange dates in programming.

Q

Seconds or milliseconds?

Many APIs and JavaScript use milliseconds (13 digits). Unix systems and some databases use seconds (10 digits). Check your platform; this tool supports both.

Q

Why does my timestamp show the wrong date?

If you expect a recent date, ensure you chose the right unit: seconds vs milliseconds. A 10-digit number in milliseconds would be a date in 1970; the same number in seconds could be 2023.