Unix timestamp converter
Convert Unix epoch seconds or milliseconds to readable UTC/local dates, or convert a local date back to epoch.
Epoch → date
Values under 1,000,000,000,000 are treated as seconds when you paste; larger values use milliseconds.
UTC (ISO 8601)
-
Local (UTC)
-
Date → epoch
Seconds
-
Milliseconds
-
All conversions run in your browser. Timestamps and dates are not sent to any server.
What is a Unix timestamp?
A Unix timestamp (epoch time) is an integer count from 1970-01-01T00:00:00Z. Most systems store this as seconds or milliseconds and use it in logs, databases, APIs, and token claims.
The timestamp value represents one exact instant globally. What changes across regions is only the formatted display, such as UTC output versus your local timezone string.
Why use an epoch converter?
Raw epoch values are hard to read during incident debugging. Converting them quickly helps map events to deployments, alerts, cron jobs, and user activity timelines.
The reverse conversion is just as useful: pick a local date/time and copy epoch seconds or milliseconds for API requests, test fixtures, and database filters.
How to convert Unix time in this tool
Epoch to date: paste a numeric value, choose seconds or milliseconds, and read both UTC ISO-8601 output and your local timezone output. On paste, values below 1e12 are treated as seconds and larger absolute values as milliseconds.
Date to epoch: select a local datetime and copy both epoch seconds and epoch milliseconds. The Now button fills current values so you can grab a live timestamp instantly.
All parsing and formatting run in-browser with JavaScript Date APIs. Your inputs are not sent to a server.
Seconds vs milliseconds (quick checks)
10-digit values are typically Unix seconds, while 13-digit values are usually milliseconds. Mixing them shifts dates by about 1,000x and is one of the most common timestamp debugging mistakes.
Epoch zero is 1970-01-01T00:00:00.000Z and negative values represent dates before 1970. JavaScript Date.now() returns milliseconds, while many server-side APIs return seconds.
Year 2038 and privacy notes
The Year 2038 issue affects systems using signed 32-bit seconds. Modern stacks usually avoid this with wider integer types, but older software may still require checks.
This converter is browser-only. Timestamps and date inputs stay on your device and are not stored after you leave the page.
Frequently asked questions
How do I convert a Unix timestamp to a readable date format?
Paste the value into Epoch → date. The converter auto-detects seconds versus milliseconds on paste and shows both UTC ISO output and your local time output. You can also switch units manually if needed.
What is the difference between Unix seconds and milliseconds?
Both represent elapsed time since the Unix epoch, but in different units. Seconds are usually 10 digits and milliseconds are usually 13 digits. If you interpret milliseconds as seconds (or the reverse), the date shifts by roughly 1,000x.
Are Unix timestamps always in UTC?
A Unix timestamp is a timezone-agnostic instant counted from the UTC epoch. The number is global; only the display layer changes between UTC and local timezone formats.
How do I get the current Unix timestamp quickly?
Use the Now button in this converter to fill current values immediately. In code, JavaScript uses `Math.floor(Date.now() / 1000)` for seconds and `Date.now()` for milliseconds; many backend runtimes expose similar helpers.
How do I convert a date back to epoch seconds or milliseconds?
Open the Date → epoch section, pick your local datetime, and copy either Seconds or Milliseconds output. This is useful for test payloads, SQL filters, and scheduling APIs that require epoch input.
What is the Year 2038 problem (Y2K38)?
Legacy systems that store Unix time as a signed 32-bit second count overflow on 19 January 2038 UTC, when the value passes 2,147,483,647 and wraps negative. That can make clocks look like 1901. Modern stacks usually use 64-bit integers; audit older databases, binaries, and embedded firmware if you still depend on 32-bit time_t.
Why does my converted time look different from another timezone?
The same epoch value renders differently across timezones because formatting applies local offsets and daylight-saving rules. Compare UTC outputs when you need a neutral baseline across environments.
Is it safe to paste sensitive log timestamps here?
Yes. All conversion runs in your browser. Log lines, raw epoch integers, and picked dates are not uploaded, transmitted, or stored on our servers.
Related tools
World time converter
Time zone converter and meeting planner to compare city times side by side and share a fixed schedule view.
Google SERP snippet preview
Google SERP simulator to test title tags, meta descriptions, and mobile truncation before publishing.
JSON-LD / Schema.org extractor
Extract JSON-LD from any public HTTPS page and review schema types in seconds.
Related reading

Analyze Git Repositories in GitHub Actions Using Gitingest

Teach AI Agents to Think From Multiple Angles with Six Thinking Hats Skill
