Unix Timestamp Converter
Convert Unix timestamps to human dates (UTC, local, ISO 8601) and back — instantly, in your browser.
Privacy: your files never leave your device. All processing happens locally in your browser.
How to use
- 1.To decode a timestamp, paste the Unix value into the "Timestamp → Date" field and pick Seconds or Milliseconds.
- 2.Read the results: ISO 8601 and UTC are timezone-independent; "Local time" reflects your device timezone; "Relative" shows the distance from now.
- 3.To go the other way, type or paste a date (e.g. 2023-11-14T22:13:20Z) into the "Date → Timestamp" field to get the epoch value in both seconds and milliseconds.
About Unix Timestamp Converter
A Unix timestamp is the number of seconds elapsed since the Unix epoch — 1970-01-01T00:00:00Z (UTC). It's the timekeeping backbone of almost every system you touch: server logs, API responses, database rows, JWT expiry claims, cron jobs, and Git commits all store time as a plain integer counting up from that 1970 midnight in Greenwich. Because it's just a number with no timezone attached, it's compact, sortable, and unambiguous — but impossible to read at a glance. This converter bridges that gap in both directions, entirely in your browser.
Parse a timestamp and you'll see four views at once: ISO 8601 (2023-11-14T22:13:20.000Z), a readable UTC string, your own local time, and a relative label like "3 hours ago" or "in 2 days." Go the other way and paste any date — an ISO 8601 string, a plain "2023-11-14 22:13:20 UTC," or a natural date — to get back the exact epoch value in both seconds and milliseconds.
One detail trips up developers constantly: seconds versus milliseconds. Unix time is defined in seconds, but JavaScript's Date, Java's System.currentTimeMillis(), and many APIs work in milliseconds — 1000× larger. A 10-digit number is almost always seconds; a 13-digit number is milliseconds. This tool auto-detects by digit count and lets you override the unit, so you never accidentally land in the year 55000 because you fed milliseconds into a seconds field.
There's also the famous Year 2038 problem: systems that store Unix time in a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038, wrapping around to 1901. Modern platforms use 64-bit integers and are safe for billions of years, but the bug still lurks in legacy embedded and database code — which is exactly why being able to eyeball what a raw timestamp actually means is a daily debugging necessity.
Every conversion here is computed locally with the platform Date object and explicit UTC formatting, so nothing is uploaded and your data never leaves the page. It's built for exactly the moments you're staring at a log line, an API payload, or a DB column and need to know what time it really is.
Methodology & sources
Unix time = seconds since the Unix epoch 1970-01-01T00:00:00Z; conversions use the platform Date with explicit UTC formatting (ISO 8601).
Frequently asked questions
- What is a Unix timestamp?
- It's the number of seconds that have elapsed since the Unix epoch, 1970-01-01T00:00:00Z (UTC). It has no timezone of its own, which makes it a compact, unambiguous way to store a moment in time across logs, APIs, and databases.
- How do I know if my number is in seconds or milliseconds?
- Count the digits. A current timestamp in seconds is about 10 digits; in milliseconds it's about 13 digits (1000× larger). This tool auto-detects based on length, and you can override the unit with the Seconds/Milliseconds selector if needed.
- What is the Year 2038 problem?
- Systems that store Unix time in a signed 32-bit integer overflow at 03:14:07 UTC on 19 January 2038 and wrap back to 1901. 64-bit systems are unaffected. Modern browsers use 64-bit doubles, so this converter handles dates far beyond 2038 correctly.
Related tools
- JSON FormatterFormat, minify, and validate JSON in your browser — pretty-print or compress with pinpoint error locations.
- UUID GeneratorGenerate cryptographically random RFC 4122 v4 UUIDs in bulk — copy one or all, in your browser.
- Subnet CalculatorEnter an IP and CIDR prefix or subnet mask to instantly get network, broadcast, host range, and mask details.
- ANSI Color Codes GeneratorBuild and copy raw SGR escape sequences and search the standard 8 plus bright 8 terminal color codes.
- ASCII TableLook up every standard 7-bit ASCII code with exact decimal, hexadecimal, octal, and binary values.
- Badge GeneratorBuild a Shields.io badge URL, Markdown snippet, and HTML image tag without memorizing path escapes or query parameters.
Developer Tools guides
View all- Convert Unix Timestamp to Date in JavaScript
- How to Convert a Unix Timestamp in SQL Queries
- Convert XML to JSON for OIC: A Local Browser Workflow
- Convert XML to CSV File Without Uploading It
- Format XML in IntelliJ IDEA: Shortcuts and Browser Option
- VS Code Keyboard Shortcuts: Defaults Compared by Platform
- How to Generate a UUID in Oracle: Functions Compared
- How to Parse a URL in Node.js With the Built-in URL Class
- Decode a ULID Timestamp Without an API Call
- Convert Text to HTML Paragraphs in Bulk Without a Server
- Turn an HTML Table into JSON for Power Automate
- How to Join Two Excel Sheets in Excel: Methods Compared
- Encode SVG to Base64: UTF-8 Data URL Workflow
- How to Calculate Subnet Block Size: Formula and CIDR Table
- How to Parse Query Params Without Breaking Signatures
- Does the Quartz Cron Expression Use Your Browser Time Zone?
- Is a PX to REM Converter Safe to Use Online? Privacy
- Properties to JSON: Escape Rules and Duplicate Key Handling
- How to Look Up PowerPoint Shortcuts on Windows or Mac
- Flip Canvas in Photoshop: Keyboard Shortcut Setup