Unix Timestamp Converter
Convert Unix epoch timestamps in seconds or milliseconds to human-readable dates, and convert dates back to timestamps. Free and runs in your browser.
Current epoch timestamp
- Seconds
1794324204 - Milliseconds
1794324204976
Timestamp → Date
Timestamp
Stays in your browserDate → Timestamp
Date
Stays in your browserConvert a log
Paste log text. Every 10-digit (seconds) and 13-digit (milliseconds) timestamp and every ISO-8601 date gets its readable time.
Log text
Stays in your browserShortcuts: Ctrl+Enter run · Ctrl+Shift+C copy result · / search (use ⌘ on Mac)
Free Online Unix Timestamp Converter
Convert a Unix epoch timestamp to a readable UTC/local date, or convert a date back into a timestamp — plus a live ticker showing the current epoch time, updated every second. It helps backend developers reconcile API timestamps, database values, and logs when seconds and milliseconds are easy to confuse.
How to use this converter
To convert a timestamp into a date, paste it into the first input, choose whether it's in seconds or milliseconds, and click Convert — you'll get both the UTC (ISO 8601) and your local time representation. To go the other way, type or paste a date into the second input (ISO format or most common date strings work) and click Convert to get its Unix timestamp in seconds.
Seconds vs. milliseconds
Different systems use different units: Unix system calls and most databases use seconds, while JavaScript's Date.now() and many web APIs use milliseconds. A quick way to tell them apart: a 10-digit number is almost always seconds (covering dates up to the year 2286), while a 13-digit number is almost always milliseconds.
Convert a whole log
Paste log text into Convert a log and every 10-digit and 13-digit timestamp, and every ISO date, gets a readable time in the zone you choose. The default adds the date after the number so nothing is lost; a 10-digit number that is really a phone number then only gets an extra note. Turn on the “after = or :” option to match only numbers that look like timestamp fields.
Common use cases
- Decoding a timestamp field from a database row or API response into a readable date
- Converting a specific date into a timestamp to use in a query or test fixture
- Quickly grabbing the current epoch time for a script or manual test
Worked example
The timestamp 1735689600 (seconds) converts to 2025-01-01T00:00:00.000Z in UTC. Converting a date back the other way, 2026-01-15T10:30:00Z produces the timestamp 1768473000.
Common mistakes and edge cases
- A date-only string like
2026-01-15is parsed as UTC midnight, but a date+time string without a trailingZor offset (like2026-01-15T10:30:00) is parsed as your browser's local time, not UTC — in testing, this is standard JavaScriptDatebehavior, not specific to this tool. Add a trailingZif you mean UTC. - Dates such as
15/01/2026and15-01-2026follow the day/month order you choose. When both numbers are 12 or less (05/06/2026) the note under the result says which reading was used, so check it matches what you meant. - A 10-digit seconds value covers dates up to the year 2286; anything larger than that (or a value far enough outside the representable range) reports "out of range" rather than a wraparound or garbage date.