Free browser tool
Log file viewer, right in your browser
Open a log file, even a big one, and scroll it smoothly. Search with plain text or a pattern, show only the levels you want, and jump to a line. Only the lines on screen are read, and nothing is uploaded. It cannot watch a file the way the Windows app does: here, Follow checks the file every two seconds, and only in browsers that can look at the file again.
Your files never leave your PC. The log is read from your disk by code running inside this tab, a piece at a time as you scroll. It is never sent to a server. You can check this yourself: load the page, turn off your internet connection, and it still works.
How it works
- 1
Open a log
Drop a log file on the box or choose one. The page finds where each line starts, which takes a few seconds for a very big file, and then shows it.
- 2
Search and filter
Type in the search box, or turn on levels to show only errors or warnings. Press Enter for the next match, or Shift and Enter for the one before.
- 3
Follow what changes
Press Refresh to read lines added since you opened the file, or turn on Follow to check every two seconds. Both need a browser that can look at the file again.
Questions
Is it really free?
Yes. Opening, searching, filtering by level, going to a line and refreshing are free, with no sign-up. Pro adds named sets of highlight rules that colour the lines you care about.
How big a log can it open?
The page never loads the whole file. It reads the file once to note where each line starts, which takes 8 bytes of memory per line, and after that it reads only the lines on screen. A search or a level filter reads the whole file again, so on a very big file it takes a few seconds and shows its progress. Browsers limit how much memory a page may use, so a file with hundreds of millions of lines may not fit. The Windows app has no such limit.
Can it follow a log live?
Only in a limited way. A web page cannot be told when a file changes. Where the browser lets the page look at the file again, Follow checks it every two seconds and reads only the new lines, and Refresh does the same on request. In other browsers you have to choose the file again. If the file gets shorter or is replaced, the page starts again from the top and tells you. The Windows app follows files as they are written.
Which log formats does it understand?
It finds the level at the start of each line: a word such as ERROR, WARN or INFO in capitals, a level in square brackets, level=warn style pairs, and the level field of a JSON line. Lines that start with a space, a tab, "at" or "Caused by" belong to the line above, so a stack trace is shown and filtered with its error. Lines with no level are shown when no level filter is on. It does not draw a time column or lay out JSON lines, which the Windows app does.
Is my log uploaded or kept?
No. The file stays on your disk and is read in this tab. Nothing is saved except the highlight sets you make with Pro, which stay in this browser until you delete them or clear the site data of your browser.
Get the Windows app
Log Viewer follows a file live as it is written, shows a time column and pretty JSON lines, and opens huge files in moments. Free to start, one-time Pro.