How to View a Binary File (Hex, Text and Free Tools)
Got a .bin file right now?
Open it free in your browser. See the real file type, hex, text and preview in seconds. Nothing is uploaded.
Open your BIN fileOpen a binary file in Notepad and you get a mess. Boxes, odd symbols and random letters fill the screen. It looks broken. It is not.
Binary files are not made to be read as text. They store numbers, pixels, sounds and program code as raw bytes. To see what is really there, you need the right kind of viewer.
This guide shows you how to view a binary file in three useful ways. You will learn to read the hex bytes, pull out the readable text and find the real file type. No coding needed.
What is a binary file?
Every file on your computer is made of bytes. A byte is a small number from 0 to 255.
In a text file, each byte stands for a letter. The number 65 means “A”. The number 97 means “a”. A text editor turns the bytes into letters and shows you words.
In a binary file, the bytes mean something else. They might be the color of a pixel. They might be a volume level in a song. They might be an instruction for your processor. When a text editor tries to show these bytes as letters, you get garbage.
Common binary files include .bin, .exe, .dll, .dat, .iso, images, videos and most game files. You can read more about the difference in our guide on binary vs text files.
Method 1: View it in a hex viewer
A hex viewer is the standard way to look at a binary file. It shows every byte as a two-digit hexadecimal number. Hex uses the digits 0 to 9 and the letters A to F. So the byte 255 shows as FF, and the byte 10 shows as 0A.
A hex view has three columns:
- Offset. The position of the row in the file, counted in hex. The first row is 00000000.
- Hex bytes. Usually 16 bytes per row, split into two groups of eight.
- ASCII. The same 16 bytes shown as letters. Bytes that are not printable show as a dot.
The easiest hex viewer is in your browser. Open our free online binary file viewer and drop your file in. The hex view appears right away. You can page through the file, jump to any offset and search for text or hex values.
New to hex? Our guide on how to read a hex dump explains it step by step.
Method 2: Pull out the readable text
Most binary files hide some plain text inside. Programs store menu labels, error messages and version numbers as text. Firmware holds model names and build dates. Game files hold titles and credits.
A strings tool finds every run of readable characters and lists them. This is often the fastest way to learn what a file is for.
In our tool, click the “Text strings” tab. You will see each string with its offset. Use the filter box to search. Try words like:
- version
- copyright
- http
- your device model number
You can set the minimum string length too. A higher number cuts out noise. A lower number catches short labels. We cover this more in how to extract strings from a binary file.
Method 3: Find the real file type
The extension on a file is just a name. It can be wrong. A video might be saved as .bin. A ZIP might be saved as .dat.
The real type is written in the first few bytes. This is called the file signature. Here are some you will see often:
- 25 50 44 46 means PDF.
- 50 4B 03 04 means ZIP. Word and Excel files use this too.
- FF D8 FF means JPEG photo.
- 89 50 4E 47 means PNG image.
- 4D 5A means Windows program (EXE or DLL).
- 7F 45 4C 46 means Linux program (ELF).
Our bin file viewer checks these signatures for you. It shows the detected type at the top in plain words. If the file is an image, video or PDF, you can preview it in the “Preview” tab. See our full file signatures list for more.
How to view a binary file on Windows
Windows has no built-in hex viewer. You have three good options.
- Use a browser tool. Open our online viewer in Edge or Chrome. Nothing to install.
- Use PowerShell. Type
Format-Hex -Path "C:\path\file.bin"and press Enter. You get a basic hex dump in the window. - Install a free hex editor. HxD is a popular free choice for Windows. It also lets you edit bytes.
Our guide on opening BIN files on Windows 11 has more detail.
How to view a binary file on Mac and Linux
Mac and Linux come with hex tools in the Terminal. Open Terminal and try:
xxd file.bin | lessshows a classic hex view you can scroll.hexdump -C file.bin | lessshows hex with ASCII on the side.strings file.bin | lesslists the readable text.file file.binguesses the real file type.
Press Q to quit. If you prefer clicking to typing, the browser tool works the same on Mac. See how to open a BIN file on Mac.
How to view a binary file on a phone
Phones do not ship with hex tools. But a browser tool works fine. Open our viewer in Chrome on Android or Safari on iPhone. Tap “Choose file” and pick the file from Downloads or the Files app. The hex view scrolls sideways on small screens.
What to look for when you view a binary file
Once the file is open, a few clues tell you a lot.
The first row
Look at the first 16 bytes. They usually hold the signature and sometimes a version number.
Long runs of 00 or FF
Big blocks of zeros or FF bytes are empty space. In firmware they often separate one part from the next.
Readable words in the ASCII column
Scroll and watch the right column. Words that pop out often name the program, the device or the author.
The entropy score
Our tool shows entropy from 0 to 8. A low score means simple data with lots of patterns. A score near 8 means the data is compressed or encrypted. You will not find readable text in encrypted data. Read what file entropy means to learn more.
Is it safe to view a binary file?
Yes. Viewing only reads the bytes. It never runs the file. Even a virus cannot do anything while you look at it in a hex viewer.
That is why viewing is the smart first step with any unknown download. Check what it is before you double-click it. If our tool says “Windows executable” and you expected a photo, do not run it.
Our online tool adds one more layer of safety. The file never leaves your device. Nothing is uploaded to a server.
Viewing vs editing
A viewer shows you the bytes. An editor lets you change them. If you only want to look, stick with a viewer. You cannot break anything by accident.
If you need to change bytes, use a desktop hex editor and always work on a copy. We explain this in how to edit a BIN file safely.
A worked example: checking a mystery file
Let us walk through a real case. You find a file called data01.bin in an old backup folder. It is 2.1 MB. You have no idea what made it.
You drop it into the binary file viewer. The type line says “Unknown binary data”. That tells you it is not a common format like a photo or archive. The entropy shows 3.9 out of 8. So the data is structured, not encrypted. That is good news, because structured data usually has readable parts.
Next you open the Text strings tab. Near the top you see the name of an old accounting program and a year. Further down are customer names and dates. Now you know this is a data file from that program. To use it, you open it in that program, or in a newer version that can import old files.
The whole check took about a minute. You did not install anything, and you did not risk running an unknown file.
Quick checklist before you view any binary file
- Work on a copy if the file is important.
- Note where the file came from. The folder name is a clue.
- Check the size. Round sizes like 4 MB or 16 MB often mean firmware or chip dumps.
- Look at the type, the first bytes and the entropy before anything else.
- Search the text for names, versions and dates.
Frequently asked questions
Can I view a binary file in Notepad?
You can open it, but you will mostly see junk. Notepad tries to show every byte as a letter. Use a hex viewer instead.
What is the best free binary file viewer?
For quick checks, a browser tool like ours is fastest because it needs no install and detects the file type. For heavy editing, a desktop hex editor is better.
Can I view very large binary files?
Our online viewer handles files up to 500 MB on most computers. For files of several gigabytes, a desktop hex editor that reads from disk works better.
How do I convert a binary file to readable text?
You can export a hex dump or the text strings as a .txt file. Both are in the “Convert & save” tab of our tool. See BIN to TXT for details.
Wrap up
Viewing a binary file is easy once you use the right tool. A hex viewer shows the raw bytes. A strings view pulls out the hidden text. A signature check tells you the real file type.
You can do all three at once with our free binary file viewer. Drop your file in and see what is inside in seconds.