Unix Timestamp Converter
Convert Unix timestamps to human-readable dates and back. Supports seconds and milliseconds, UTC, local time, ISO 8601, and relative time — all live in your browser.
Timestamp → Date
Date → Timestamp
Why Use PixConvert Timestamp Converter
The fastest way to decode Unix timestamps and generate epoch values — no mental math required.
Auto-Detect Seconds vs Milliseconds
Paste any Unix timestamp — the tool automatically detects whether it's in seconds or milliseconds and converts correctly.
Relative Time
See at a glance how long ago or how far in the future a timestamp is — '3 minutes ago', '2 years from now'.
UTC & Local Time
Every timestamp shows both UTC and your browser's local timezone so you never confuse the two.
Bidirectional Conversion
Convert timestamp → date and date → timestamp in the same tool. No tab switching.
ISO 8601 Output
Get the ISO 8601 string (2024-01-15T12:00:00.000Z) for use in APIs, databases, and logs.
100% Private
All conversion runs client-side in JavaScript. No data is ever sent to a server.
When You Need a Timestamp Converter
Unix timestamps appear everywhere in software — here's when you'll reach for this tool.
API Debugging
Decode timestamps from API responses and log files to understand event timing.
- Decode JWT expiry timestamps
- Read log file epoch values
- Check API response created_at fields
Database Work
Convert between human-readable dates and Unix timestamps for SQL queries and data exports.
- Generate WHERE clause timestamps
- Decode stored epoch values
- Convert dates for data migrations
Scheduling & Events
Check future event timestamps and calculate time differences for cron jobs and reminders.
- Verify scheduled job timing
- Check event expiry timestamps
- Debug timezone-related issues
How to Convert Timestamps
Paste a Unix timestamp (seconds or milliseconds) into the top input. The tool auto-detects the unit and shows UTC, local time, ISO 8601, and relative time instantly.
Use the 'Now' button to fill in the current time as a Unix timestamp — useful for generating fresh epoch values for API calls or database records.
Scroll to the Date → Timestamp section to convert a calendar date back to Unix time. Pick a date and time, and get both the seconds and milliseconds epoch values with one-click copy.
Explore More Tools
Discover other free tools that work great alongside this one
Unit Converter
Convert length, weight, temperature, and more
Currency Converter
Convert between 170+ currencies with live ECB rates
Word Counter
Count words, characters, sentences, and reading time
JSON Formatter
Format, validate, and minify JSON instantly
UUID Generator
Generate v4 UUIDs and ULIDs
Regex Tester
Test and debug regular expressions live
Frequently Asked Questions
Everything about Unix timestamps and epoch time.
What is a Unix timestamp?
A Unix timestamp (also called epoch time) is the number of seconds elapsed since January 1, 1970 00:00:00 UTC. It's a universal way to represent a point in time without timezone ambiguity, widely used in databases, APIs, logs, and programming languages.
How do I know if my timestamp is in seconds or milliseconds?
Timestamps in seconds are typically 10 digits (e.g. 1700000000). Timestamps in milliseconds are 13 digits (e.g. 1700000000000). This tool automatically detects the unit: if the value is greater than 10^10 it's treated as milliseconds, otherwise as seconds.
What is UTC vs local time?
UTC (Coordinated Universal Time) is the global time standard with no offset. Local time is UTC adjusted for your computer's timezone. Unix timestamps always represent a single UTC moment — the local time display is just that same moment shown in your timezone.
What is ISO 8601?
ISO 8601 is an international standard for representing dates and times. The format looks like '2024-01-15T12:00:00.000Z' — the T separates date from time, and the Z indicates UTC. It's the recommended format for JSON APIs, databases, and log files.
Why do some timestamps have 13 digits?
Millisecond-precision timestamps have 13 digits because they multiply the standard 10-digit second value by 1000. JavaScript's Date.now() returns milliseconds by default, which is why you'll often see 13-digit timestamps in web applications and browser APIs.