Hex Viewer
Open any file and read its raw bytes, pull out the readable strings, and see where the data is packed or encrypted. Files are never run and never uploaded, so it is a safe way to look inside something you do not trust.
- The file is read on your device. Nothing is uploaded.
How it works
Drop the file on the box above or choose it. Large files open at once because only the visible rows are read.
Read the Hex tab. Each row shows the offset, 16 bytes in hexadecimal and the same bytes as text. Click or drag to select, use the arrow keys to move, and read the data inspector for the selected bytes as numbers and text.
Search for hex bytes (use ?? for any byte) or for text in UTF-8 and UTF-16, or jump straight to an offset such as 0x1F4.
Open the Strings tab to list readable text and filter it. Open the Entropy tab to see which parts of the file look compressed or encrypted. Click a string or a bar to land on those bytes in the hex view.
What a hex viewer is for
A hex viewer shows a file exactly as it is stored, byte by byte, with no interpretation. That makes it the tool of choice when a program will not open a file, when you need to confirm what a format really contains, or when you want to patch or extract a few bytes. File headers, magic numbers, length fields, checksums and embedded text all show up plainly.
It is also a safe way to look at a file you do not trust. Nothing is executed or rendered, so an executable, a script or a macro document is only data here. The file stays on your device and is read through the browser's file API, which is why even multi-gigabyte images, disk dumps and game assets open without being loaded into memory.
Why strings help
Programs and documents often carry readable text: URLs, file paths, registry keys, error messages, command lines and email addresses. Listing every run of printable characters, in both ASCII and UTF-16 as used by Windows, is a quick way to see what a file might contact or run, and to find text that is hidden among binary data. The interesting-only filter narrows the list to URLs, IP addresses, emails, paths, registry keys, commands and long base64-looking blobs. Strings are a clue, not proof: they show what is in the file, not what it does.
Reading the entropy graph
Shannon entropy measures how unpredictable the bytes in a block are, from 0 to 8 bits per byte. Padding and zero-filled areas sit near 0. Plain text and machine code usually fall between 4 and 6. Compressed and encrypted data is close to random and rises above 7.2. A flat high line across an executable often means a packer or an encrypted payload, while a high stretch inside an otherwise low file marks an embedded archive, image or blob. Entropy is a hint and should be combined with strings and the file type.
Frequently asked questions
Frequently asked questions
Is my file uploaded?
No. The file is read in your browser with the File API and never sent anywhere. The strings search runs in a worker on your device and there is no analytics or tracking in the tool.
How large a file can it open?
The viewer reads only the bytes on screen, so file size is not limited by memory. A file of several gigabytes opens instantly. Extracting all strings and drawing entropy for the whole file read the data once in chunks and take longer on very large files; a progress bar and a cancel button are shown.
Can I search for bytes with unknown values?
Yes. In hex mode, write ?? for any single byte, for example 4D 5A ?? 00. Text search can look for UTF-8, UTF-16 little endian, or both at once, and can ignore case.
Does it run or scan the file for malware?
No. It never runs, parses as code or scans the file. It shows the bytes, the readable strings and the entropy so you can judge for yourself. For archives use the archive virus scanner.
What entropy value means encrypted?
Values above about 7.2 bits per byte over a large block suggest compressed or encrypted data. Values under 1 are padding or empty space, and 4 to 6 is typical of code and text. Small blocks and already compressed media such as JPEG or MP4 also read high, which is normal.