Log file viewer

Open a log file of any size, or paste log text, then filter it by keyword, regular expression or severity. Errors and warnings are color coded. The file is read on your device and never uploaded.

How to use the log file viewer

  1. Drop a log file onto the box, click to choose one, or paste log text from the clipboard.
  2. Type in Filter to show only matching lines, or choose a level to see just errors and warnings.
  3. Click Download Shown or Copy Shown to keep the filtered lines.

Built for big files

Text editors slow to a crawl on a 200 MB log. This viewer only draws the lines that are on screen, so scrolling stays smooth with millions of lines. Because the file is read by your own browser, there is no upload to wait for and no size limit beyond your device's memory. A computer handles several hundred megabytes comfortably.

Filtering tips

  • Several words: plain text matches the exact phrase. To match either of two words, turn on Regular expression and write timeout|refused.
  • Status codes: find server errors in a web access log with the regular expression " 5\d\d .
  • One client: type an IP address to follow a single visitor through the log.
  • Cut the noise: tick Hide matching lines to remove health checks or bots, for example /healthz|bot.
  • A time window: filter on a timestamp prefix such as 2026-03-14 02: to see one hour.

Test a pattern first in the regex tester, or keep the regex cheat sheet open.

How levels are detected

Each line is checked for the usual severity words. Lines with ERROR, FATAL, CRITICAL, PANIC, EXCEPTION or an HTTP 5xx status are treated as errors. WARN and WARNING are warnings. INFO, NOTICE, DEBUG and TRACE are recognized too. Lines that follow an error without a level of their own, such as stack traces, stay with it.

Private by design

Logs are full of IP addresses, usernames, tokens and internal host names. This tool reads the file locally and sends nothing to a server, so it is safe for production logs. It also works offline once the page has loaded.

Related: decode timestamps with the Unix timestamp converter and tidy JSON log lines with the JSON formatter.

Frequently asked questions

How large a log file can I open?

Files of several hundred megabytes work on a typical computer. The limit is your device’s memory, since nothing is uploaded.

Is my log file uploaded?

No. It is read and filtered entirely in your browser.

Which log formats are supported?

Any plain-text log: Nginx and Apache access and error logs, syslog, application logs, Docker and Kubernetes logs, JSON lines and CSV.

Can I use regular expressions?

Yes. Tick Regular expression and use JavaScript regex syntax, for example error|failed or \b5\d\d\b.

Can it follow a file as it grows, like tail -f?

No. Browsers cannot watch a file for changes. Open the file again to see new lines.