Timestamp converter

Local processing · No uploads

Inspect the live Unix clock and convert timestamps, Beijing time and UTC, individually or in batches.

Current Unix time

Pause freezes the clock and copied values.

Seconds—
Milliseconds—

Enter content, then choose an action.

Usage & limits

How to use

  1. In single mode, enter a Unix timestamp or date, then select its unit and the timezone for unzoned dates.
  2. Single values convert automatically. For a batch, enter one value per line and click Convert batch.
  3. Read seconds, milliseconds, Beijing time, UTC and ISO results. Copy or download complete batch JSON, including failed rows.

Input and output examples

Unix seconds to ISO 8601 (auto detect)
Example input
1700000000
Expected output
2023-11-14T22:13:20.000Z
Batch seconds and milliseconds (auto detect; two ISO result rows)
Example input
1700000000
1700000000000
Expected output
2023-11-14T22:13:20.000Z
2023-11-14T22:13:20.000Z

Formats and limits

  • Auto detects 10-digit integers as seconds and 13-digit integers as milliseconds. Choose a unit for other lengths; negative timestamps are supported.
  • Unzoned dates use YYYY-MM-DD HH:mm:ss with optional 1–3 fractional digits, defaulting to fixed UTC+08:00. ISO dates with Z or ±HH:mm are supported.
  • Single input: 256 characters. Batch: one value per line, up to 1,000 lines and 1 MiB, with 256 characters per line. LF/CRLF/CR are supported; blank lines are skipped. Rows preserve source numbers and errors. Copy or download complete JSON, including failed rows, regardless of pagination. Results are fixed per run without relative time. Invalid dates, fractional timestamps and scientific notation are rejected; seconds round toward negative infinity.

Content is processed in this page, without uploads or site history. First load and on-demand assets need a network. Clear or leave to release tool content; browser-managed restoration is outside the tool’s control.

Browser agent usage

These are interactive browser tools, not HTTP computation APIs. Computation requires JavaScript; initial page and on-demand asset loading need a network.

Input method
Use Timestamp or date for a single value. For batches, switch to Batch conversion and fill One timestamp or date per line. Auto detect accepts only 10-digit seconds or 13-digit milliseconds; choose a unit otherwise. Unzoned dates default to UTC+08:00.
Reading results
Single results are labeled time values. Batch results preserve source line numbers, successful values and errors. Copy JSON / Download JSON exports the complete versioned result regardless of pagination.

Supported operations

  • Automatic single conversion; explicit Convert batch
  • Choose seconds, milliseconds or auto detect and UTC+08:00 / UTC
  • Copy time values or copy / download batch JSON

Locate inputs and buttons by their page labels. After an explicit action, wait for the status to finish before reading the current result. Fix failed input first; do not reuse old results after changing input or settings.

Common questions

How does Beijing time relate to UTC?

Beijing time here is fixed UTC+08:00, eight hours ahead of UTC, without historical daylight-saving rules.

What gets copied while paused?

Pause freezes both clock values and the relative-time reference. Copy uses the frozen displayed value.

Feedback and suggestions

Leave a problem or suggestion for this tool.

Tool inputs stay local. Only text you explicitly enter in feedback is sent to a separate service and may become public after review. Email stays private to the maintainer.

Account-free feedback is not enabled yet. You can still use GitHub Issues (a GitHub account is required).

GitHub Issues ↗

Content reviewed:

Search tools