Timestamp Converter

Convert Unix timestamps to human-readable dates and vice versa.

Unix Timestamp → Human-Readable Date

UTC-
Local-
ISO 8601-
Relative-
Year-
Month-
Day-
Day of Week-
Unix (seconds)-

Date → Unix Timestamp

Unix (seconds)-
Unix (milliseconds)-
Valid Date-

Free Online Unix Timestamp Converter

A Unix timestamp represents the number of seconds (or milliseconds) that have elapsed since January 1, 1970, 00:00:00 UTC (the Unix epoch). This format is widely used in programming, databases, and APIs for storing and exchanging date/time values. This converter supports both directions: converting a numeric timestamp to a human-readable date (showing UTC, local timezone, ISO 8601 format, relative time, and individual date components), and converting a date string back to its Unix timestamp in both seconds and milliseconds. The "Now" buttons insert the current moment for quick reference. All processing happens locally in your browser using JavaScript's built-in Date object — no date or timestamp data is sent to any server.

Working with Timestamps

Most programming languages and databases use Unix timestamps for date/time storage. JavaScript's Date.now() returns milliseconds since epoch. Python's time.time() returns seconds as a float. MySQL's UNIX_TIMESTAMP() returns seconds. PostgreSQL's EXTRACT(EPOCH FROM ...) returns seconds as a float. This tool handles both conventions — if your timestamp looks like 1700000000 (10 digits), it's likely seconds. If it looks like 1700000000000 (13 digits), it's milliseconds. You can explicitly toggle the milliseconds checkbox. The date-to-timestamp direction accepts any string parseable by JavaScript's Date constructor, including ISO 8601, US date formats, and natural language strings.