VIEW IN YOUR BROWSER

Text & Markdown Viewer

Open TXT, Markdown, and log files locally, switch between reading and source views, search the text, and count lines, words and characters.

File types: .txt, .md, .markdown, .logProcessing: This browser

or drop a .txt, .md, .markdown, or .log file here

File stays on this deviceMaximum file size: 2 MB
HOW TO USE IT

How to use Text & Markdown Viewer

01

Add a file

Choose or drop a .txt or .md or .markdown or .log file. Paste content when the tool provides that option.

02

Let the tool process it

The tool reads and processes the file in this browser.

03

Review and use the result

Check the result, then use the available copy, download, or next-step action.

Frequently asked questions

How do I open a TXT file in the browser?

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.

How do I open a Markdown (.md) file and see it formatted?

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.

Does this text viewer upload my TXT or Markdown file to a server?

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.

How do I open a .log or .txt file on Windows without Notepad?

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.

What can I use to open a Markdown or TXT file on a Mac or phone?

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.

Why does my TXT file show garbled characters or an encoding error?

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.

Why won't my TXT or Markdown file open in the text viewer?

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.

What is the maximum TXT or log file size, and which encodings are supported?

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.

How do I get the word and character count of a text file?

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.

Is it safe to open an unknown TXT or Markdown file here?

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.

What is the difference between a TXT file and a Markdown file?

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.

Can I read a Markdown file without installing software or signing up?

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.

If a Markdown file displays correctly, does that mean its content is trustworthy?

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.