๐Ÿ—“๏ธ Timestamp Converter

Instantly convert Unix timestamp โ†” date. (Seconds/milliseconds auto-detected)

Current Unix timestamp
 
The converted date will be shown here
The converted timestamp will be shown here

How to use

  1. Enter a timestamp (in seconds or milliseconds) to have it auto-converted to a date.
  2. Pick a date/time to have it auto-converted to a Unix timestamp.
  3. All calculations are based on your browser's local time zone.

๐ŸŽฏ Use Cases

Example

Input
1735689600
Output
UTC: Wed, 01 Jan 2025 00:00:00 GMT
ISO: 2025-01-01T00:00:00.000Z

A number of 11 digits or fewer is read as seconds, so the Unix timestamp 1735689600 is converted to a date. The UTC and ISO values above are time-zone independent; the live tool also shows a "Local:" line based on your browser's time zone.

Timestamp units by language/system

Language/SystemDefault unitNote
JavaScript Date.now()MillisecondsShown as a 13-digit number
Python time.time()Seconds (with decimals)10-digit integer part + fraction
Unix date +%sSeconds10-digit integer
MySQL UNIX_TIMESTAMP()Seconds10-digit integer
JWT exp/iat claimsSecondsPer the RFC 7519 standard

"The timestamp is 13 digits, so why does the date look wrong?" โ€” issues like this usually come from confusing seconds and milliseconds. This tool auto-detects by digit count, but knowing which language or system the raw value came from lets you judge more reliably.

FAQ

How does it tell seconds and milliseconds apart?
It's determined automatically from the number of digits entered (11 digits or fewer is treated as seconds, 12 or more as milliseconds).
What is a Unix timestamp?
It's the number of seconds (or milliseconds) that have elapsed since 00:00:00 UTC on January 1, 1970. Dates after January 19, 2038 are subject to the well-known "Year 2038 problem," an overflow that occurs when the value is stored as a signed 32-bit integer.
Can I enter a negative timestamp?
Yes. Dates before January 1, 1970 are represented as negative timestamps, and this tool converts negative input to a date correctly.
Is the value I enter sent to a server?
No. It's calculated using the JavaScript Date object based on your browser's local time zone.

๐Ÿ—“๏ธ Learn more: How to Convert a Unix Timestamp to a Date

Turn seconds-since-1970 into a readable date

More Coding Tools

๐Ÿ“˜
JSON Formatter
Prettify, validate & minify JSON
๐Ÿงฉ
JSON String Encoder
Convert text โ†” JSON string literal
โœจ
JS/CSS Formatter
Indent & tidy JS/CSS code
โœ‚๏ธ
JS/CSS Minifier
Strip comments & whitespace
๐Ÿงฝ
HTML Formatter
Indent HTML by tag structure
๐Ÿงน
XML Formatter
Indent XML by tag structure
๐Ÿ—ƒ๏ธ
SQL Formatter
Break SQL into clauses & indent
๐Ÿ”ฃ
HTML Entity Encoder
Convert special chars โ†” HTML entities
๐Ÿ“Š
Excel to HTML Table
Convert spreadsheet data to HTML TABLE
โ›“๏ธ
Link Extractor
Extract href/src links from HTML
๐ŸŽจ
Color Picker
Get HEX, RGB & HSL color codes
๐Ÿ˜
PHP Syntax Checker
Check bracket/string pairing (practical checker)
๐Ÿ—„๏ธ
MySQL Syntax Checker
Check bracket/quote pairing (practical checker)
๐Ÿ”
HTML5 Validator
Check tag pairing, duplicate id, missing alt
โœ๏ธ
Online HTML Editor
Write & edit HTML visually