SmartQueryTools

Format Timestamps in TSV Files Online

Reformat timestamp and date columns in TSV files directly in your browser. Convert between ISO 8601, Unix epoch, US date, and custom strftime patterns — no upload required.

How to format Timestamps in TSV files

  1. Drop your file onto the upload area. The first 200 rows are shown, and the first date or timestamp column is pre-selected if the file has one.
  2. Pick the column to format. The dropdown shows each column's detected type, and the output column name defaults to the column name plus _formatted.
  3. Choose the input format: Auto-detect for ISO-style text, Unix epoch in seconds or milliseconds, or a custom strptime pattern such as %d/%m/%Y.
  4. Choose the output format: ISO 8601, date only, US date, Unix epoch seconds or milliseconds, or a custom strftime pattern. Then click Format Timestamps.
  5. Check the result preview and download the file. The formatted column replaces the original in the same position.

Your file is processed locally in your browser and is never uploaded. The free limit is 50 MB per file; larger files work if your device has the memory for them.

Worked example

A set of temperature sensors logs readings with slightly different timestamp styles, and one device writes "n/a" when its clock has not synced. A US reporting template needs plain MM/DD/YYYY dates.

Input (TSV)

sensor_id	event_time	temp_c
S-01	2026-04-11 08:15:32	18.4
S-02	2026-04-11T23:59:59	17.9
S-01	2026-04-12 00:00:05	18.1
S-03	n/a	19.2

Settings

  • Column to format: event_time (VARCHAR)
  • Output column name: event_time_formatted (default)
  • Input format: Auto-detect
  • Output format: US date (01/15/2024)

Result

sensor_idevent_time_formattedtemp_c
S-0104/11/202618.4
S-0204/11/202617.9
S-0104/12/202618.1
S-03NULL19.2

Auto-detect reads both the space and the T separator as timestamps. The US date output keeps only month, day and year. "n/a" cannot be read as a time, so it becomes empty rather than stopping the run. The original event_time column is replaced by event_time_formatted in the same position, so keep a copy if you need both.

Frequently Asked Questions

What happens to values that cannot be read as a timestamp?

With Auto-detect they become empty (NULL) and the rest of the column is converted. With a custom strptime pattern, any value that does not fit the pattern stops the run with an error, so the file is not half converted.

Does the tool keep the original column?

No. The formatted column replaces the original in the same position, under the output column name you set. Keep your original file if you need both versions.

Which time zone are the results in?

UTC, whatever time zone your computer uses. Epoch seconds and epoch milliseconds are both read as UTC. In Auto-detect, a value with an offset or Z, such as 2026-04-11T08:15:32+02:00, is converted to UTC. A value without an offset is kept exactly as written.

Is there a European DD/MM/YYYY output option?

Not as a preset. Choose Custom pattern (strftime) as the output and enter %d/%m/%Y. The same field takes any strftime tokens, such as %d %b %Y for 11 Apr 2026.

Related Tools

Truncate Dates in CSV Files Online

Truncate date and timestamp columns in CSV files to a chosen precision — year, quarter, month, week, day, hour, or minute — directly in your browser. Rounds timestamps down to the start of each period. No upload required.

Calculate Date Difference in CSV Files Online

Calculate the difference between two date or timestamp columns in CSV files directly in your browser. Output in days, months, years, hours, minutes, or seconds — no upload required.

Sort CSV Files Online

Sort CSV files by any column, ascending or descending, directly in your browser.

Format Timestamps in CSV Files Online

Reformat timestamp and date columns in CSV files directly in your browser. Convert between ISO 8601, Unix epoch, US date, and custom strftime patterns — no upload required.

Format Timestamps in Excel Files Online

Reformat timestamp and date columns in Excel files directly in your browser. Convert between ISO 8601, Unix epoch, US date, and custom strftime patterns — no upload required.

Format Timestamps in Parquet Files Online

Reformat timestamp and date columns in Parquet files directly in your browser. Convert between ISO 8601, Unix epoch, US date, and custom strftime patterns — no upload required.

Format Timestamps in JSON Files Online

Reformat timestamp and date columns in JSON files directly in your browser. Convert between ISO 8601, Unix epoch, US date, and custom strftime patterns — no upload required.

TSV Viewer Online

View and inspect TSV files directly in your browser. Browse rows, check column names and data types — no upload required, your data stays on your device.