Add a file
Choose or drop a .txt or .md or .markdown or .log file. Paste content when the tool provides that option.
Open TXT, Markdown, and log files locally, switch between reading and source views, search the text, and count lines, words and characters.
or drop a .txt, .md, .markdown, or .log file here
Choose or drop a .txt or .md or .markdown or .log file. Paste content when the tool provides that option.
The tool reads and processes the file in this browser.
Check the result, then use the available copy, download, or next-step action.
Want to know how files are handled? Read the privacy notice →
Choose or drag a TXT file into the viewer and the text appears right away, read locally in the page. One file at a time is supported, up to 2 MB; the source view shows the exact characters from the file, and the reading view is only used for Markdown filenames.
Open a file whose name ends in .md or .markdown and the reading view formats headings, lists, quotes and code blocks for you. You can switch back to the source view at any time to read the original Markdown characters, and copy or download either one.
No. The file is read by the browser on your own device and its contents are never sent to a server to be viewed. That also means nobody else can retrieve the file from this page, and closing the tab discards the text.
On Windows, open this page in Chrome, Edge or Firefox and pick the .log or .txt file — no Notepad or extra program is needed. Large logs that make Notepad slow still open here as long as they stay under the 2 MB limit.
On a Mac, iPhone or Android phone, open this page in Safari or Chrome and choose the file from Files or your downloads folder. The same reading view, source view and search work on a small screen; the file is picked with the system file chooser.
Garbled characters mean the file is not UTF-8 text — this viewer decodes strictly and reports an encoding error instead of guessing. Files saved as GBK, Shift_JIS or UTF-16 need to be re-saved as UTF-8 in your editor first, because silently substituted characters would look like real content.
The three usual reasons are a file over the 2 MB limit, a binary file that is not really text, and selecting a folder or several files at once. Each case shows its own message; pick a single readable text file and try again — anything you already typed in the paste box is kept.
Files up to 2 MB are accepted, and the text has to be UTF-8; a UTF-8 byte order mark is removed and CRLF or LF line endings are kept as they are. Very long files are shortened for on-screen preview, while copy and download still use the complete source text.
The viewer counts the lines, words and characters of every file you open and shows the totals above the text. Counting always describes the complete source even when the preview is shortened; words are runs of letters and digits, while Chinese and Japanese are counted per character.
It is safe in the sense that nothing in the file runs: code blocks, raw HTML and links are shown as text and are never executed or opened. The viewer cannot tell you whether the content itself is honest or whether a linked address is malicious, so treat unfamiliar files with the usual caution.
A TXT file is plain characters with no formatting rules, while a Markdown file uses marks like # and * that a reader can turn into headings and lists. This is why .txt and .log stay literal here and only .md or .markdown get the reading view — a log line starting with * should not become a bullet.
Yes — the viewer runs in an ordinary browser tab, needs no account and installs nothing on the computer you are using. That makes it usable on a locked-down work machine or a borrowed device where you cannot install an editor.
No. Displaying correctly only means the bytes decoded as UTF-8 text; it says nothing about whether the statements or links inside are true. Formatting is not verification: check the origin of a document before acting on it, and remember that link targets are shown but never checked.