Timestamp Converter
Convert between Unix timestamps and human-readable dates, in both UTC and your local timezone.
🔒 Processed locally in your browser
Loading…
How to use
- To convert a timestamp to a date, type or paste a Unix timestamp into the "Unix timestamp" field — it's auto-detected as seconds or milliseconds based on its length.
- Click "Now" to instantly fill in the current Unix timestamp.
- The equivalent date appears below in ISO 8601 format, UTC time, and your browser's local time.
- To convert a date to a timestamp, pick a date and time in the "Date and time" field — the equivalent Unix timestamp appears below in both seconds and milliseconds.
Features
- Two-way conversion: timestamp to date, and date to timestamp
- Auto-detects whether a timestamp is in seconds or milliseconds
- Shows results in ISO 8601, UTC, and your browser's local timezone
- "Now" button fills in the current Unix timestamp instantly
- Supports dates before 1970 (negative timestamps)
- 100% client-side — your dates never leave your browser
Frequently asked questions
What is a Unix timestamp?
A Unix timestamp (also called epoch time) is the number of seconds — or, in this tool's case, sometimes milliseconds — that have elapsed since 00:00:00 UTC on January 1, 1970, not counting leap seconds. It's a compact, timezone-independent way to represent a point in time.
How does the tool know if my timestamp is in seconds or milliseconds?
It looks at how many digits the number has. Values with 10 digits or fewer are treated as seconds (this covers dates roughly up to the year 2286), and values with 11 or more digits are treated as milliseconds.
Is the result shown in UTC or my local time?
Both. The ISO 8601 string and "UTC time" row are always in UTC. The "Your local time" row is converted to whatever timezone your browser and operating system are currently set to.
Can this tool handle dates before 1970?
Yes. Enter a negative number in the timestamp field, or pick any date in the date field, and the conversion works the same way — a date before 1970 simply produces a negative Unix timestamp.
Does my data get sent anywhere?
No. Timestamp Converter runs entirely in your browser using JavaScript's built-in Date handling — nothing you enter is ever sent to a server.