Toolbox

Online DateTime Converter

Date ConvertTimestampFormatBatch

Convert dates between YYYY-MM-DD, YYYY/MM/DD, MM-DD-YYYY, ISO 8601, timestamp (s/ms), YYYYMMDD and more. Custom output format with YYYY/MM/DD/HH/mm/ss tokens, batch line-by-line conversion, all local processing.

Auto detect handles common formats and timestamps

Tokens: YYYY YY MM DD HH mm ss SSS · Now preview:

All processing is done locally, no upload
Input (one per line, batch)
Result
Converted result will appear here

Format Tokens

YYYY 4-digit yearYY 2-digit yearMM Month 01-12DD Day 01-31HH Hour 00-23mm Minute 00-59ss Second 00-59SSS Ms 000-999

Example: YYYY年MM月DD日 HH:mm:ss → 2024年01月15日 10:30:00; timestamp-s / timestamp-ms / ISO output corresponding values directly.

How to Use

  • Paste any valid JSON, supports nesting, arrays and escapes
  • Click Beautify to auto indent and format
  • Click Minify to remove whitespace into one line
  • All operations run locally for privacy

Related Tools

FAQ

Which input formats are supported?

YYYY-MM-DD, YYYY/MM/DD, YYYY.MM.DD, YYYY-MM-DD HH:mm:ss, MM-DD-YYYY, MM/DD/YYYY, DD/MM/YYYY, YYYYMMDD, ISO 8601, timestamp s/ms and auto detection.

How to customize output format?

Check Custom and enter a template with YYYY, MM, DD, HH, mm, ss, SSS placeholders, e.g., YYYY年MM月DD日 HH:mm:ss.

How to batch convert?

Enter one date per line, select from/to formats and click Convert. Empty lines are preserved; failed lines show ERROR.

Will my data be uploaded?

No, all parsing and formatting runs locally in your browser.