UtilitySansar
Developer

Timestamp Converter

Convert Unix timestamps to human-readable dates and back. Supports seconds and milliseconds, a live epoch clock, relative time, and a selectable display timezone — all in your browser.

  • 公開日
  • 最終確認

ツール要約

このツールは構造化された入力を受け取り、サーバーへアップロードせずにブラウザで決定的な出力を返します。

ツール名
Timestamp Converter
入力の目的
変換・検証・分析するソースコンテンツを入力してください。
出力の目的
コピー・再利用・デバッグに適した正規化された出力を受け取ります。
入力例
1700000000
出力例
2023-11-14T22:13:20.000Z
Current epoch timeLive

The live Unix clock, ticking in UTC. Click any value to copy.

Unix (s)

1782313195

Unix (ms)
1782313195349
ISO
2026-06-24T14:59:55.349Z
In UTC
Wednesday, June 24, 2026 at 2:59:55 PM UTC
Relative
now

Enter a timestamp or date string to view converted outputs.

ツールの紹介

Convert Unix timestamps to human-readable dates and back. Supports seconds and milliseconds, a live epoch clock, relative time, and a selectable display timezone — all in your browser.

ツール概要

A Unix timestamp (also called epoch time or POSIX time) counts the number of seconds — or milliseconds — that have elapsed since the Unix epoch, 1970-01-01 00:00:00 UTC, ignoring leap seconds. It is the lingua franca of log files, REST APIs, database columns, JWT expirations, and event streams because a single integer is unambiguous, timezone-independent, and trivial to sort and compare. This converter parses whatever you paste — a Unix integer or a date string — and shows it as Unix seconds, Unix milliseconds, ISO 8601, UTC, your local time, and any timezone you pick, plus a human-friendly relative time like "3 hours ago". A live clock at the top always shows the current epoch time so you can grab it with one click. Everything runs locally; nothing is sent over the network.

ユースケース

  • Read a Unix timestamp from a log line, API response, or database row as a human-readable date.
  • Generate the current epoch time to paste into a test fixture, config file, or cURL request.
  • Debug JWT, cookie, or cache expirations by converting `exp` and `iat` claims to real dates.
  • Confirm whether a stored integer is in seconds or milliseconds before writing a migration.
  • Convert a meeting or deadline date into a Unix timestamp for a cron job or scheduler.

入力/出力の例

Unix seconds → ISO 8601
入力の目的
1700000000
出力の目的
2023-11-14T22:13:20.000Z
ISO 8601 → Unix seconds
入力の目的
2024-01-15T12:00:00Z
出力の目的
1705320000
Unix milliseconds (13 digits) → ISO 8601
入力の目的
1700000000000
出力の目的
2023-11-14T22:13:20.000Z

よくある質問

What is a Unix timestamp?+
A Unix timestamp is an integer counting the seconds (or milliseconds) elapsed since the Unix epoch — 1970-01-01 00:00:00 UTC. It is the most common machine-readable date format because a single number is timezone-independent, easy to store, and trivial to sort and compare.
What is the current epoch time right now?+
The current epoch time is the number of seconds that have passed since 1970-01-01 00:00:00 UTC. The live clock at the top of this page shows it updating every second in both seconds (a 10-digit number) and milliseconds (13 digits) — click any value to copy it instantly. Because epoch time is always measured in UTC, the number is identical no matter where in the world you are.
Why are different time and date formats used?+
Each format optimizes for a different need. Unix timestamps are compact integers that machines sort and compute with effortlessly. ISO 8601 (e.g. 2024-01-15T12:00:00Z) is human-readable yet still strictly ordered and unambiguous, which is why it dominates APIs and config files. RFC 2822 / HTTP-date formats (e.g. Mon, 15 Jan 2024 12:00:00 GMT) exist for email and HTTP headers. Localized strings like "Jan 15, 2024, 9:00 PM" are for end users. They all describe the same instant — they just trade compactness, readability, and locale-awareness differently.
Which timestamp format is best for developers?+
For storing and transmitting time, prefer one of two: a Unix timestamp (great for compact storage, math, and language-agnostic interop) or ISO 8601 in UTC (great for readability, logs, and APIs where humans also read the value). A common, robust approach is to store the instant as UTC — either as an epoch integer or an ISO 8601 string ending in Z — and only convert to a local timezone at display time. Avoid storing localized or timezone-ambiguous strings; they are hard to parse and sort correctly.
How do I tell seconds from milliseconds?+
Unix seconds for any date around today are 10 digits long (until the year 2286), while Unix milliseconds are 13 digits. If a number looks ~1,000× too large, it is almost certainly milliseconds. Switch the unit pill in this tool to match what you pasted and the converted output updates instantly.
Is epoch time always in UTC?+
Yes. The Unix timestamp itself encodes a single instant measured from a fixed point in UTC, so the underlying number has no timezone of its own. Timezones only matter when you render that instant as a date — that is what the timezone selector here does. The integer never changes; only its human-readable display does.
What is the Year 2038 problem?+
Systems that store Unix time in a signed 32-bit integer can only count up to 2,147,483,647 seconds, which is reached at 03:14:07 UTC on 19 January 2038. After that the counter overflows and wraps to a negative number, misreading the date as 1901. Modern systems and languages use 64-bit integers, which push the limit roughly 292 billion years out, so the issue mainly affects legacy 32-bit software. This tool uses 64-bit math and is unaffected.
How do I convert a Unix timestamp to a readable date?+
Paste the integer into the input above, choose seconds or milliseconds, and the tool shows the ISO 8601, UTC, local, and selected-timezone versions immediately. In code you can do this with new Date(seconds * 1000) in JavaScript, datetime.fromtimestamp(seconds, tz=timezone.utc) in Python, or DATE(epoch) / to_timestamp(epoch) in SQL.
Does this converter send my data anywhere?+
No. All parsing and formatting happen entirely in your browser using built-in JavaScript date APIs. Nothing you type is uploaded, logged, or stored on a server, so it is safe to use with internal timestamps from production logs or databases.

他のツールを見る

下記の Developer カテゴリで関連ユーティリティを探す。

Developer をすべて見る

関連ツール

役に立ちそうな厳選ユーティリティ