🚀 Smart Detect · Batch Convert

JSON Date Converter

Auto-detect date fields in JSON, convert to timestamp/ISO/UTC/local time
Paste JSON and convert instantly - the easiest way to debug API dates

6+Date Formats
100%Client-side
0Login Required

Use Cases

JSON日期Convert在开发调试中非常常见

🔧

API Debugging

Convert timestamps or ISO dates from backend to readable local time. Quickly verify API response values.

📊

Log Analysis

Batch convert timestamps in server logs to human-readable format. Quickly locate when issues occurred.

🔗

数据对接

不同系统的日期格式不统一时,批量ConvertJSON中的日期字段,快速完成数据格式统一。

📝

Documentation

Convert timestamps to readable dates for docs, or dates to timestamps for code examples.

怎么用JSON Date Converter

三步完成JSON日期格式Convert

1

Paste JSON

Paste JSON with date fields, or switch to single/batch mode

2

Auto Detect

工具Auto DetectISO 8601、时间戳、常见日期格式等6+种日期格式

3

一键Convert

All date fields converted to timestamp/ISO/UTC/local time, copy and use

❓ FAQ

Paste JSON内容到工具中,点击「智能Convert」,工具会Auto Detect所有日期格式的字段并转为Unix时间戳。支持ISO 8601、UTC、自定义格式等多种日期格式Auto Detect。
不同API返回的日期格式可能不同(ISO、时间戳、自定义格式),将整个JSON响应粘贴进来,工具会Auto Detect所有日期字段并统一Convert为你需要的格式。
Supports: ISO 8601 (2024-01-15T08:30:00Z), Unix timestamp (1705308600), millisecond timestamp (1705308600000), common date formats (2024-01-15, 2024/01/15 08:30:00), and more.
API通常返回UTC时间(零时区),北京时间是UTC+8,所以差8小时。工具会自动将UTC时间Convert为本地时区显示。
ISO 8601 is the international date-time standard, e.g. 2024-01-15T08:30:00.000Z, where T separates date and time, Z indicates UTC timezone. Most commonly used in APIs.
10位数字是秒级时间戳(如1705308600),13位数字是毫秒级(如1705308600000)。Java默认毫秒,Python/PHP默认秒。工具Auto Detect无需手动选择。
可以。Convert后的JSON保持原始结构不变,只替换日期字段的值。点击复制即可粘贴到代码或文档中使用。
Supports detecting Chinese date formats like "2024年1月15日", but output uses international standard formats for program compatibility.

📖 Date Format Quick Reference

  • ISO 8601: 2024-01-15T08:30:00.000Z — Standard API format, T separates date/time, Z = UTC
  • Unix Timestamp (sec): 1705308600 — Seconds since 1970-01-01, 10 digits
  • Unix Timestamp (ms): 1705308600000 — Milliseconds since 1970-01-01, 13 digits
  • UTC Format: Mon, 15 Jan 2024 08:30:00 GMT — Common in HTTP headers
  • 本地时间:2024-01-15 16:30:00 — 根据浏览器时区自动Convert
  • Relative Time: 2 hours ago, 3 days later — Great for end-user display