Unix Timestamp Converter
Convert date/time to Unix epoch seconds or milliseconds, and convert timestamps back to readable dates (UTC or local).
Use either section, then click Convert.
Tool description
A Unix timestamp (epoch time) is the number of seconds (or milliseconds) since 1970-01-01 00:00:00 UTC. This tool converts both directions and shows ISO output for reliable logs and APIs.
How to use
- Pick a conversion direction (date → timestamp or timestamp → date).
- Choose whether your input should be interpreted as local time or UTC.
- Convert, then copy the output you need.
Why it’s useful
- Debug API payloads and logs quickly.
- Convert scheduling data and expiry times.
- Standardize times across time zones.
Use cases & interpretation
- APIs: many endpoints use epoch seconds in JSON.
- Databases: timestamps often stored as integer milliseconds.
- Ops: correlate log lines across services using ISO UTC.
FAQs
Many APIs use seconds, while JavaScript uses milliseconds internally (
Date.getTime()). Always verify the unit used by your system.
Local time includes your time zone offset (and daylight saving time rules). UTC is the same everywhere and is best for logs and interchange.
Other tools in this category
Base64 Converter
Encode/decode Base64 safely (Unicode-friendly) with copy and reset.
iFrame Generator New
Generate a safe, copy-ready HTML iframe snippet with optional sandboxing and preview.
JSON Formatter New
Format, minify, and optionally sort JSON keys with clear errors and copy buttons.
Number Base Converter New
Convert integers between bases (binary, octal, decimal, hexadecimal, base36) with BigInt support.
Regex Tester New
Test regular expressions with flags, view matches/groups, and preview replacements.
URL Encoder/Decoder New
Encode or decode URLs and components with options for query-string plus spacing.
UUID Generator New
Generate UUID version 4 values in bulk with copy and formatting options.
Lorem Ipsum Generator New
Generate Lorem Ipsum placeholder text by words, sentences, or paragraphs with copy and reset.
Encode/decode Base64 safely (Unicode-friendly) with copy and reset.
iFrame Generator New
Generate a safe, copy-ready HTML iframe snippet with optional sandboxing and preview.
JSON Formatter New
Format, minify, and optionally sort JSON keys with clear errors and copy buttons.
Number Base Converter New
Convert integers between bases (binary, octal, decimal, hexadecimal, base36) with BigInt support.
Regex Tester New
Test regular expressions with flags, view matches/groups, and preview replacements.
URL Encoder/Decoder New
Encode or decode URLs and components with options for query-string plus spacing.
UUID Generator New
Generate UUID version 4 values in bulk with copy and formatting options.
Lorem Ipsum Generator New
Generate Lorem Ipsum placeholder text by words, sentences, or paragraphs with copy and reset.
Encode/decode Base64 safely (Unicode-friendly) with copy and reset.
iFrame Generator New
Generate a safe, copy-ready HTML iframe snippet with optional sandboxing and preview.
JSON Formatter New
Format, minify, and optionally sort JSON keys with clear errors and copy buttons.
Number Base Converter New
Convert integers between bases (binary, octal, decimal, hexadecimal, base36) with BigInt support.
Regex Tester New
Test regular expressions with flags, view matches/groups, and preview replacements.
URL Encoder/Decoder New
Encode or decode URLs and components with options for query-string plus spacing.
UUID Generator New
Generate UUID version 4 values in bulk with copy and formatting options.
Lorem Ipsum Generator New
Generate Lorem Ipsum placeholder text by words, sentences, or paragraphs with copy and reset.