Browser-based developer tool · logs are read in your tab, never uploaded

Log File Analyzer

Open an nginx or Apache access log (combined or common format, optionally .gz) or a JSON-lines log. The file is read in chunks so large logs do not freeze the page. See requests over time, status codes, top paths, visitors, user agents and referrers, bot share, error lists and bandwidth, filter them, and export CSV.

Log file

.log, .txt, .jsonl or .gz. Up to 2,000,000 requests are kept in memory.

Drop a log file here or click to choose

Streamed in chunks, so multi-hundred-MB files work

Or paste log lines

Web Server Log File Analyzer

Operator: Abdulla Al Fahad. How tools are built and checked

An access log is the most honest record a web server keeps: every request, with the time, the visitor's address, the path, the status code, the bytes sent, the referrer and the user agent. It is also unreadable at a glance, and the usual ways to summarise it mean installing GoAccess on the server or sending the log to a hosted analytics service. This page does the summarising in your browser tab instead.

Open an nginx or Apache access log, or a JSON-lines log, and the page reads it in chunks while a progress bar runs. When it finishes you get requests over time, status codes, the busiest paths, IP addresses, user agents and referrers, the share of traffic that looks like bots, lists of the most frequent 404 and 500 responses, and the bandwidth served, with filters to narrow all of it and CSV exports of the rows and the summary.

Key features

  • Reads nginx and Apache combined and common formats, and JSON-lines logs, detected from the first lines or chosen by hand
  • Streams the file with progress and a Cancel button, and unpacks .gz files on the way in browsers that support it
  • Requests per time bucket as an SVG chart with the 4xx and 5xx part in red, bucket size chosen automatically
  • Status code bars, top 20 paths (query string removed), IPs, user agents and referrers, and the most frequent 4xx and 5xx paths
  • Filters by time range, path text, exact IP, method, status class and bot or non-bot visitors
  • CSV download of the filtered rows and of the summary tables

Supported log formats, limits and how bots are told apart

The combined format is the default of both servers: client address, two identity fields, the time in square brackets, the request line in quotes, status, bytes, then the quoted referrer and user agent. The common format stops after the byte count. Extra fields appended after the user agent, such as request time or upstream timing, are tolerated and ignored. The time is read with its offset, so a line stamped 10:02 +0200 is placed at 08:02 UTC, and every time on the page is shown in UTC.

For JSON lines the page looks for a time under time, timestamp, @timestamp, ts, date, time_local or time_iso8601; an address under remote_addr, client_ip, clientip, remote_ip or ip; a path under uri, path, request_uri, url or request_path, or a request field of the form GET /x HTTP/1.1; a status under status, status_code or response_code; bytes under body_bytes_sent, bytes_sent, bytes or size; and user agent and referrer under the usual nginx and Elasticsearch names. Fields one level down, such as an http object, are flattened. A line needs a path and a status between 100 and 599 to count.

Lines that do not fit the chosen format are counted and the first one is shown as an example, so a stray header line or a half-written line at the end of a rotating log does not stop the run. If none of the first thirty lines fit either format, the page stops and says so, and you can choose a format manually. Up to 2,000,000 requests are kept; a larger file is analysed up to that point and the page says it was cut.

Bot detection is a user-agent match against names such as Googlebot, bingbot, crawler, spider, curl, wget, python-requests, Go-http-client, headless browsers and monitoring agents like Pingdom and UptimeRobot. It is only as good as the string a client chooses to send: a scraper that claims to be Chrome counts as a person, and a visit with an empty user agent is not counted as a bot.

How it works

The file is read through the browser's stream API in chunks, decoded as UTF-8 and split into lines. Each parsed request is stored in typed arrays, with addresses, paths, user agents and referrers replaced by small integers pointing into lookup tables, so two million requests need tens of megabytes rather than gigabytes. The page yields to the browser between chunks so the progress bar moves and Cancel responds.

Every summary is one pass over those arrays with the current filters applied. The time chart picks the smallest bucket from 1, 5, 15 and 30 minutes, 1, 3, 6 and 12 hours, 1 day and 7 days that gives 72 buckets or fewer for the filtered range. Top lists keep the 20 largest counts; bandwidth is the sum of the byte field, so a dash counts as zero.

When this helps

  • Seeing which URLs a crawler hit that returned 404 overnight, by filtering to bot visitors and the 4xx class
  • Checking whether an hour of slow responses lines up with one IP address making thousands of requests
  • Estimating which paths use the most bandwidth before a CDN decision
  • Comparing the real-visitor share of traffic against what a client-side analytics script reports

Opening a file

  1. Drop an access log, a .gz archive of one, or a JSON-lines log onto the file box. Or paste a few lines under Or paste log lines.
  2. Leave Format on Detect automatically unless the lines are an unusual layout.
  3. Watch the progress bar; press Cancel if you picked the wrong file.
  4. Use Filters to narrow by time, path, IP, method, status class or visitor type, and read the charts and tables.
  5. Download the parsed rows as CSV for a spreadsheet, or the summary CSV for a report.

Example

Ten lines from one morning (the built-in sample)

203.0.113.7 - - [14/Nov/2026:09:12:04 +0000] "GET / HTTP/1.1" 200 5120 "https://www.google.com/" "Mozilla/5.0 ... Chrome/130.0"
66.249.66.1 - - [14/Nov/2026:09:20:12 +0000] "GET /old-page HTTP/1.1" 404 512 "-" "Mozilla/5.0 (compatible; Googlebot/2.1)"
192.0.2.88 - - [14/Nov/2026:10:02:19 +0000] "POST /api/orders HTTP/1.1" 500 87 "https://example.com/cart" "... Firefox/132.0"
... seven more lines

What the summary shows for all ten

Requests      10      Unique IPs   5
Bandwidth     37,923 bytes
Bot share     40%  (4 requests: Googlebot x2, python-requests x2)
Status        2xx 6   4xx 3   5xx 1
Buckets       5 minutes (UTC)
Top path      /api/orders  2 hits (497 bytes)
Top 4xx       404 /old-page, 404 /wp-login.php, 404 /.env

Tips for best results

  • Filter to a single time window around an incident first, then look at the top IPs and paths. A spike is usually one address or one path.
  • Switch Visitors to Non-bot user agents to see the traffic your pages were actually written for, then to Bot user agents to see what crawlers cost you.
  • The top 4xx list groups by status and path, which makes scanners easy to spot: many different 404 paths such as /wp-login.php and /.env from a single IP.
  • Download the summary CSV for each month and keep it; it is tiny compared with the raw log.
  • A timestamp with no offset is read in your browser's time zone if it is an ISO string and as UTC if it is Apache-style, so the time axis can be shifted by the difference from your server's zone.

Limits

A custom log_format that reorders the fields will not match the combined pattern. Detection fails or most lines are skipped; use the JSON format on the server, or convert the layout first.

Behind a proxy or CDN, the first field is the proxy's address unless the server logs the forwarded client address instead, so unique IPs and top IPs can describe your CDN rather than your visitors.

Status counts include every request, including assets such as images and scripts. A page-view count needs a path filter such as one that excludes /static/.

Browsers that block or do not support DecompressionStream cannot read .gz directly; decompress the file first.

Common errors and how to fix them

"The first lines match neither the combined or common format nor JSON lines"
Open the file in a text editor and compare a line with the combined layout above. Remove header lines, or pick the format manually if the file is JSON lines with unusual field names.
"None of the lines could be read"
The format choice is wrong for this file. Switch Format to Detect automatically, or to the other option, and load the file again.
Most lines are skipped as unreadable
The log probably has extra fields before the request line, or a different time format. The first skipped line is shown under the file box so you can see what differs.
"This browser cannot unpack .gz files"
Use a current Chrome, Edge, Firefox or Safari, or run gunzip on the file and open the plain log.

Best practices

  • Analyse one rotated file at a time and keep the summary CSVs, rather than concatenating months of raw logs.
  • Treat bot share as an estimate. Compare it with your server's own bot rules before acting on it.
  • Remove or mask personal data such as IP addresses before sharing a CSV export, since the rows include them.

Privacy and memory

The log is read by the browser from your disk and never sent anywhere. Parsed requests live in memory until you load another file or close the tab. A very large log needs spare memory; if the tab becomes slow, split the file by day and analyse the parts.

The CSV of parsed rows contains the visitor addresses and user agents from the log, so treat it with the same care as the log itself.

Frequently asked questions

Can it read a 500 MB log?

Usually yes, because the file is streamed rather than loaded at once, up to 2,000,000 requests. How long it takes depends on your computer; the progress bar shows the share of the file read.

Does it replace GoAccess?

For a one-off look at a log file it covers the common reports. It does not run as a live dashboard, follow a growing file or resolve addresses to countries.

Why are times in UTC?

Each log line carries its own offset, and converting everything to one zone keeps files from servers in different regions comparable.

How are bots recognised?

By matching the user-agent string against a list of common crawler, library and monitoring names. A client can lie in that string, so the figure is an estimate.