Text File Reader

Upload and view any text file with line numbers and file info.

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.

Drop a text file here or click to browse

.txt, .log, .md, .csv, .json, .yaml, .env, source code, and more

Related Tools

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.