# Epoch / Timestamp Converter

Convert Unix timestamps to human-readable dates and back. Supports seconds, milliseconds, and timezones.

NowClear

### Epoch → Human

Unix timestamp

Values greater than 1e12 are treated as milliseconds; otherwise seconds.

Enter a numeric timestamp to see formatted dates.

### Human → Epoch

Local date & time

Pick a date and time to see Unix timestamps.

## What is a Unix timestamp?

A Unix timestamp (or epoch time) is the number of seconds that have elapsed since January 1, 1970, 00:00:00 UTC. It is a simple, timezone-independent way to represent a point in time, widely used in APIs, databases, log files, and programming languages.

## How to use it

To convert an epoch to a date, paste the timestamp into the left panel — the tool auto-detects whether it is in seconds or milliseconds. To convert a date to an epoch, pick a date and time in the right panel. Click the Now button to grab the current timestamp instantly.

## Common use cases

- Debugging API responses that return timestamps.
- Reading log files with epoch-format dates.
- Converting database timestamps for reports.
- Calculating time differences between events.
- Setting cookie or token expiration times.
