Timestamp Converter

Convert timestamps and build custom Python-style datetime formats.

Runs locally in your browser. Your input is not uploaded or saved.

Current Unix seconds—

Timestamp → date

Auto-detect treats magnitudes of 100 billion or more as milliseconds. For dates near the epoch or far in the future, select the unit explicitly.

Date → timestamp

Local timezone: local timezone. During a daylight-saving overlap, the earlier occurrence is used. UTC avoids that ambiguity.

Python datetime format builder

Write a strftime template or insert tokens from the guide. Literal text is preserved.

Format guide · click a token to insert it at the cursor

Names and locale formats use English. %f prints six digits with the final three zero because browser dates have millisecond precision. %Z uses the browser’s timezone name; it may differ from Python on another system. Platform-specific flags are not supported. Python format reference (new tab)

Also useful