Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds.
Current Unix Timestamp
1778182108
Timestamp → Date
Date → Timestamp
How to use
- 1 The current Unix timestamp is shown live at the top, updating every second.
- 2 To convert a timestamp to a date: enter it (in seconds or milliseconds) in the Timestamp → Date field.
- 3 UTC, local time, and ISO 8601 format are all shown instantly below the input.
- 4 To get the timestamp for a specific date: use the Date → Timestamp date picker — seconds and milliseconds are shown immediately.
Key features
- Live display of the current Unix timestamp, updating every second
- Converts any Unix timestamp (seconds or milliseconds) to UTC, local time, and ISO 8601
- Converts any date/time input to Unix timestamp in both seconds and milliseconds
- No copy button needed — values are visible inline and easy to select
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 — the Unix Epoch. It's a simple, timezone-independent integer that virtually every programming language, database, and operating system understands natively.
The most common source of confusion: some systems use seconds (10 digits, e.g. 1713052800) while others use milliseconds (13 digits, e.g. 1713052800000). JavaScript's Date.now() returns milliseconds; most Unix system calls and databases return seconds.
Common Use Cases
Reading log files
Convert raw Unix timestamps in server logs, database records, or event streams into readable dates.
Inspecting JWT expiry
JWT tokens store iat (issued at) and exp (expiry) as Unix seconds. Convert them to check when they expire.
Database timestamp debugging
Convert timestamps stored in PostgreSQL, MySQL, or MongoDB to human-readable form without writing a query.
API response inspection
Decode the created_at or updated_at Unix timestamps in API responses while debugging.
Generating specific timestamps
Convert a known date to a Unix timestamp to use it in test data, scheduled jobs, or TTL settings.
Timezone-safe date handling
Unix timestamps are timezone-independent — convert a UTC timestamp to verify it aligns with a local time.
Timestamp Formats at a Glance
| Format | Example | Common in |
|---|---|---|
| Unix (seconds) | 1713052800 | Linux, PostgreSQL, Redis, JWT iat/exp |
| Unix (milliseconds) | 1713052800000 | JavaScript Date.now(), MongoDB, Java |
| ISO 8601 | 2024-04-14T00:00:00Z | JSON APIs, HTML datetime input, logs |
| RFC 2822 | Sun, 14 Apr 2024 00:00:00 +0000 | Email headers (Date:), HTTP Date header |