OnlineFreeTools.org
  • Home
  • Image editing tools
    • Add Text Watermark to Photo — Local Browser Tool
    • Extract Colors from Image — Palette & Click Pick
    • Flip Image — Mirror Horizontally or Vertically
    • Add Border to Image — Color & Width Online
    • Image Compressor — Resize, Quality & Target Size Local
    • Crop & Resize Image — Local Aspect Presets
    • Photo EXIF Viewer & Remover — GPS, Camera & Local Strip
    • Image Format Converter — PNG JPEG WebP AVIF BMP GIF ICO SVG
    • Convert Image to Grayscale — Black & White Online
    • Merge Images — Combine Photos into One Collage
    • Image Optimizer — WebP, AVIF & MozJPEG Local
    • Overlay Images — Put a Logo on a Photo
    • Image to Base64 Converter — Encode & Decode Locally
    • Images to GIF — Make an Animated GIF Locally
    • Images to PDF — Combine Photos into One File
    • Images to PowerPoint — Photos to PPTX Slides
    • Images to Word — Build a DOCX from Photos
    • PDF Page to Image Sizes — Multi-Size Export Pack
    • PDF to JPG — Convert Pages to Images in Your Browser
  • Design tools
    • Generate Brand Color Scale — 50–950 Palette & CSS Tokens
    • Brand Style Guide — Generate a Modular Draft You Can Edit
    • Smart Website Color Scheme — Semantic CSS Tokens
    • WCAG Contrast Checker — AA/AAA Ratio Online
  • PDF tools
    • Compress PDF — Shrink File Size in Your Browser
    • Crop PDF — Trim Page Margins in Your Browser
    • Merge PDF — Combine Files in Your Browser
    • Organize PDF — Reorder or Remove Pages in Your Browser
    • Add Page Numbers to PDF — In Your Browser
    • PDF to Markdown — Extract Text for Notes in Your Browser
    • PDF Watermark — Stamp Text on Every Page in Your Browser
    • Protect PDF — Password-Encrypt in Your Browser
    • Rotate PDF — Fix Page Orientation in Your Browser
    • Split PDF — Extract Pages Locally
    • Unlock PDF — Remove Password You Already Know
  • Developer tools
    • Add WWW to DNS — A/CNAME, Apex Rules & Provider Guides
    • Base64 Encode & Decode — Convert Text in Your Browser
    • CSV ↔ JSON Converter — Types, Delimiters & Local
    • Domain Lookup — Check DNS Records & Registration Online
    • File Hash Checker — Verify Digests in Your Browser
    • HTML Entity Encoder & Decoder — Escape, Unescape & Local
    • IndexNow — Bing URL Submit, Key Check & Status Codes
    • What Is My IP Address — See Your Public IP (IPv4 or IPv6)
    • JSON Schema Validator — Draft-07 Paths & Local
    • JWT Decoder — Read Header & Payload Locally (No Verify)
    • Markdown ↔ HTML Converter — Sanitize & Preview
    • Random Password Generator — Create Passwords Locally
    • Compare Two Texts Online — Text Diff Checker
    • Time Zone Converter — Compare One Moment Worldwide
    • Unix Timestamp Converter — Epoch ↔ Readable Time
    • UUID & ULID Generator — Create IDs in Your Browser
    • Check HTTP Response Headers Online
    • YAML ↔ JSON Converter — Types, Multi-doc & Local
  • Calculators
    • BMI Calculator — How to Calculate Body Mass Index
    • Gradient Calculator — Multivariable ∇f (Partial Derivatives)
    • How to Calculate Marginal Revenue — MR Calculator (ΔTR / ΔQ)
    • Percentage Change Calculator — From Old Value to New
    • ROI Calculator — How to Calculate Return on Investment
    • Square Feet to Square Meters — Area Converter for Homes & Renovation
  • English
  • 中文
  • Español
  • العربية
  • Português
  • Bahasa Indonesia
  • Français
  • 日本語
  • Русский
  • Deutsch

Tools

Add Text Watermark to Photo — Local Browser ToolAdd WWW to DNS — A/CNAME, Apex Rules & Provider GuidesBase64 Encode & Decode — Convert Text in Your BrowserGenerate Brand Color Scale — 50–950 Palette & CSS TokensBrand Style Guide — Generate a Modular Draft You Can EditExtract Colors from Image — Palette & Click PickCompress PDF — Shrink File Size in Your BrowserCrop PDF — Trim Page Margins in Your BrowserCSV ↔ JSON Converter — Types, Delimiters & LocalDomain Lookup — Check DNS Records & Registration OnlineFile Hash Checker — Verify Digests in Your BrowserFlip Image — Mirror Horizontally or VerticallyBMI Calculator — How to Calculate Body Mass IndexGradient Calculator — Multivariable ∇f (Partial Derivatives)How to Calculate Marginal Revenue — MR Calculator (ΔTR / ΔQ)Percentage Change Calculator — From Old Value to NewROI Calculator — How to Calculate Return on InvestmentHTML Entity Encoder & Decoder — Escape, Unescape & LocalAdd Border to Image — Color & Width OnlineImage Compressor — Resize, Quality & Target Size LocalCrop & Resize Image — Local Aspect PresetsPhoto EXIF Viewer & Remover — GPS, Camera & Local StripImage Format Converter — PNG JPEG WebP AVIF BMP GIF ICO SVGConvert Image to Grayscale — Black & White OnlineMerge Images — Combine Photos into One CollageImage Optimizer — WebP, AVIF & MozJPEG LocalOverlay Images — Put a Logo on a PhotoImage to Base64 Converter — Encode & Decode LocallyImages to GIF — Make an Animated GIF LocallyImages to PDF — Combine Photos into One FileImages to PowerPoint — Photos to PPTX SlidesImages to Word — Build a DOCX from PhotosIndexNow — Bing URL Submit, Key Check & Status CodesWhat Is My IP Address — See Your Public IP (IPv4 or IPv6)JSON Schema Validator — Draft-07 Paths & LocalJWT Decoder — Read Header & Payload Locally (No Verify)Markdown ↔ HTML Converter — Sanitize & PreviewMerge PDF — Combine Files in Your BrowserOrganize PDF — Reorder or Remove Pages in Your BrowserRandom Password Generator — Create Passwords LocallyAdd Page Numbers to PDF — In Your BrowserPDF Page to Image Sizes — Multi-Size Export PackPDF to JPG — Convert Pages to Images in Your BrowserPDF to Markdown — Extract Text for Notes in Your BrowserPDF Watermark — Stamp Text on Every Page in Your BrowserProtect PDF — Password-Encrypt in Your BrowserRotate PDF — Fix Page Orientation in Your BrowserSmart Website Color Scheme — Semantic CSS TokensSplit PDF — Extract Pages LocallySquare Feet to Square Meters — Area Converter for Homes & RenovationCompare Two Texts Online — Text Diff CheckerTime Zone Converter — Compare One Moment WorldwideUnix Timestamp Converter — Epoch ↔ Readable TimeUnlock PDF — Remove Password You Already KnowUUID & ULID Generator — Create IDs in Your BrowserWCAG Contrast Checker — AA/AAA Ratio OnlineCheck HTTP Response Headers OnlineYAML ↔ JSON Converter — Types, Multi-doc & Local

Unix Timestamp Converter — Epoch ↔ Readable Time

Convert Unix timestamps to UTC and local datetimes, or pick a local datetime to get epoch seconds or milliseconds. Steps: paste a timestamp or choose a date, pick seconds or milliseconds, then copy. Example: 1516239022 → 2018-01-18T01:30:22.000Z plus your local equivalent. Nothing is uploaded.

Unit

        

        

      

How it works

Timestamp → Date: paste a numeric epoch; we detect seconds vs milliseconds when possible and show UTC ISO time plus a local formatted string. Date → Timestamp: pick a datetime-local value (interpreted in your browser timezone) and output seconds or milliseconds. All conversion stays local.

Rules you should expect

Rules for epoch values, unit detection, timezone interpretation, and safe numeric limits.

  • Epoch zero is 1970-01-01T00:00:00.000Z. Negative timestamps are before 1970. Seconds fit in ~10 digits; milliseconds need ~13.
  • Auto-detect: ≥13 digits or absolute value >1e12 → milliseconds; ≤10 digits → seconds. You can override with the unit toggle.
  • datetime-local input has no timezone suffix — the browser treats it as local wall time. UTC output always uses ISO 8601 with Z.
  • Privacy: no upload. Uses native Date and Intl only. For named time zones beyond local, see the timezone converter in Related tools when available.

Example

Timestamp → Date (seconds): 1516239022 → UTC 2018-01-18T01:30:22.000Z and your browser local time. Date → Timestamp: pick 2018-01-18 09:30 local → seconds or ms per unit toggle.

Good fits

  • Developers: decode epoch values from API responses, webhooks, or server logs.
  • JWT debugging: convert exp / iat numeric claims to readable dates (pair with JWT decoder).
  • Ops / analytics: quickly check whether a 10- or 13-digit field is seconds or milliseconds.

Frequently asked questions

Seconds or milliseconds?

Unix time is usually seconds since 1970-01-01 UTC. JavaScript and many APIs use milliseconds (13 digits). Ten-digit values are treated as seconds; thirteen-digit (or >1e12) values auto-switch to milliseconds.

What is the difference between UTC and local?

UTC is the same instant worldwide (ISO 8601 with Z). Local uses your browser timezone and locale formatting — handy when logs show UTC but you think in local time.

What does the Now button do?

Now fills the current epoch value (seconds or ms per your unit toggle) or the current local datetime, then converts immediately.

Are there range limits?

JavaScript Date supports roughly ±100 million years in milliseconds. Values outside that range show an error instead of a wrong date.

Related tools

  • Time Zone Converter — Compare One Moment Worldwide
  • JWT Decoder — Read Header & Payload Locally (No Verify)

Share this tool

Share on social networks, copy the page link, or use your device share sheet.

XFacebookLinkedInRedditWhatsAppTelegram

https://onlinefreetools.org/tools/unix-timestamp

Questions or feedback

Something unclear, broken, or missing? Draft a message below — we read every note about these tools.

Email: dailyonetools@outlook.com

References

  • Wikipedia — Unix time
  • MDN — Date
OnlineFreeTools.org · Learning project · Iterating
About·Dev Logs·Privacy·Terms·Contact