Skip to content
SmaftyTools

Timestamp Converter

Convert Unix timestamps to human-readable dates and back — auto-detects seconds vs milliseconds and shows local, UTC, ISO and relative time.

About Timestamp Converter

The Timestamp Converter is a free unix timestamp and epoch converter that translates Unix time into human-readable dates and back, instantly and in your browser. Paste an epoch value — it auto-detects whether it's in seconds or milliseconds — and see the local time, UTC, ISO 8601 string and relative time ('3 days ago') all at once, no manual math required.

Unix time (seconds since January 1, 1970 UTC) is the universal timestamp format underneath logs, databases, JWTs, APIs and countless config files, but it's opaque to a human reader — a number like 1700000000 tells you nothing until it's converted. This tool exists for exactly that moment: debugging why an API returned an unexpectedly old record, checking when a JWT's exp claim actually expires, reading a created_at column straight out of a database dump, or figuring out what time a cron job's next run actually corresponds to in your timezone. It's also useful for planning around scheduled jobs and expiring tokens: converting a cron job's next scheduled run, or an API rate-limit reset time delivered as a raw epoch value, into a time you can actually read at a glance.

The reverse direction is just as common: pick any date and time in your local zone and get its Unix seconds and milliseconds instantly, ready to paste into an API request, a test fixture, or a WHERE clause filtering by timestamp. A Now button grabs the current epoch time in one click, useful for testing time-based logic against 'right now'.

Conversion handles dates far into the past and future correctly, and everything runs client-side using your browser's own time zone data, so results reflect your actual local offset, not a guessed one. Negative timestamps, representing dates before 1970, are handled correctly too, which occasionally matters for historical data or date-of-birth fields stored in epoch form.

How to Use the Timestamp Converter

  1. Paste a Unix timestamp (10-digit seconds or 13-digit milliseconds) to decode it.
  2. Or pick a date and time to get its Unix seconds and milliseconds.
  3. Use the Now button for the current epoch time.

Features

  • Auto-detects seconds vs milliseconds
  • Shows local, UTC, ISO 8601 and relative time
  • Two-way conversion with a Now shortcut
  • Handles dates far into the past and future

Examples

Converting a Unix timestamp (seconds) to a date

Input

1700000000

Output

Nov 14, 2023, 22:13:20 UTC

Converting a millisecond timestamp

Input

1700000000000

Output

Nov 14, 2023, 22:13:20 UTC (auto-detected as milliseconds)

Converting a date to Unix time

Input

2024-01-01 00:00:00 UTC

Output

Seconds: 1704067200 · Milliseconds: 1704067200000

Frequently Asked Questions

How does it know if my timestamp is seconds or milliseconds?

Values of a trillion (10¹²) or more are treated as milliseconds — in seconds that would be the year 33,658, so the split is unambiguous for real-world dates.

What was the year 2038 problem?

Systems storing Unix time in signed 32-bit integers overflow on January 19, 2038. Modern 64-bit systems (and JavaScript) are unaffected.

What is the Unix epoch, exactly?

It's the reference point Unix time counts from: midnight UTC on January 1, 1970. A Unix timestamp is simply the number of seconds (or milliseconds) that have elapsed since that moment, with times before it represented as negative numbers.

Is the Timestamp Converter free?

Yes, the Timestamp Converter is completely free with no usage limits. No signup, no account and no installation required.

Does the Timestamp Converter work on mobile?

Yes. The Timestamp Converter is fully responsive and works in any modern browser on phones, tablets and desktops.