Skip to content
Arteon - company logo
#MadeWithNext.js
Arteon logo

Free tools for web developers, designers, and marketers.

Tools

  • Online image editor
  • Favicon generator
  • Meta title & description checker
  • Word & character counter
  • Lorem Ipsum Generator
  • Email signature generator
  • Color contrast checker
  • Image color extractor
  • Color palette generator

Tools

  • Free QR code generator
  • pt to px
  • rem to px
  • em to px
  • cm to px
  • px to cm
  • mm to px
  • inches to px
  • DPI to PPI

Tools

  • HEX to RGB
  • RGB to CMYK
  • bytes to KB/MB/GB
  • Unix to date
  • DEC to BIN
  • DEC to HEX
  • Mbps to MB/s
  • JPG to WebP
  • PNG to WebP

Tools

  • WebP to JPG
  • WebP to PNG
  • PNG to JPG
  • JPG to PNG
  • SVG to PNG
  • BMP to JPG
  • JPG to AVIF
© 2025 Arteon. All rights reserved.

Privacy Policy

Terms of Service

#MadeWithNext.js

Convert Unix timestamp to date – epoch converter

Paste any Unix timestamp and see the exact UTC date — or enter a date to get its epoch value for APIs, logs, and database queries.

  1. /Tools
  2. /Unix timestamp
Loading tool editor...
Unix timestamp converter – Arteon

When do you need to convert Unix timestamps?

Unix timestamp (epoch time) is the number of seconds since January 1, 1970, 00:00:00 UTC. It is the standard time representation in programming, databases, APIs, and log files.

Example: 1700000000 = November 14, 2023, 22:13:20 UTC. The current timestamp increases by 1 every second.

Converting timestamps is essential for developers working with APIs, debugging log files, analyzing database records, and understanding time-based data.

All calculations run locally in your browser — nothing is sent to any server.

How to use the converter?

  1. 1. Enter a value

    Type a number in the input field. You can use a period or comma as the decimal separator.
  2. 2. Read the result

    The conversion result appears instantly in the field next to it – no clicking required.
  3. 3. Copy or reverse

    Click Copy result or use the Reverse button to convert in the opposite direction.

When is this converter useful?

  1. Databases and ORMs

    PostgreSQL, MySQL, and MongoDB store created_at and updated_at as Unix timestamps. When you query records and see a raw integer like 1700000000, this converter tells you it means November 14, 2023 at 22:13 UTC — so you can confirm whether your migration ran at the right time.
  2. JWT Tokens and OAuth

    JSON Web Tokens include an exp (expiration) field stored as a Unix timestamp. When a user reports being unexpectedly logged out, paste the exp value here to confirm exactly when the token expired. Also useful for iat (issued at) and nbf (not before) claims in OAuth flows.
  3. AWS CloudWatch and Server Logs

    AWS CloudWatch, nginx access logs, and systemd journals log events with epoch timestamps. Pasting a raw number from a CloudWatch Logs Insights query instantly shows you the human-readable time — critical when correlating a Lambda cold start with a downstream API failure.
  4. Stripe, PayPal, and GitHub APIs

    Stripe payment objects include created, current_period_start, and current_period_end as Unix timestamps. GitHub API responses use created_at in ISO 8601, but webhook payloads often include raw epoch values. Converting them lets you verify subscription renewal dates or audit webhook delivery timing.
ADVERTISEMENT

What makes this converter different?

  1. Complete privacy

    All calculations run locally in your browser. No data is sent to any server.
  2. Real-time results

    The result updates instantly as you type – no need to click any button.
  3. Bidirectional conversion

    The Reverse button lets you convert in both directions with one click.
  4. Reference table

    A ready-made table with commonly converted values and contextual descriptions.

How do Unix timestamps work?

Unix time counts seconds from the epoch: January 1, 1970, 00:00:00 UTC. This date was chosen as a convenient reference point for the original Unix operating system.

Timestamps can be in seconds (10 digits: 1700000000) or milliseconds (13 digits: 1700000000000). JavaScript Date uses milliseconds.

The Year 2038 problem: 32-bit signed integers overflow on January 19, 2038. Most modern systems use 64-bit timestamps to avoid this.

Practical tips

  • JavaScript: Date.now() returns milliseconds. Math.floor(Date.now()/1000) for seconds.
  • Python: import time; time.time() returns seconds as float.
  • PHP: time() returns seconds as integer.
  • MySQL: UNIX_TIMESTAMP() and FROM_UNIXTIME() for conversion.
ADVERTISEMENT

Timestamp formats

FeatureUnix (seconds)Unix (milliseconds)
Digits10 digits13 digits
Example17000000001700000000000
Used byPHP, Python, MySQLJavaScript, Java
Precision1 second1 millisecond
Max (32-bit)Jan 19, 2038N/A (uses 64-bit)

Explore other unit converters

pt to pxrem to pxem to pxcm to pxpx to cmmm to pxinches to pxDPI to PPIHEX to RGBRGB to CMYKbytes to KB/MB/GBDEC to BINDEC to HEXMbps to MB/s

Frequently asked questions

What is the current Unix timestamp?

It changes every second. In JavaScript: Math.floor(Date.now()/1000) returns the current epoch in seconds. Date.now() returns milliseconds. In Python: import time; int(time.time()) gives seconds. In Bash: date +%s.

What is epoch time?

Epoch (or Unix time) is the number of seconds elapsed since January 1, 1970, 00:00:00 UTC — the reference point chosen when Unix was designed. It is timezone-independent, which makes it ideal for storing dates in databases and APIs.

How do I get a timestamp in JavaScript?

Seconds: Math.floor(Date.now() / 1000). Milliseconds: Date.now(). From a specific date string: new Date('2024-01-01').getTime() / 1000. To convert a timestamp back: new Date(1700000000 * 1000).toISOString() returns '2023-11-14T22:13:20.000Z'.

How does Python handle Unix timestamps?

import time; time.time() returns a float with sub-second precision. int(time.time()) is the standard integer seconds form. datetime.fromtimestamp(1700000000) converts to a local datetime object. datetime.utcfromtimestamp() converts to UTC without timezone info.

What is the Year 2038 problem?

32-bit signed integers can store timestamps up to 2,147,483,647, which corresponds to January 19, 2038, 03:14:07 UTC. After that, they overflow to a negative number. Modern systems and databases use 64-bit integers, which extend the range to the year 292 billion.

How are timestamps used in Stripe and PayPal?

Stripe stores all dates as Unix timestamps: the created, current_period_start, and current_period_end fields on subscription and invoice objects are epoch seconds. PayPal webhook payloads include create_time in ISO 8601, but event data fields are often Unix. Converting them helps audit payment timing and GDPR retention windows.

What is a JWT exp timestamp?

The exp (expiration) claim in a JSON Web Token is a Unix timestamp in seconds. When a user reports being logged out unexpectedly, decode the JWT (base64) and convert the exp value here to confirm the exact expiry time. The iat (issued at) and nbf (not before) claims are also Unix timestamps.

Are calculations done locally?

Yes. All calculations run in your browser. No data is sent to any server.

Help us improve our tools

Have an idea, found a bug, or want to suggest a feature? Drop us a message – we respond within 24 hours.

Unix timestamp to date converter – Arteon
ADVERTISEMENT

Explore more free tools

See all tools
JPG to WebP

JPG to WebP

Convert JPG photos to lightweight WebP. Cut image weight by up to 35%.

Open tool
Online image editor

Online image editor

Resize, crop and convert your image. Ready-made formats for social media, circular avatars, export to JPG/PNG/WebP.

Open tool
Meta title & description checker

Meta title & description checker

Check title and description length in pixels. Live Google preview and optimization tips.

Open tool
PNG to JPG

PNG to JPG

Convert PNG files to JPG in your browser. No file limits, no signup, no server uploads.

Open tool
Favicon generator

Favicon generator

Create a complete favicon.ico set for your website from one image. All required sizes, no login.

Open tool
Color palette generator

Color palette generator

Generate 9 palettes from one color: monochromatic, complementary, triadic and more. HEX codes.

Open tool
WebP to JPG

WebP to JPG

Convert WebP files to universally compatible JPG. Works in every app and platform.

Open tool
Color contrast checker

Color contrast checker

Check text and background contrast per WCAG 2.1 AA and AAA. Automatic color correction.

Open tool
Free QR code generator

Free QR code generator

Create a QR code for a website, vCard business card or print. Export PNG and SVG, no registration.

Open tool
Word & character counter

Word & character counter

Count words, characters, sentences and reading time. Change letter case and format text in one click.

Open tool