Unix timestamp converter

Convert Unix timestamps to dates and back — seconds or milliseconds, with ready-to-paste Discord timestamp markup. Free, runs in your browser.

Paste a Unix timestamp in seconds (10 digits) or milliseconds (13 digits) and get the human time in your own timezone instantly — or type a date and read the timestamp back. Conversions run locally in your browser.

The Discord section is why people search for this: Discord renders live <t:seconds:style> tags that show each reader the time in their own timezone. Copy any style — relative (“in 3 months”) is the community favorite for event announcements — and paste it straight into chat.

Round-tripping is exact: the date field and the timestamp field stay in sync as you edit either side, and the “Now” button captures the current moment for quick comparisons.

Frequently asked questions

Is my timestamp in seconds or milliseconds?
Both work: 10 digits are treated as seconds, 13 digits as milliseconds. JavaScript and most logs use milliseconds; Unix tooling and Discord use seconds.
How do Discord timestamps work?
Discord renders <t:seconds:style> locally for every reader — their timezone, their language. The style letter picks the format: R for relative, F for full date-time, and so on.
What is the Unix epoch?
Midnight UTC on 1 January 1970 — second zero. Timestamps count elapsed seconds (or milliseconds) from that moment, which is why they need no timezone.