Text File Viewer

Upload and view any text-based file in the browser with line numbers, word count, and line wrap.

All processing happens in your browser. No data is sent to any server.

Frequently Asked Questions

What file types does the viewer support?
The tool accepts .txt, .md, .csv, .log, .json, .xml, .yaml, .yml, .html, .css, .js, and .ts files. Any plain-text format can be viewed.
Is there a file size limit?
There is no strict file size limit, but the viewer will only display up to 50,000 lines. If your file exceeds that, a warning is shown and the remaining lines are omitted from the display.
What do the stats at the top show?
The stats bar shows the total line count, word count, and character count for the entire file (not just the visible portion).
Does line wrap affect the line numbers?
No. Line numbers always correspond to actual newline-separated lines in the file. Enabling line wrap only changes how long lines are displayed visually; it does not change the numbering.

Related Tools