Text File Reader
Upload and view any text file with line numbers and file info.
Drop a text file here or click to browse
.txt, .log, .md, .csv, .json, .yaml, .env, source code, and more
Related Tools
JSONJSON File Viewer
Upload and view JSON files with pretty-printing and structure info.
CSVCSV File Viewer
Upload and view CSV files as a formatted table.
WcWord Counter
Count words, characters, sentences, and lines in any text.
LNLine Counter
Count total lines, blank lines, non-blank lines, and average line length.
FAQ
- What file types can I open?
- Any plain-text file works: .txt, .log, .md, .csv, .json, .xml, .yaml, .env, source code files, and more. Binary files will display garbled output.
- Is there a line limit?
- The viewer displays up to 10,000 lines for performance. Larger files will show the first 10,000 lines with a notice.
- Is my file uploaded to a server?
- No. Everything is read locally in your browser using the FileReader API. Your file contents never leave your device.
Upload any plain-text file and view its content in a monospace display with line numbers. Shows file name, size, MIME type, and line count. Supports any text-based format: .txt, .log, .md, .csv, .json, .xml, .yaml, .env, and more. No server upload required.