Log timestamp extractor
Paste logs from any mix of servers. Every timestamp is found, converted to one timezone, and can be sorted, with the gap between events shown.
| Line | Time | Gap | Log line |
|---|
What it finds
| Format | Example | Timezone |
|---|---|---|
| ISO 8601 / RFC 3339 / syslog RFC 5424 | 2026-05-15T14:30:00.481Z | From the line |
| ISO with a space and comma (Python, Log4j) | 2026-05-15 14:30:01,007 | Assumed (see the option) |
| Apache / nginx access log | [15/May/2026:14:30:00 +0000] | From the line |
| syslog RFC 3164 | May 15 14:30:05 | Assumed, and the year comes from the option |
| RFC 2822 / HTTP date | Fri, 15 May 2026 14:31:40 +0000 | From the line |
| Unix seconds, ms, µs, ns | 1778855401912 | UTC by definition |
| JSON fields | "ts":1778855401912 | Any of the above inside JSON |
Unix numbers are only treated as times when they land between 2000 and 2099, so order IDs, ports and byte counts are left alone. The patterns are the ones from the log date regex cookbook.
Merging logs from different servers
Paste logs from several machines, turn on Sort by time, and pick one timezone to show. Lines are ordered by the moment they happened, not by how each server writes its clock, so an nginx line in UTC and an app line in IST land in the right order. The gap column then shows how long passed between events, and gaps over your threshold are highlighted, which helps find where a request stalled.
Exports
- Converted log: the original lines with every timestamp rewritten in the timezone you chose, in one format. Useful before sharing a log with a team in another country.
- CSV: line number, ISO time in UTC, Unix milliseconds, the time in your zone, the gap and the original line, for a spreadsheet.
Limits
- syslog RFC 3164 lines have no year and no timezone. Set both options before trusting the order around New Year.
- Times without a zone are a guess. If your app logs local time, set "Times without a zone" to the server's zone.
- Only the first timestamp on each line is used for sorting and gaps. Every timestamp on the line is converted in the exported log.
Logs in JSON lines? Format and validate the records with jsontools.tools, then paste the lines here.
Last updated: