All Developer

Timestamp Converter

Convert Unix timestamps to dates and back.

timestamp-converter.local

Overview

Converts between Unix timestamps and human-readable dates, in both directions. Useful when a log, API, or database stores time as a number and you need to know the actual date, or the reverse. It runs in your browser.

How it works

A Unix timestamp is the number of seconds since January 1, 1970 at midnight UTC, a moment known as the epoch. The tool converts that number into a readable date and time, and converts a date you enter back into its timestamp. Because the count is anchored to UTC, the tool handles the conversion so you do not have to do the arithmetic by hand.

How to use it

  1. Choose the direction: timestamp to date, or date to timestamp.
  2. Enter the Unix timestamp or pick a date and time.
  3. Read the converted value.
  4. Copy it for your log, query, or code.

Examples

Timestamp to date

1700000000 converts to November 14, 2023 (UTC).

Date to timestamp

Enter a date to get the Unix number a system would store for it.

FAQ

What is a Unix timestamp?
The number of seconds since January 1, 1970 UTC, a standard way computers represent a point in time.
Why does the date use UTC?
Unix time is defined in UTC. Converting to your local time zone is a separate offset on top of that.
Seconds or milliseconds?
Unix time is classically in seconds, though some systems use milliseconds. Make sure your value matches the unit the tool expects.
Is my data uploaded?
No. The conversion runs in your browser.

Related tools

Embed this tool

Paste this snippet to put the tool on your own site. It runs entirely in the visitor's browser, the same as it does here.

<iframe src="https://tooldok.com/embed/timestamp-converter/" title="Timestamp Converter by Tooldok" width="100%" height="560" style="border:1px solid #16130d;border-radius:16px;max-width:720px" loading="lazy"></iframe> <p style="font:13px sans-serif"><a href="https://tooldok.com/tools/timestamp-converter/" target="_blank" rel="noopener">Timestamp Converter</a> by <a href="https://tooldok.com/" target="_blank" rel="noopener">Tooldok</a></p>