Request a tool
DEVELOPER TOOLS · FREE ONLINE TOOL

Unix Timestamp Converter

Convert epoch timestamps to dates and dates to timestampsDatabases, APIs, and log files love storing time as a single number: seconds since January 1, 1970. Humans cannot read those numbers at a glance. Paste a timestamp to see the real date and time, or pick a date to get the timestamp back.

✓ Free to use✓ No sign-up✓ Ready in your browser
// UNIX TIMESTAMP CONVERTER · GET STARTED

Use Unix Timestamp Converter

Convert epoch timestamps to dates and dates to timestamps

Current Unix timestamp (live)

Seconds—
Milliseconds—
UTC now—

Paste any epoch value. 10 digits usually means seconds, 13 means milliseconds.

Pick a date and time to see its epoch values.

// UNIX TIMESTAMP CONVERTER · HOW IT WORKS

How to use the Unix Timestamp Converter

01

Enter a timestamp

Watch the live current timestamp, or paste any timestamp to convert it to a date.

02

Read the converted date

Check the UTC, local and relative readings side by side.

03

Convert a date back

Or pick a date and time to get its timestamp in seconds and milliseconds.

// UNIX TIMESTAMP CONVERTER · ABOUT THIS TOOL

About the Unix Timestamp Converter

Epoch timestamps are everywhere in development: API responses, database rows, JWT expiry claims, log files and cache headers. This free converter handles both directions, auto-detects seconds versus milliseconds, and shows UTC and your local timezone together.

A live ticking clock of the current timestamp helps when seeding test data or checking token expiry. Everything runs locally in your browser, and relative times like 'in 2 days' update with the conversion.

Where it helps most

Reading the numbers systems actually store.

JWT expiry checks

The exp, iat, and nbf claims inside a JWT are Unix timestamps. Converting exp is the fastest way to see when a token dies.

Reading log files

Log entries stamped as integers become readable the moment they are converted. If you debug distributed systems, you read epoch time weekly whether you planned to or not.

Database columns

Database created_at columns stored as integers and API responses with numeric dates all speak this language. Convert them into something a human can read at a glance.

Cache TTL math

Cache TTL calculations and token lifetimes are all timestamp arithmetic. Converting them turns abstract integers into concrete dates you can reason about.

Traps worth knowing

Two classic mistakes, one piece of trivia.

Seconds vs milliseconds

A 10-digit timestamp counts seconds, a 13-digit one counts milliseconds. Mixing them up produces dates in 1970 or the year 50000.

Timestamps are UTC

A timestamp is always UTC underneath. The converter shows UTC and your local time, since local rendering is what users experience.

The Year 2038 problem

Systems storing timestamps in signed 32-bit integers overflow on January 19, 2038, wrapping to 1901. Modern 64-bit systems are unaffected, but old databases still carry the risk.

Unix Timestamp Converter: built for trust

Convert both directions in one box: timestamps to dates, dates to timestamps, shown in UTC and local time.

// UNIX TIMESTAMP CONVERTER · COMMON QUESTIONS

Unix Timestamp Converter FAQs

Count the digits. A 10-digit timestamp counts seconds since the epoch, the classic Unix convention, while a 13-digit timestamp counts milliseconds, the JavaScript Date convention. Converting a seconds value as milliseconds gives a date in 1970; converting milliseconds as seconds gives a date tens of thousands of years out.