Skip to content
Expensico

Text File Viewer

Open TXT, LOG and other plain-text files with line numbers, search, word wrap and encoding detection. Large files stay fast and private.

Runs in your browser. Your files are processed on your device and are never uploaded.

How to use the Text File Viewer

  1. Open a text or log file.
  2. Scroll with line numbers, toggle wrapping, and filter to lines containing a word.
  3. Copy or download the content.

Built for big logs

Server logs and data dumps can be hundreds of megabytes. The viewer splits the file into lines and renders them in chunks, so you can open files that would freeze a normal text editor in the browser. The line filter works like grep — handy for finding errors in a log.

Encodings and line endings

Files are read as UTF-8 when possible; UTF-16 files with a byte-order mark are supported, and anything else falls back to Windows-1252 with a warning. The file details show whether it uses Windows (CRLF) or Unix (LF) line endings.

Common uses

  • Searching a log. Type ERROR or a request ID in the filter to see only matching lines, with their original line numbers kept so you can find them again.
  • Checking an export before importing it. Open a CSV as plain text to see the real delimiter, quoting and header row that a spreadsheet would hide.
  • Diagnosing garbled characters. The encoding shown next to the file name tells you whether a file is UTF-8 or a legacy Windows encoding — the usual cause of ’-style characters.

Tips

The filter isn't case-sensitive, so timeout also matches Timeout and TIMEOUT. Turn off Wrap long lines for minified files or wide tables so each record stays on one row. The first 2,000 lines appear immediately and “Show more” loads the rest in larger steps, which keeps scrolling smooth in very large files. Files up to 100 MB can be opened.

Frequently asked questions

Is my file uploaded?

No. It's read entirely on your device.

Which file types can I open?

Text-based files: .txt, .log, .csv, .json, .xml, .yaml, .md and .html. Binary files such as .docx or .pdf aren't text; use the matching viewer for those.

Does downloading change the file?

The download contains the decoded text with Unix (LF) line endings. If the original used Windows (CRLF) endings or a legacy encoding, keep the original file when exact bytes matter.

Can I search with regular expressions?

The filter matches plain text. To test a pattern against text, use the regex tester.