时间戳批量转换
UpBox优盒工具箱,免费时间戳批量转换工具,多行时间戳与日期一次互转,自动识别秒/毫秒,支持本地与 UTC,本地处理。
无需注册 · 数据不上传No sign-up · nothing uploaded
时间戳 / 日期列表Timestamps / dates
转换结果Result
有效0
无效0
粘贴多行时间戳或日期后自动转换
本工具所有运算在本地浏览器完成,你的文件、文本不会上传到服务器
工具介绍
批量时间戳转换一次处理整列时间戳:每行一条,自动识别 10 位秒与 13 位毫秒,同时给出本地时间与 UTC,方便核对日志与接口返回。 Batch timestamp conversion handles a whole column at once: one per line, auto-detecting 10-digit seconds and 13-digit milliseconds, and showing both local and UTC time for log and API checks.
反向也能把日期列表批量转成秒与毫秒时间戳,支持 `2026-11-13`、`2026-11-13 12:00:00` 等常见写法;无法识别的行会单独标出。 It also turns a list of dates into second and millisecond timestamps, accepting forms like `2026-11-13` and `2026-11-13 12:00:00`; unparsable lines are flagged.
- 多行批量处理Batch over many lines
- 秒 / 毫秒自动识别Auto second/ms detection
- 本地与 UTC 双输出Local and UTC output
- 逐行错误标记Per-line error marks
- 复制与 CSV 下载Copy and CSV download
使用说明
- 把时间戳或日期粘贴到左栏,每行一条,也支持逗号分隔。Paste timestamps or dates on the left, one per line; commas also work.
- 选择转换方向与本地 / UTC。Pick the direction and local or UTC.
- 需要时指定秒或毫秒,默认自动识别。Set seconds or milliseconds when needed; auto-detect is the default.
- 复制结果或下载 CSV 用于表格核对。Copy the result or download a CSV for spreadsheet checks.
常见问题
自动识别怎么判断单位?How does auto-detection work?
按整数位数:10 位按秒,13 位按毫秒处理;11–12 位会按毫秒判断,避免把远期日期算错。By digit count: 10 digits are seconds, 13 are milliseconds; 11–12 digits are treated as milliseconds to avoid misreading far-future dates.
为什么 UTC 与本地时间差 8 小时?Why do UTC and local time differ by 8 hours?
当前为中国标准时间 UTC+8,属正常时区偏移;切换“UTC”只影响日期按哪个时区解释。China Standard Time is UTC+8; the offset is expected. Switching to UTC only changes which zone dates are interpreted in.
能识别带时区的 ISO 时间吗?Are ISO strings with offsets supported?
`2026-11-13T12:00:00Z`、`+08:00` 这类标准写法会被直接解析,偏移量以字符串为准。Standard forms such as `2026-11-13T12:00:00Z` and `+08:00` are parsed directly, honouring the offset in the string.
支持多少行?How many lines are supported?
几千行以内可即时处理;纯文本解析不涉及网络请求。Several thousand lines convert instantly, and parsing involves no network request.