14 / timestamp-converter

free online tool

Timestamp Converter

Convert between Unix timestamps and human-readable dates instantly.

Current Unix Timestamp

1777469854

how to use

  1. 01

    Enter a Unix timestamp (seconds or milliseconds) to convert to a date.

  2. 02

    Or select a date and time to get the Unix timestamp.

  3. 03

    Copy the result with one click.

about

What is this tool?

A Unix timestamp represents the number of seconds elapsed since January 1, 1970 (UTC), known as the Unix epoch. This tool converts between Unix timestamps and human-readable date/time strings, supporting both seconds and milliseconds — essential for debugging APIs and log files.

why use this tool

  • -Instantly decode Unix timestamps from API responses.
  • -Convert dates to timestamps for database queries.
  • -Supports both seconds and milliseconds formats.
  • -Works offline in your browser.

features

  • -Unix timestamp → human-readable date conversion.
  • -Date/time → Unix timestamp conversion.
  • -Supports seconds and milliseconds.
  • -Shows UTC and local time.

comparison

Seconds vs Milliseconds Timestamps

FormatDigit CountExampleCommon In
Unix (seconds)10 digits1700000000Linux, Unix APIs, Python time.time()
Unix (milliseconds)13 digits1700000000000JavaScript Date.now(), Java System.currentTimeMillis()
ISO 8601Variable2023-11-14T22:13:20ZREST APIs, JSON, HTML datetime attributes
RFC 2822VariableTue, 14 Nov 2023 22:13:20 +0000Email headers, HTTP headers
privacy

All processing happens entirely in your browser using JavaScript. No files, text, or data are ever sent to a server. Your data stays on your device.

✦ tip from dragontail

Half of the timestamp bugs I've encountered at Dragontail came from milliseconds being mistaken for seconds — or the reverse. The quick check: if the timestamp is 13 digits, it's milliseconds; 10 digits, it's seconds. When in doubt, paste it into this converter. Seeing '1970-01-20' in your date field is a dead giveaway you've divided by 1000 one too many times.

faq

What is a Unix timestamp?

A Unix timestamp is the number of seconds since January 1, 1970 00:00:00 UTC. It's used universally in computing to represent points in time.

How do I know if a timestamp is in seconds or milliseconds?

Timestamps in seconds are typically 10 digits (e.g. 1700000000). Millisecond timestamps are 13 digits (e.g. 1700000000000).

Is the conversion affected by my timezone?

The tool shows both UTC and your local time zone to avoid confusion.