Text File Viewer
Inspect raw text files with line numbering and encoding controls.
Base64 File Encoder / Decoder
100% Client-Side. Files never upload to any remote server.
About Text File Viewer
The Universal Plain Text & Code File Viewer opens, searches, and inspects large `.txt`, `.log`, `.md`, `.ini`, `.env`, and source code files with line numbering, word wrapping, regex find/replace, and encoding detection (UTF-8, UTF-16, ASCII, ISO-8859-1).
How to Use Text File Viewer
Step 1
Drag and drop any text file into the viewer.
Step 2
Toggle line numbers or word wrapping to suit your reading preference.
Step 3
Use the search bar to locate keywords or regex patterns.
Step 4
Click "Copy Text" or download modified content.
Practical Use Cases for Text File Viewer
Inspecting Server Logs & Application Crash Dumps
Open multi-megabyte `.log` and dump files instantly with line numbers and regular expression search highlights.
Resolving Character Encoding Issues (Mojibake)
Switch between UTF-8, UTF-16 LE/BE, and Windows-1252 encodings to fix corrupted, unreadable accented text.
Input & Output Examples
Opening Server Error Log
Uploaded server.log (8.4 MB text file)
Line-numbered editor with 140,000 lines, search bar, encoding badge (UTF-8), and word count stats
Key Features & Performance
- ✓Line numbering, word wrap toggle, and real-time regex search with match highlighting.
- ✓Multi-encoding support: UTF-8, UTF-16 LE, UTF-16 BE, ASCII, ISO-8859-1, Windows-1252.
- ✓Calculates Character count, Word count, Line count, and Byte size statistics.
- ✓100% Client-Side memory execution.
- ✓1-Click Copy and 1-Click Download.
Key Terminology & Definitions
Text Encoding (Charset)
The binary character mapping used to store text characters in memory (e.g. UTF-8 uses 1 to 4 bytes per Unicode code point).
Mojibake
The garbled, meaningless text displayed when text is decoded using an unintended character encoding.
