Dev TooloraLocal dev tools

> Logs & Diagnostics

Access Log Parser

Parse Apache and nginx common or combined access logs into a table, an errors view or a summary of top paths, IPs, statuses and user agents.

Runs locallyWorks offline
Back to results
Input

Source data

View
Output

Result

Your result will appear here.

Tool guide

About this tool.

  • Web servers such as Apache and nginx write one line per request in the common or combined log format: client address, user, time, request, status code, response size and, in the combined format, the referer and user agent. Reading those lines by eye does not scale past a few dozen requests.
  • This tool parses every line with one fixed pattern and shows the result as a table, as a list of error responses (status 400 and above) or as a summary with status classes, busiest paths, client addresses, user agents and total bytes.
  • Lines that do not match the format are not guessed at; their line numbers are listed in the summary. Everything runs locally in your browser.

  • Find which paths or clients generate the most traffic in a slice of a log.
  • Pull out the 4xx and 5xx responses after a deploy.
  • Check that a log file really is in the combined format before feeding it to other tools.

Paste lines from an Apache or nginx access log or apply a sample.

Choose Table to see every parsed request, Errors to keep only status 400 and above, or Summary for counts and top lists.

Set Top entries to control how long the top lists are in the summary.

Copy or save the result as TSV or text. Log contents are not redacted.

  • 203.0.113.5 - - [27/Oct/2026:10:48:01 +0000] "GET /index.html HTTP/1.1" 200 5120 gives one table row with status 200 and 5120 bytes.
  • A response size of - is shown as - in the Bytes column and counted as zero in the summary.
  • A request written as "-" gets method - and the whole text as the path.
  • The Errors view keeps only lines whose status is 400 or higher.
  • The Summary view with Top entries set to 3 lists the three busiest paths, IPs and user agents.
  • Time is shown as ISO 8601 UTC; a time that cannot be read is shown as written.

  • Input is limited to 1,048,576 UTF-16 characters and 100,000 lines. No network requests are made.
  • Only the common and combined log formats are parsed; each line must match completely.
  • Top entries must be a whole number from 1 to 100.
  • The summary lists at most the first 20 unparsed line numbers.
  • User agents are cut to 80 characters in the table; the summary shows them in full.
  • Escaped quotes inside the referer and user agent are unescaped.
  • Output is not redacted and can contain addresses, user names and URLs; review before sharing.

FAQ

Questions about Access Log Parser

Which log formats are supported?

The Apache and nginx common format, and the combined format that adds the referer and user agent in double quotes. Custom LogFormat layouts are not recognized.

What happens to lines that do not match?

It is listed in the summary by line number (the first 20) and left out of the table. Blank lines are ignored and not counted as unparsed.

How are time zones handled?

Times are converted to UTC using the offset in the log line, so lines from servers in different zones sort correctly.

What does Top entries do?

Top entries limits the lists of paths, IPs and user agents in the summary, from 1 to 100. Ties are sorted alphabetically.

Continue with

Log FilterKeep log lines that match an include regex and avoid an exclude regex.JSON Lines InspectorInspect JSONL records, malformed lines and top-level field presence.Log Timestamp NormalizerRewrite syslog, Apache, ISO 8601, RFC 2822, slashed and Unix timestamps in log lines into one format, in UTC or a time zone of your choice.User-Agent ParserIdentify the browser, engine, operating system, device type and common bots from a User-Agent string.