Timestamp Converter
Convert Unix timestamps to human-readable dates and back — in seconds or milliseconds, local time or UTC.
Unix timestamp → date
Date and time → timestamp
Current Unix time
Seconds in…
- 1 minute
- 60
- 1 hour
- 3,600
- 1 day
- 86,400
- 1 week
- 604,800
- 1 year
- 31,536,000
About the Unix Timestamp Converter
This free Unix timestamp converter turns epoch time into a human-readable date and back again. Paste a timestamp in seconds or milliseconds to see the exact moment in your local time, in UTC, as an ISO 8601 string and as a friendly relative time — or pick a date and time to get the matching Unix timestamp. A live clock shows the current epoch time, which you can copy or drop straight into either converter.
A Unix timestamp counts the seconds since 1 January 1970 (UTC), so it represents a single instant independently of any timezone — handy for logs, databases, JWTs and APIs. This tool auto-detects seconds, milliseconds, microseconds and nanoseconds, and everything runs entirely in your browser using your own clock and timezone, so nothing is ever uploaded and it keeps working offline.
Frequently asked questions
Answers to the questions we hear most about this tool.
What is a Unix timestamp?
A Unix timestamp (also called epoch time or POSIX time) is the number of seconds that have elapsed since 00:00:00 UTC on 1 January 1970, not counting leap seconds. It is a simple, timezone-independent way to represent a single moment in time, which is why it is used throughout programming, databases, log files and APIs. Some systems use milliseconds instead of seconds, giving a number that is 1000 times larger.
How do I convert a Unix timestamp to a date?
Paste the timestamp into the "Unix timestamp" box and the readable date appears instantly in your local time, in UTC, as an ISO 8601 string and as a relative time like "3 hours ago". The unit menu detects seconds or milliseconds automatically, but you can force a specific unit if your value is ambiguous. Each result has a copy button.
Seconds or milliseconds — how do I tell them apart?
A timestamp in seconds is currently a 10-digit number (around 1.7 billion), while the same moment in milliseconds is a 13-digit number (around 1.7 trillion). This converter auto-detects the unit from the size of the number, and also supports microseconds and nanoseconds. If a value could be read either way, pick the exact unit from the menu to be sure.
How do I convert a date to a Unix timestamp?
Use the "Date and time → timestamp" section: pick a date and time and choose whether to read it as your local time or as UTC, and the matching Unix timestamp is shown in both seconds and milliseconds, plus an ISO 8601 string. Click "Now" to start from the current moment.
Is my data private?
Yes. Every conversion runs entirely in your browser with JavaScript using your system clock and timezone — nothing is sent to or stored on any server, and the tool keeps working offline once the page has loaded.
Related tools
JSON Formatter
Developer
Format, beautify, validate, minify, repair and explore JSON in a tree view — with key sorting, escaping and pinpoint error locations.
Open toolColor Converter
Developer
Convert colors between HEX, RGB, HSL, HSV, CMYK and OKLCH with a live picker, alpha, shades and harmonies.
Open toolColor Palette Generator
Developer
Generate harmonious color palettes and CSS gradients from any base color, then copy HEX, CSS variables or gradient code.
Open tool