Home AlveaHubsfree, no sign-up, works offline

Unix Timestamp Converter

Convert Unix timestamps to human-readable dates and back. Shows the current timestamp in real time. Supports seconds and milliseconds. Everything runs locally in your browser.

Current Unix Timestamp
0

Timestamp → Date

Date → Timestamp

About this tool

This tool converts between Unix timestamps (seconds since January 1, 1970 UTC) and human-readable dates and times. It also displays the current Unix timestamp updated every second. Both seconds and milliseconds formats are supported, and results are shown in both local time and UTC/ISO 8601 format. Everything runs in your browser — no data is sent to any server.

How to use

  1. To convert a timestamp to a date: enter the Unix timestamp, choose seconds or milliseconds, and the date appears instantly.
  2. To convert a date to a timestamp: enter a date and time in the bottom section, and both second and millisecond timestamps appear.
  3. Click "Now" to fill in the current time. Click any copy button to copy a value.

When to use this tool

  • Debugging an API response that returns a timestamp and converting it to a readable date.
  • Generating a Unix timestamp for a specific date to use in a database query or script.
  • Checking how many seconds have elapsed between two events.
  • Converting between seconds and milliseconds timestamps for JavaScript (Date.now()) vs server-side code.

Frequently asked questions

What is a Unix timestamp?

The number of seconds since January 1, 1970, 00:00:00 UTC. Timezone-independent and easy to compare and sort.

What is the difference between seconds and milliseconds?

Seconds timestamps are 10 digits (e.g. 1700000000). Milliseconds are 13 digits (e.g. 1700000000000). JavaScript's Date.now() returns milliseconds; most server-side systems use seconds.

Are the dates shown in local time or UTC?

Both. The tool displays local time and UTC/ISO 8601 so you can compare them directly.

How do I convert a date to a Unix timestamp?

Enter a date and time in the "Date → Timestamp" section. Both seconds and milliseconds timestamps appear instantly.

Is any data sent to a server?

No. All conversion runs in your browser. Nothing is transmitted.

Does this work offline?

Yes. Once the page has loaded, all conversion runs locally.

Why is 0 the year 1970?

The Unix epoch was defined as January 1, 1970 when Unix was created. Negative timestamps represent dates before 1970.

Is this tool free?

Yes, completely free with no sign-up required and no usage limits.

Everything is calculated locally in your browser — no date or timestamp is ever sent to a server.