Unix Timestamp Converter — epoch ↔ date
Convert Unix timestamp (epoch) to date and back. Auto-detects seconds/milliseconds, shows local + UTC + ISO 8601 + relative time.
From Unix Timestamp
From Date/Time
Unix Timestamp = seconds since 1970-01-01 UTC. JavaScript Date uses milliseconds (×1000). Tool auto-detects 10 digits = seconds, 13 digits = ms.
What is Unix Timestamp?
Unix Timestamp (or Unix epoch time) is the number of seconds that have elapsed since 00:00:00 UTC on January 1, 1970 — known as "the epoch". It's the most consistent way computers store time across timezones.
- Linux / macOS / Unix:
date +%sreturns the timestamp in seconds. - JavaScript:
Date.now()returns milliseconds (×1000). - Python:
time.time()returns seconds as a float. - Database: PostgreSQL/MySQL TIMESTAMP/DATETIME columns store epoch internally.
Seconds vs milliseconds
- 10 digits = seconds. E.g.
1730000000(late 2024). - 13 digits = milliseconds. E.g.
1730000000000. - 16 digits = microseconds (rare).
The tool auto-detects based on digit count. You can also force seconds/ms via the radio buttons.
When to use it
- Debug an API: response says
"created_at": 1730000000— convert to a real date. - JWT tokens:
expandiatclaims are epoch — check if a token is still valid. - Database logs: server timestamps — quick conversion to your local time.
- Cron schedules: figure out exactly when a cron job will run next.
Who this is for
Fullstack/backend/devops engineers — debug JWT, format JSON/SQL, parse cURL, compute CIDR subnets, draft Mermaid diagrams, write conventional commits… Daily toolkit alongside your terminal and editor.
FAQ
Is my pasted code/token sent anywhere?
No. All TopDev dev tools run 100% client-side — JWT, SQL, JSON, cURL, regex… process in-browser. Disconnect to verify. Safe for internal tokens, production DB queries, API keys.
Does it work offline / install as a PWA?
Tools work offline after the first load. Installable PWA is on the roadmap — for now you can bookmark and use without internet.
Related tools
See all tools →JWT Decoder
Decode JWT tokens — header, payload, claims with readable timestamps.
NEWText Diff
Paste 2 texts → highlight diffs at word/line/char level. Great for diffing AI outputs.
NEWJSON Schema Generator
Generate JSON Schema (Draft-07) from a sample — for LLM structured output and API validation.
NEWJSON Formatter
Format / minify / validate JSON. Sort keys A-Z, custom indent, Ctrl+Enter shortcut.