How to Use
- Choose Timestamp โ Date or Date โ Timestamp.
- Enter a value or pick a date; click Use Now if needed.
- Copy the format you need (ISO/RFC/Unix/Relative).
- Use the timezone panel to confirm local vs UTC display.
Core Features
- Convert timestamps to date-time and back in one click.
- Detect seconds vs milliseconds automatically to prevent unit mistakes.
- Output ISO 8601, RFC 2822, and Unix seconds/millis formats.
- Show human-friendly relative time like โ2 hours agoโ or โin 5 minutesโ.
- Compare the same instant across local, UTC, and custom offsets.
- Copy results instantlyโeverything stays local and private.
Related Tools
Secure JSON formatter: format, validate, and fix JSON locally. Beautify/minify, highlight errors, generate TypeScript or Zod, convert to XMLโprivate. Try now.
Free JSONPath tester and evaluator for API JSON. Extract matching nodes in real time, inspect paths, and copy JSON results while parsing stays local in your browser.
Convert JSON objects or arrays to CSV locally in your browser. Flatten fields, preview the result, then copy or download CSV without uploading data.
Convert CSV text or files to JSON arrays locally in your browser. Supports headers, comma/semicolon/tab delimiters, drag-and-drop files, copy, and download with no uploads.
Compare two JSON documents locally in your browser. Sort object keys for a semantic diff, ignore key-order noise, and mark added, removed, and modified fields without uploads.
Minify JSON into one line, remove indentation and line breaks, and compare original size, minified size, saved bytes, and saved percentage.
Free online JSON to TypeScript converter. Instantly generate TypeScript interfaces and types from your JSON payloads. 100% private, client-side code generation.
Convert YAML to formatted JSON locally in your browser. This developer tool supports live conversion, multi-document YAML, line-aware errors, copy, and JSON download without storing data.
Calculation Logic
- A Unix timestamp represents a UTC instant (timezone-agnostic).
Intl.DateTimeFormatrenders that instant in different timezones.- Relative output is computed from a delta and can be formatted via
Intl.RelativeTimeFormat.
FAQ
- Is it free?
- Yes.
- Is my input uploaded?
- No. Conversions run locally in your browser.
- How do I get โ2 hours agoโ style output?
- Enable relative output and weโll compute the delta automatically.
- Why do timestamps look different across timezones? (Technical)
- The timestamp is a fixed UTC instant; only the display timezone changes. Compare local vs UTC to verify.
- How do I avoid seconds vs milliseconds confusion?
- Turn on auto-detect so the tool infers units from length and range.