Unix Timestamp & Epoch Converter
Instantly convert Unix epoch timestamps—across seconds, milliseconds, microseconds, and nanoseconds—into UTC ISO 8601, RFC 2822, relative time, and any IANA timezone. Ideal for debugging JWT `exp`/`iat`/`nbf` claims, database logs, distributed traces, and API payloads without sending data to a server.
#How to Use This Tool
#Mathematical Formula & Standards
#Edge Cases & Technical Considerations
Seconds vs. Milliseconds vs. Nanoseconds
JWT claims (`exp`, `iat`, `nbf`) and POSIX `time()` use 10-digit seconds, JavaScript `Date.now()` and Java `System.currentTimeMillis()` use 13-digit milliseconds, while Go `time.Now().UnixNano()` and OpenTelemetry spans emit 19-digit nanoseconds.
The Year 2038 Problem (Y2038)
Legacy systems storing Unix time as a signed 32-bit integer overflow after `2,147,483,647` (`2038-01-19T03:14:07Z`), wrapping around to `1901-12-13`. Modern 64-bit systems and databases (`BIGINT` / `TIMESTAMPTZ`) avoid this limit.
Negative Epochs (Pre-1970)
Negative epoch values such as `-86400` represent dates prior to January 1, 1970 (`1969-12-31T00:00:00Z`) and are supported accurately across all units.
#Frequently Asked Questions
Q:How does auto-detection distinguish seconds from milliseconds?
Values with magnitude below 10^11 (up to 10 digits around modern dates) are treated as seconds, up to 10^14 (13 digits) as milliseconds, up to 10^17 (16 digits) as microseconds, and 10^17+ as nanoseconds. You can override this anytime using the Unit selector.
Q:Does Unix time include leap seconds?
No. POSIX Unix time treats every day as exactly 86,400 seconds and ignores UTC leap seconds.
Q:Can I convert JWT exp and iat timestamps here?
Yes. JWT `exp`, `iat`, and `nbf` claims are standard Unix epoch seconds. Paste them directly or use the JWT +1h preset to inspect expiration times.
Q:Are my timestamps or log strings sent to a server?
Never. All epoch conversions, BigInt sub-second scaling, and Intl timezone formatting run 100% locally in your browser.
Have feedback or feature requests?
Help us improve this utility. Share suggestions, report edge cases, or request new features directly.
#Related Utilities
Explore complementary tools running on-device with zero server upload.
JWT Decoder & Inspector — Zero-Upload Online JWT Token Viewer
Decode, inspect, and verify JSON Web Tokens (JWT) directly inside your browser. No auth tokens or secret keys are ever transmitted over the network or logged to cloud servers, satisfying strict enterprise privacy, SOC2, and GDPR Article 28 compliance.
JWT Generator & Signer — Zero-Upload Online Mock Token Builder
Create, configure, and cryptographically sign JSON Web Tokens (JWT) directly inside your browser. Generate mock authorization tokens for local backend APIs, Postman integration testing, and microservice debugging with zero server upload.
Cron Expression Generator & Schedule Calculator — Visual Builder
Build, validate, and decode standard 5-field cron expressions in real time. Translate complex crontab syntax into clear human-readable sentences, preview the next 5 execution timestamps, and select from common recurring presets directly in your browser with zero latency.