Unix Timestamp Converter
Convert Unix timestamps to readable dates and dates back to timestamps. Auto-detects seconds vs milliseconds. Shows the current timestamp live.
Also searched as: epoch · fecha unix · milisegundos · unix time · epoch converter · unix timestamp
Current Time
Unix Timestamp → Human Date
Human Date → Unix Timestamp
A Unix timestamp is the backbone of time representation in computing. Rather than storing a date as a year, month, day, and timezone — all of which vary by locale — systems express time as a single integer: the number of seconds (or milliseconds) that have elapsed since the Unix epoch, which began at 00:00:00 UTC on January 1, 1970. This compact format is used in virtually every programming language, database engine, and operating system. Whether you are reading a server log, decoding a JWT token expiry field, querying a database, or debugging an API response, you will encounter Unix timestamps constantly. This converter lets you instantly translate any epoch value into a human-readable date and time, and convert any date back into a timestamp.
The tool auto-detects whether your value is in seconds or milliseconds based on the number of digits — 10 digits means seconds (used by Unix, Python, PHP, SQL), 13 digits means milliseconds (used by JavaScript's Date.now()). A live clock also displays the current Unix timestamp so you always have a reference point.
Paste a Unix timestamp (seconds or milliseconds) into the top input — the date appears immediately.
Or type a date string (ISO 8601, RFC 2822, or plain YYYY-MM-DD) into the bottom input to get its epoch value.
Copy the result with the copy button. Use the live current timestamp display as a quick reference anytime.
What Is a Unix Timestamp?
A Unix timestamp, also called Epoch time or POSIX time, is an integer representing the total number of seconds elapsed since January 1, 1970, 00:00:00 UTC — a fixed reference point known as the Unix epoch. Because it is a timezone-agnostic integer, it eliminates the ambiguity of local times and daylight saving offsets. It is supported natively in C, Python, Java, JavaScript, PHP, Ruby, Go, SQL, and virtually every modern language. Negative timestamps represent moments before 1970, allowing coverage of historical dates as well.
How to Use This Tool
To convert a Unix timestamp to a date, paste the epoch value (seconds or milliseconds) into the timestamp field and the readable date appears instantly — no button needed. To convert a date to a timestamp, type or paste a date string in any common format (ISO 8601, RFC 2822, or a plain date like 2025-06-15) into the date field. The live counter at the top shows the current epoch time in both seconds and milliseconds, updating every second.
Why Developers Need This Daily
Unix timestamps appear everywhere in software: API responses, JWT expiration fields, database columns, log files, HTTP headers (Last-Modified, Expires), and more. When you encounter a value like 1749298200 or 1749298200000, this converter immediately tells you what that moment in time actually means. It is indispensable during API debugging, database audits, security token inspection, and cron job scheduling. Having a quick, reliable converter removes friction when moving between timestamp formats without needing to open a REPL or write a one-liner.
Common Examples
Unix epoch 0 → 1970-01-01T00:00:00Z. Timestamp 1700000000 (seconds) → November 14, 2023, 22:13:20 UTC. Timestamp 1700000000000 (milliseconds) → the same moment detected automatically. ISO date "2025-12-31T23:59:59Z" → epoch 1767225599. JavaScript's Date.now() at any given moment returns a 13-digit millisecond timestamp; divide by 1000 to get the seconds form used by most server-side systems.
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp is the number of seconds (or milliseconds) that have elapsed since January 1, 1970 at 00:00:00 UTC — a fixed reference point called the Unix epoch. It is a plain integer, completely free of timezone or locale context, which makes it ideal for storing, comparing, and computing with dates across systems and programming languages.
How do I know if my timestamp is in seconds or milliseconds?
Count the digits. A 10-digit number (e.g., 1700000000) is in seconds, which covers dates up to around 2038 for 32-bit and much further for 64-bit systems. A 13-digit number (e.g., 1700000000000) is in milliseconds, as returned by JavaScript's Date.now(). This tool detects the format automatically and shows the correct result without requiring you to specify it.
What date input formats does the converter accept?
The converter accepts ISO 8601 (2025-06-07T14:30:00Z), short dates (2025-06-07), dates with a space separator (2025-06-07 14:30:00), RFC 2822 (Sat, 07 Jun 2025 14:30:00 GMT), and most other formats recognized by JavaScript's Date constructor.
Does the tool handle timezones?
Unix timestamps are inherently UTC. The displayed human-readable date shows the UTC equivalent. Your browser's local timezone offset is also shown alongside the UTC time so you can cross-reference both.
What is timestamp 0?
Timestamp 0 in Unix time corresponds to January 1, 1970 at exactly 00:00:00 UTC — the Unix epoch. All Unix timestamps measure time relative to this moment. Negative timestamps represent dates before 1970.