All tools Unix Timestamp Converter ● Live Data Tools

How Unix Timestamp Converter works

  1. To convert a timestamp to a date: paste a Unix timestamp (seconds or milliseconds) into the input field.
  2. View the result as UTC date, your local timezone date, and ISO 8601 string.
  3. To convert a date to a timestamp: use the date/time picker to select a date and time.
  4. Read the resulting Unix timestamp in both seconds and milliseconds.
  5. Click 'Now' to instantly fill in the current date and time.
  • Debug an API response that returns a created_at field as a raw Unix timestamp.
  • Convert a database timestamp column value into a readable date for a report.
  • Find the Unix timestamp for a specific deadline or scheduled event.
  • Check what date a JWT token's 'exp' or 'iat' claim corresponds to.
  • Convert between seconds and milliseconds formats for different programming languages.

All conversion happens locally in your browser using standard JavaScript date functions. Nothing is sent to a server.

  • Designed for typical positive timestamps from 1970 onward — pre-1970 dates are not the primary use case.
  • Local timezone display depends on your browser/OS timezone settings, which may differ from a server's timezone.
  • Does not support custom date format strings beyond UTC, local, and ISO 8601.

Unix Timestamp Converter

Unix Timestamp Converter works in both directions: paste a Unix timestamp (seconds or milliseconds — auto-detected) and see the UTC date, local timezone date, and ISO 8601 string. Or pick a date and time to get its Unix seconds and milliseconds. A 'Now' button fills the current moment.

Unix Timestamp Converter Runs locally

Timestamp → Date

UTC
Sat, 01 Jun 2024 00:00:00 GMT
Local
6/1/2024, 12:00:00 AM
ISO 8601
2024-06-01T00:00:00.000Z

Date → Timestamp

Unix seconds
1785169080
Unix milliseconds
1785169080000
Guide

How to use

  1. To convert a timestamp to a date: paste a Unix timestamp (seconds or milliseconds) into the input field.

  2. View the result as UTC date, your local timezone date, and ISO 8601 string.

  3. To convert a date to a timestamp: use the date/time picker to select a date and time.

  4. Read the resulting Unix timestamp in both seconds and milliseconds.

  5. Click 'Now' to instantly fill in the current date and time.

Scenarios

Use cases

  • Debug an API response that returns a created_at field as a raw Unix timestamp.

  • Convert a database timestamp column value into a readable date for a report.

  • Find the Unix timestamp for a specific deadline or scheduled event.

  • Check what date a JWT token's 'exp' or 'iat' claim corresponds to.

  • Convert between seconds and milliseconds formats for different programming languages.

Good to know

Limitations & Privacy

Private by design

All conversion happens locally in your browser using standard JavaScript date functions. Nothing is sent to a server.

  • Designed for typical positive timestamps from 1970 onward — pre-1970 dates are not the primary use case.

  • Local timezone display depends on your browser/OS timezone settings, which may differ from a server's timezone.

  • Does not support custom date format strings beyond UTC, local, and ISO 8601.

FAQ

Frequently asked questions

How does auto-detection of seconds vs milliseconds work?

If the timestamp has 13 or more digits it is treated as milliseconds; otherwise as seconds. This correctly handles all timestamps from 1970 through the year 2286.

What timezone is used for local time display?

The local timezone display uses your browser's system timezone, reflecting whatever timezone is configured on your device.

What is a Unix timestamp?

A Unix timestamp (or epoch time) is the number of seconds (or milliseconds) that have elapsed since January 1, 1970, 00:00:00 UTC. It's used widely in databases, APIs, and log files.

Why do some APIs return 10-digit and others 13-digit timestamps?

10-digit timestamps are seconds-based (the original Unix standard), while 13-digit timestamps are milliseconds-based, common in JavaScript (Date.now()) and many web APIs. Both are common — the tool auto-detects which one you've pasted.

Can I convert a negative timestamp (before 1970)?

Negative Unix timestamps represent dates before January 1, 1970, and are technically valid, but this tool is optimized for typical positive timestamps used in modern applications.

What does ISO 8601 format look like?

ISO 8601 is a standardized format like 2026-06-10T14:30:00.000Z, commonly used in JSON APIs, logs, and databases because it's unambiguous and sortable as a string.

Can I convert a date to a timestamp without knowing the time?

Yes — use the date picker and leave the time at its default (usually midnight) to get the timestamp for the start of that day in your local timezone.