100% local processing — your files and data never leave this browser. No uploads, no server storage.

OnboxTools

Text Viewer Online — TXT Reader & PDF Highlighter

Free · Browser-only · No upload

Text Viewer & TXT Reader

Text viewer · Txt viewer · Txt reader · PDF reader with highlighter

Read plain text and extracted PDF content in one text viewer. Use it as a txt viewer and txt reader for logs, README files, and exports—or upload a PDF for a lightweight pdf reader with highlighter search that marks every match in the document.

Adjust font size, themes, and line numbers for long reading sessions. Find text to highlight phrases across the whole file, then jump match to match. No installation, no cloud upload—your documents stay on your device.

Ideal for developers reviewing stack traces, lawyers skimming text-layer PDFs, students reading lecture notes, and anyone who needs a fast online txt reader without opening heavy desktop software.

9 lines60 words343 charsTXT mode
1
2
3
4
5
6
7
8
9
Welcome to the online text viewer.
Paste plain text, open a .txt file, or upload a PDF to read extracted text with search highlighting.
• Adjust font size and line height for comfortable reading
• Toggle line numbers and word wrap
• Use Find to highlight every match — like a built-in highlighter
Replace this sample with your own document.

Guide: text viewer, txt reader & PDF highlights

What is an online text viewer?

A text viewer displays plain text in a readable panel without opening a desktop editor. This text viewer runs in your browser: paste notes, logs, or code, or open a .txt file for instant reading with adjustable typography.

People search for txt viewer or txt reader when they need to inspect exports from servers, README files, or subtitles—formats that do not need Word or Google Docs. Everything stays local, which suits confidential logs and contracts.

Unlike a word processor, a dedicated viewer focuses on scrolling performance, search, and legibility rather than formatting toolbars.

Txt reader and txt viewer — how to open files

Click Import .txt or drag a text file onto the page. The txt reader loads the full document into the panel with optional line numbers. Large files may take a moment; wait for the character count to update before searching.

You can also paste directly from the clipboard—useful when copying error stacks from Slack or email. The txt viewer preserves line breaks so stack traces stay aligned.

Supported uploads include .txt and plain text MIME types. For other extensions, rename to .txt or paste contents manually.

PDF reader with highlighter (search highlights)

Full PDF annotation on canvas is complex; this tool offers a practical pdf reader with highlighter behaviour for searchable text. Upload a PDF and we extract text with pdf.js, then display it in the same viewer. Type a phrase in Find to highlight every match in yellow—ideal for locating clauses, names, or error codes.

Scanned PDFs without a text layer may extract empty content. In that case use our PDF Word Counter after OCR, or open the file in a dedicated scan tool. Digital PDFs from Word, LaTeX, or exports usually work well.

Page markers like --- Page 3 --- separate extracted sections so you know where content originated. For page-level PDF tasks (merge, split, rotate), browse the PDF tools category linked below.

Find, highlight, and navigate matches

Enter a search term and matches highlight automatically. Use Next and Previous to jump between occurrences—the active match uses a stronger highlight ring so you do not lose your place in long documents.

Highlighting is case-insensitive by default through the regex flag. Clear the search box to remove all marks and return to plain reading mode.

This in-document highlighter replaces Ctrl+F for demos and shared screens where browser find UI is distracting.

Reading comfort settings

Increase font size and line height for accessibility. Sepia and dark themes reduce eye strain during long review sessions. Word wrap toggles help with log files that contain very long lines.

Line numbers help developers reference support tickets (see line 482). Turn them off for prose-heavy documents.

Statistics in the toolbar show lines, words, and characters—handy quick metrics without a separate word counter.

Privacy and offline-friendly workflow

Text and PDF bytes are processed with FileReader and pdf.js inside your tab. Nothing uploads to our servers, which matters for NDA documents, customer data exports, and security incident logs.

Bookmark this text viewer for repeated use. No account or extension is required.

When to use other tools on this site

Need to count words in a PDF with analytics? Try PDF Word Counter. Want to minify HTML or CSS from the same project? Use the HTML and CSS minifiers in Text Utilities.

This page optimises for reading and highlighting; editing-heavy tasks may still belong in your IDE—but for quick txt reader and pdf reader with highlighter workflows, start here.

Related PDF tools

This pdf reader with highlighter works on extracted text. For word counts, page counts, merge, or split, use dedicated PDF tools:

More Text Utilities

🏷️
Barcode Generator
🧬
Base64 Encoder
🔡
Case Converter
🎨
Color Picker
Cron Generator
🎨
CSS Minifier
🔎
Find and Replace
🛡️
HTML Entity Encoder
📰
HTML Minifier
📋
Markdown Preview
📱
QR Code Generator
🎲
Random Number
🔍
Regex Tester
↩️
Reverse Text
✂️
Split String
🔁
Text Repeater
📖
Text Viewer
🕐
Unix Timestamp
🔗
URL Encoder
🌐
UTF-8 Encoder
📊
Word Counter

Browse by category

Common questions

Text viewer FAQ

What is the difference between a text viewer and a txt viewer?

They mean the same thing here: a panel to read plain text. This tool works as a text viewer, txt viewer, and txt reader for pasted or uploaded content.

How does the pdf reader with highlighter work?

Upload a PDF, we extract selectable text locally, and you search to highlight matches in the reader—like a highlighter pen across the whole document text.

Can I highlight text manually without searching?

Use Find to highlight all instances of a word or phrase. Manual click-drag highlighting on PDF canvas is not supported; this tool focuses on text-layer search highlights.

Is my file uploaded to a server?

No. TXT and PDF processing happens entirely in your browser.

Why is my PDF empty after upload?

The PDF may be image-only (scanned) without embedded text. OCR is required before text can be extracted.

What file size limits apply?

Very large files are limited by browser memory. Multi-megabyte logs usually work; hundred-megabyte dumps may need a desktop editor.

Can I copy the full document?

Yes. Use Copy all to place the entire text (including PDF extraction) on your clipboard.

Does the txt reader support encoding?

Files are read as UTF-8. If characters look wrong, re-export the file as UTF-8 from your source application.

Can I edit text in the viewer?

The main panel is read-only for stable highlighting. Paste into an external editor to change content, then re-import.

How do I clear highlights?

Clear the Find box or change the search term. Highlights update automatically.

Is this a replacement for Adobe Reader?

It complements Reader for quick text extraction and search. For printing, forms, and signatures, use a full PDF application.

Are line numbers included when I copy?

Copy all copies raw text without line number prefixes.