LogoTOOLGENIE

Epoch Converter β€” Unix Timestamp to Date Online

Free Unix timestamp converter: convert epoch time to a human-readable UTC/local date, or convert a date back to epoch seconds and milliseconds. Runs in your browser β€” no signup required.

Epoch to Human-Readable

Human-Readable to Epoch

Batch Unix Timestamp Converter

Paste up to 500 timestamps (one per line). Conversion stays in your browser.


How to Use the Epoch Converter

  1. Paste a Unix timestamp into the epoch field. The converter accepts seconds, milliseconds, microseconds, and nanoseconds and updates as you type.
  2. Use Use Now for the live Unix clock, then Copy any format (ISO, RFC 2822, local, relative).
  3. To convert a date back to Unix time, enter an ISO-style date such as 2026-08-06T13:00:00 or use a format preset chip.
  4. Paste many timestamps into the batch box (one per line) and copy CSV results, or click Copy share link for a URL with ?epoch= / ?date= prefilled.

About the Unix Timestamp / Epoch Converter

An epoch converter switches between Unix timestamps and human-readable dates β€” essential for debugging APIs, reading logs, and checking database time fields. Unix time (also called POSIX time) counts from 00:00:00 UTC on 1 January 1970.

This free tool runs in your browser and shows both UTC/GMT and your local zone so you can catch timezone mistakes quickly. For city comparisons and meeting planning, use the World Time Zone Converter. For day spans, try the Date Difference Calculator.

Seconds vs Milliseconds: How to Tell Them Apart

Current Unix times in seconds are usually about 10 digits (for example 1722902400). JavaScript's Date.now() returns milliseconds β€” usually about 13 digits. Mixing them up is the most common timestamp bug.

  • If a seconds value is treated as milliseconds, you often get a date near January 1970.
  • If milliseconds are treated as seconds, you may see a date thousands of years in the future.
  • This converter auto-detects seconds, milliseconds, microseconds, and nanoseconds before displaying the date.

Unix Timestamp Cheatsheet (Durations & Code)

DurationSecondsMilliseconds
1 minute6060,000
1 hour3,6003,600,000
1 day86,40086,400,000
1 week604,800604,800,000
  • JavaScript: Date.now() β†’ ms; Math.floor(Date.now()/1000) β†’ seconds; new Date(ms) β†’ Date.
  • Python: import time; time.time() β†’ seconds; datetime.utcfromtimestamp(s).
  • SQL (example): SELECT FROM_UNIXTIME(1700000000);
  • Shell: date +%s β†’ current epoch seconds.

Frequently Asked Questions (FAQ)

1. What is a Unix epoch / Unix timestamp?

Unix time counts the seconds (or milliseconds) since 00:00:00 UTC on 1 January 1970 β€” the Unix epoch. Systems, APIs, and databases often store dates as these integers because they are compact and easy to compare.

2. How do I convert a Unix timestamp to a date?

Paste the timestamp into the epoch field and click Convert. ToolGenie accepts seconds, milliseconds, microseconds, or nanoseconds and shows GMT/UTC time, your local time, and relative time such as β€œ3 hours ago”.

3. How do I convert a date to a Unix timestamp?

Enter an ISO-style date such as 2026-08-06T12:00:00 in the date field and click Convert. You will get the epoch in both seconds and milliseconds, plus GMT and local displays.

4. What's the difference between seconds and milliseconds timestamps?

Seconds timestamps are usually 10 digits (for current dates). Milliseconds β€” common in JavaScript Date.now() β€” are usually 13 digits. Microseconds and nanoseconds are even longer. This converter detects the unit automatically.

5. How do I know if my timestamp is in seconds or milliseconds?

Count the digits: ~10 digits β‰ˆ seconds, ~13 β‰ˆ milliseconds. If a β€œseconds” value is treated as milliseconds you may see a date near January 1970; if milliseconds are treated as seconds you may see a date far in the future.

6. Why does my timestamp show January 1970?

Usually the value was near zero, empty, or interpreted in the wrong unit (for example, treating a small seconds value as milliseconds). Confirm the unit and try converting again.

7. Is Unix time the same as UTC?

Unix time is defined from the UTC epoch moment, but the integer itself is timezone-agnostic. Converting it to a clock reading requires choosing UTC/GMT or a local zone β€” this tool shows both.

8. What is the Year 2038 problem?

On systems that store Unix time as a signed 32-bit integer, the maximum representable second overflows on 19 January 2038. Modern 64-bit systems and millisecond timestamps avoid that limit for practical dates.

9. How do I get the current Unix timestamp?

Open this page and leave the default epoch field (it prefills with the current time), or call Date.now() in JavaScript for milliseconds and Math.floor(Date.now()/1000) for seconds.

10. Can I share a specific timestamp conversion?

Yes. Click Copy share link near the converter results to copy a URL with utm_source=share that reopens the same epoch or date conversion β€” for example /epoch-converter?epoch=1700000000. The clean canonical URL stays /epoch-converter for search engines.

11. Does sharing an epoch link expose private data?

The share link only includes the timestamp or date you entered β€” not batch paste contents. Avoid sharing links that contain sensitive event times if the moment itself is confidential.

Tips for Using the Epoch Converter

  • Check digit length before converting β€” 10 digits usually means seconds; 13 usually means milliseconds.
  • Compare GMT and local time when debugging timezone-sensitive bugs.
  • Use Copy share link for a ready-to-send URL with a prefilled ?epoch= or ?date= parameter (plus utm_source=share).
  • Plan across cities with the World Time Zone Converter instead of converting each zone by hand.
  • Use the Timer and Stopwatch when you need countdown timing rather than timestamp conversion.
  • Embed this converter on docs or engineering wikis with the iframe embed snippets.