About Hex Viewer
Open any file to see exactly what is in it: each byte in hexadecimal beside its printable text, sixteen or eight to a row. Jump to an offset in hex, decimal or counted back from the end, step through the file a page at a time, and search for a run of hex bytes or a piece of text. The bytes at the cursor are read as signed and unsigned integers from 8 to 64 bits, as 32- and 64-bit floats and as a UTF-8 character, in either byte order.
The file is read in slices on this device, one page or one search chunk at a time, so even files of several gigabytes open at once. This is a viewer: it does not change the file.
How it works
- Only the page on screen is read from the file, using a slice of it, so the size of the file does not slow the view down.
- Offsets typed with 0x are hex, plain numbers are decimal, and a number with a minus sign counts back from the end of the file.
- A search reads the file in 4 MB chunks that overlap slightly, so a match across a chunk boundary is still found. It starts at the cursor, continues round from the start, and can be cancelled.
- The value inspector reads up to eight bytes at the cursor as integers and floating-point numbers in the byte order you choose.
Questions
How large a file can I open?
Files up to 64 GB. Pages are read as slices, so a large file opens as quickly as a small one; a search through a very large file takes longer and shows its progress.
Can I edit the bytes?
No. This is a viewer only; the file is never changed or saved.
How do I search for text that is not ASCII?
Choose Text: what you type is searched for as UTF-8 bytes, so accented letters and other scripts are found where the file stores them as UTF-8. Text in UTF-16 can be found by typing its bytes in hex.
Is the file uploaded?
No. It is read on this device, a slice at a time, and nothing is sent anywhere.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.