Log File Viewer
Make sense of a big log file without a terminal. Open a server, application or Android log of up to 200 MB, see errors and warnings coloured, filter by level or by any text or regular expression, and jump through millions of lines smoothly. Save just the lines that matter as a text file.
or drop a file here · .log, .txt and other text logs · up to 200 MB
Processed on your device. Your files are not uploaded.
About the log file viewer
Applications, web servers, phones and build tools write what they are doing to log files, line after line, for days. When something breaks, the answer is usually in there somewhere among thousands of routine messages. Opening a 100 MB log in Notepad tends to freeze it, and grep is not for everyone. This viewer reads the file in your browser and lets you cut it down to what matters.
When to use it
- Finding the first error before a crash in a server or app log someone sent you.
- Reading an Android logcat capture or a CI build log without a terminal.
- Pulling every line about one user, order number or IP address into a separate file for a ticket.
- Checking how often a warning occurs, using the level counts.
How the filtering works
Each line gets a level when it contains one of the usual words near its beginning (FATAL, ERROR, WARN, INFO, DEBUG, TRACE and common variants), when it is a JSON record with a level or severity field, or when it is in logcat format. Indented lines, “at …” frames, “Caused by:” and Python traceback lines inherit the level above, so an error and its whole stack trace stay together when you show only errors. The search box then narrows the remaining lines by plain text, or by a regular expression if you tick that option.
Worked example
The sample is a made-up application log of 417 lines. Switching off Info and Debug leaves 10 warnings, 4 errors with their Java stack traces, 8 JSON errors from a mail service and a final FATAL line about disk space. Typing SMTP then leaves the 8 mail lines, and Download matching lines saves them as sample-app-filtered.txt.
Good to know
- Logs up to 200 MB in UTF-8, UTF-16 or Windows-1252 text.
- Line numbers always refer to the original file, even when filtered.
- Lines longer than 2,000 characters are shortened on screen only.
- To try out a pattern first, use the regex tester.
How to use Log File Viewer
- Choose a .log or .txt file or drop it on the box (or try the sample).
- Switch levels on or off and type a word or regular expression to narrow the lines down.
- Check the preview and download the matching lines as a text file.
Privacy: how it works
Your files are processed on your own device by your browser. They are not uploaded to any server.
Frequently asked questions
How does it know which lines are errors?
It looks for level words such as ERROR, WARN, INFO or DEBUG near the start of each line, the level field in JSON logs (including the numbers pino uses) and the single letters of Android logcat. Lines of a stack trace get the level of the line they belong to.
How large can the log be?
Up to 200 MB. The whole file is read into memory, and only the lines on screen are drawn, so scrolling stays smooth. Very long single lines are cut short on screen but kept whole in the download.
Is my log sent anywhere?
No. Logs often contain IP addresses, user names and tokens, so the file is read only by your browser and never uploaded.