Forgebox
← All tools

Convert

Timestamp Converter

Unix seconds/milliseconds ↔ human-readable UTC and local time.

Runs locally · no upload

UTC ISO

2023-11-14T22:13:20.000Z

Local

Wed Nov 15 2023 06:13:20 GMT+0800 (中国标准时间)

Milliseconds

1700000000000

How to use this tool

Unix timestamps appear in logs, APIs, databases, and JWT claims. Converting them to human-readable time prevents off-by-an-hour mistakes during debugging.

What this tool does

Convert Unix seconds or milliseconds into UTC and local time strings, or grab the current timestamp. Detection and conversion run entirely in the browser.

When to use it

Use it when reading server logs, validating expiration fields, or checking whether a schedule job fired at the expected moment.

Tips

Values with 13 digits are usually milliseconds; 10 digits are usually seconds. Mixing them is a classic bug.

Remember timezone context: UTC and local displays can differ even when the underlying instant is identical.

FAQ

Does this account for leap seconds? Practical JS date conversion follows normal ECMAScript date behavior, which is enough for most app debugging.