Why Are Hex Editors Called Binary Editors?

why-are-hex-editors-called-binary-editors photo 1

Sometimes names and terms are pretty interchangeable and everyone understands what is being referred to without confusion, but then there are times when things are not so clear and leave you with more questions than answers. Today’s SuperUser Q&A post helps clarify things for a confused reader.

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

Hex editor screenshot courtesy of Rwxrwxrwx (Wikipedia).

The Question

SuperUser reader Joseph A. wants to know why hex editors are called binary editors:

Hex and binary are two different bases. Hex, as I understand it, is simply an “easier to use” version of binary and more convenient. However, I hear quite often that hex editors are binary editors. If you actually search for “binary editors” on Google, you get hex editors. Why is that? What is the connection?

Why are hex editors called or referred to as binary editors?

The Answer

SuperUser contributors Steven and BarryTheHatchet have the answer for us. First up, Steven:

A binary editor edits a binary file. [Binary File – Wikipedia]

  • A binary file is a computer file that is not a text file. […] Binary files are usually thought of as being a sequence of bytes, which means the binary digits (bits) are grouped in eights. Binary files typically contain bytes that are intended to be interpreted as something other than text characters.

A hex editor is a type of binary editor in which binary data is represented in hexadecimal form. [Hex Editor – Wikipedia]

  • A hex editor (or binary file editor or byte editor) is a type of computer program that allows for manipulation of the fundamental binary data that constitutes a computer file. The name “hex” comes from “hexadecimal”, a standard numerical format for representing binary data.

Followed by the answer from BarryTheHatchet:

Terminology is hard and different people have all sorts of different names for things.

In this instance, it appears that the “hex” in “hex editor” refers to the conventional human-readable representation of each byte’s value, whereas the “binary” in “binary editor” refers to the notion that you are indeed editing the file at the byte level (computers store bytes in binary) without consideration for higher-level text encoding and the like. Recall that files not readily representable in higher-level text form are called “binary files” or “binaries” for the same reason.

Neither is technically incorrect, they just come at the naming problem from different angles. On a personal note, though, I would tend to agree that “binary editor” is confusing overall.


Have something to add to the explanation? Sound off in the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

More stories

How to Turn Off Spell Check as You Type in Microsoft Office

In addition to the standard spell checking tool, Word, PowerPoint, and Outlook can also check spelling and grammar as you type, indicating errors using colored, squiggly lines under the text. However, if all the squiggly lines are too distracting, you can turn one or both of these features off.

How to Install an External Wi-Fi Adapter On a Windows 10 Laptop

If your laptop’s internal Wi-Fi adapter is dead, or just doesn’t have enough power to get the kind of speed you were hoping for, you might want to look into installing a third-party adapter that can boost the signal. Here’s what you need to know.

Why Does “dir C:” Return Such Different Results From “dir C:”?

As you learn about using the command line and what the various commands can do, you may wonder why you get such different results for what appears to be nearly identical commands. With that in mind, today’s SuperUser Q&A post helps a confused reader understand the differences.

How to Rotate a Video 90 Degrees on Windows

If you’ve ever recorded a video on your smartphone, only to find it sideways or upside down, then you know how frustrating it can be to watch it later. If you use Windows, there are a couple of excellent ways to fix this problem.

How to Change How Long Windows 10 Displays Notifications

By default, pop-up notifications in Windows 10 only stick around for about 5 seconds before they are sent off to the Action Center. If you’d like those notifications to stay on the screen a little longer, it’s an easy change to make. You just have to know where to look for it.

How to Change Excel’s Decimal Separators from Periods to Commas

In the US, we use a period, or point, as a decimal separator (1.23). The same is true in the UK and Australia. However, other European countries use the comma as a decimal separator instead. Different delimiters are also used for separating thousands groups (1,000).

How to Remove a Word You Added to the Dictionary on Mac OS X

Most Mac applications use the operating system’s spell check feature, and share the same personal dictionary. So if you add a custom word to your dictionary in one application, other Mac apps won’t detect it as a typo in the future. But there’s no obvious way to remove a word from the dictionary if

How to Make “Games for Windows LIVE” Games Playable on Windows 10

Many old PC games seem to work fine on Windows 10, but games using Microsoft’s failed Games for Windows LIVE (GFWL) platform are an exception. They’ll give you an error on Windows 10. You can remove GFWL from many games entirely, though, or just troubleshoot it and make it work properly.

Why Do Operating Systems Have a Shut Down Option?

Most of us use an operating system’s built-in “shut down function” to turn our computers off, but what if you are considering using a computer’s power switch instead? Does it really matter which method you use or will it lead to problems if you use the power switch? Today’s SuperUser Q&A post has