Free Timestamp Converter
Convert Unix timestamps to readable dates and vice versa. Supports UTC and local time, seconds and milliseconds.
Epoch quick reference
Common uses
- Convert Timestamps in Analytics DataTranslate Unix timestamps from analytics exports (Google Analytics, Mixpanel, Amplitude) into readable dates.
- Convert Timestamps for DebuggingDecode Unix timestamps from server logs, error payloads, and API responses into readable dates.
- Convert Timestamps in API DevelopmentValidate, compare, and translate Unix timestamps returned by REST APIs and webhooks.
- Convert Timestamps for Database QueriesConvert dates to Unix timestamps for SQL WHERE clauses and date-range queries.
- Convert Timestamps for SchedulingConvert specific dates and times to Unix timestamps for use in scheduling systems and calendar APIs.
How It Works
All conversion runs directly in the browser using JavaScript's built-in Date object and the Intl suite (Intl.RelativeTimeFormat, Intl.DateTimeFormat, Intl.supportedValuesOf) โ no third-party library, no server round-trip. The only data that leaves your machine is nothing: the numbers stay local.
- 1Unit detection and normalizationWhen you paste a timestamp, the tool counts its digits to infer the unit automatically: 10 digits means Unix seconds, 13 milliseconds, 16 microseconds, 19 nanoseconds. A hand-written digit-count heuristic flags a mismatch and offers a one-click unit switch, preventing silent mistakes like treating a 13-digit millisecond value as a year-55881 seconds value.
- 2Date construction via JavaScript DateThe raw number is scaled to milliseconds and passed to new Date(ms). From there the built-in Date methods (getFullYear, getUTCHours, toISOString, etc.) produce local time, UTC time, and ISO 8601 output โ no parsing library involved.
- 3Locale-aware relative time via Intl.RelativeTimeFormatA live ticker fires every second and recomputes the relative label (e.g. '3 days ago', 'in 2 hours') using Intl.RelativeTimeFormat seeded with the page locale. This keeps the relative display accurate even if you leave the tab open, and produces grammatically correct output in every supported language without extra translation strings.
- 4Timezone display via Intl.DateTimeFormatPinned IANA timezones (e.g. America/New_York, Asia/Tokyo) are formatted with Intl.DateTimeFormat using the timeZone option. The full list of browser-supported zone names comes from Intl.supportedValuesOf('timeZone'). Your pinned zones persist across sessions in localStorage.
Related Tools
UUID Inspector
Decode any UUID or ULID โ see its version, variant, and the creation timestamp embedded in v1, v6, v7, and ULIDs. Runs entirely in your browser.
chmod Permissions Calculator
Toggle Unix file permissions for owner, group, and other to get the octal value (755), symbolic notation (rwxr-xr-x), and the exact chmod command.
Hijri Date Converter
Convert dates between the Gregorian and Islamic (Umm al-Qura) calendars both ways, with Arabic month names, Arabic-Indic numerals, and todayโs Hijri date.