Hey there, Dumper

If you’ve ever dug into low-level data, firmware, or debugging a wonky piece of hardware, odds are you’ve seen hexdump floating around. As someone who’s been in the dumper game for years (my team’s got folks who’ve chased corrupt memory dumps and weird binary data long before Python was even a blip), I get that most new folks see hexdump and think, “Cool, it just prints hex numbers. Not a real dumper tool.” Let me save you some time: they’re dead wrong. Hexdump is one of the most versatile, underrated dumper tools out there—if you know how to actually use it, especially when you’re working closely with external dumpers (shoutout to my team’s hardware/software combo that pairs perfectly with this).
First, let’s cut through the jargon. What is hexdump, exactly? It’s a command-line utility that ships with most Unix-like systems (Linux, macOS, even WSL on Windows now) that converts raw binary data into a human-readable format—hexadecimal numbers, ASCII text, the whole nine yards. It’s not a fancy GUI tool, but when you’re deep in a terminal, trying to dump data straight from your external dumper to a file or your screen, it’s irreplaceable. I’ve used it for everything from dumping raw memory from a microcontroller I was troubleshooting with our dumper to checking if a firmware dump had a hidden chunk of data that wasn’t showing up in a hex editor.
Let’s start with the basics so even total newbies can get up and running. The simplest hexdump command is just hexdump [file], right? If you run that on a random binary file (maybe a test dump from a basic dumper), you’ll get output like three columns: the offset (where in the file you are), then the hex bytes, then the ASCII equivalent. Wait, but that default output is kind of clunky, right? The middle section’s split into two sets of 8 bytes each, which isn’t super intuitive for dumping large blocks. That’s where flags come in—you don’t need to memorize every single one, just the handful that make your dumps actually useful.
Here’s a pro tip I wish someone had told me years ago: use -C for canonical hex+ASCII output. That’s hexdump -C [file]. This gives you a clean, single block of 16 hex bytes per line, with the offset at the start and the ASCII on the end—no weird split columns. I use this every single time I dump data. Why? Because when you’re comparing two dumps from our dumper, or cross-checking with a hex editor, this format is exactly what you’ll see elsewhere. No more squinting at messy output trying to match bytes.
Now, when you’re working with an external dumper (our dumper, to be specific), how do you actually pipe data from the dumper to hexdump? A lot of new users make the mistake of saving the dumper’s output to a file first, then running hexdump on that. But why waste the disk I/O if you don’t need to? You can pipe the dumper’s straight output right into hexdump. Let’s say your dumper writes to /dev/ttyUSB0 (super common for hardware dumpers) at 9600 baud. The command would be something like cat /dev/ttyUSB0 | hexdump -C. That’s it. You’ll see the raw data from the dumper streaming straight to your terminal, no intermediate files needed. Game changer for debugging on the fly—if the dumper’s giving garbage, you’ll see it immediately instead of waiting for a file to save.
But wait, what if you only need to dump a specific part of the data? Say your dumper spits out a 10MB file, but you only care about the first 512 bytes (like the boot sector of a device). Hexdump can handle that with -n—that’s for count. So hexdump -C -n 512 [file] will only show the first 512 bytes. And if you need to start at a specific offset, use -s for skip. Like, if you know the useful data starts at byte 0x100, that’s hexdump -C -s 0x100 [file]. I use these flags all the time when I’m checking firmware dumps from our dumper—no scrolling through gigabytes of irrelevant data to find what I need.
Here’s a trick that’s been a lifesaver for troubleshooting: you can use hexdump to compare two dumps side by side. Wait, hexdump alone won’t do a full diff, but if you use -C to get the clean format, you can pipe both dumps into diff and it’ll show you exactly where they differ. For example, if you have two dumps from our dumper—one that worked, one that didn’t—run diff <(hexdump -C good_dump) <(hexdump -C bad_dump). The output will highlight every line where the bytes don’t match, down to the exact offset. That’s way faster than opening two separate hex editors and flipping back and forth. I’ve used this to fix a dumper firmware bug that was only messing up the last 32 bytes of each dump—saved me hours of manual checking.
Now, let’s talk about when hexdump pairs best with our dumper. A lot of our clients use our hardware dumper for things like embedded memory, flash chips, or even old hard drive dumps. Our dumper outputs raw binary data, which is exactly what hexdump eats for breakfast. If you’re dumping a NOR flash, for example, you can connect our dumper to the flash chip, power it on, and instead of using a dedicated GUI tool (which often has bloat and glitches on old hardware), just pipe the dumper’s output to hexdump. You’ll get a clear, structured view of every byte, no unnecessary formatting. And if you need to save the dump for later analysis, you can redirect hexdump’s output to a file: hexdump -C [dump_file] > dump_hex.txt. That text file is perfect for sending to other engineers, or loading into a disassembler later.
Wait, but what if you’re on macOS? Or WSL on Windows? I know a lot of folks get tripped up by small differences there. On macOS, hexdump works almost the same, but some flags might be slightly different—wait no, actually the -C canonical flag is standard on both macOS and Linux these days. On WSL, just make sure you’re using the Ubuntu/Debian repo version, not some outdated build. If it’s not installed, just run sudo apt install bsdmainutils on WSL, that’ll get you the latest hexdump. A lot of new Linux users ask me about that, so that’s a quick heads up.
Another common mistake: using hexdump on non-binary files. Wait, duh, but people do it all the time. If you run hexdump on a text file, it’ll show the ASCII bytes, but that’s not what it’s designed for. It’s for raw binary data, which is exactly what our dumper produces. So stick to dump files, raw device nodes, binary firmware—hexdump shines here.
Let’s do a quick real-world example from last month, when a client brought us a broken dumper that couldn’t read a 256MB flash chip. They were using a $10 GUI tool that was crashing halfway through the dump. We had them connect our dumper to the chip, then run cat /dev/dumper0 | hexdump -C -s 0x10000 -n 65536 (to skip the first dummy header the old tool was adding). The hexdump output immediately showed that the flash had a bad block at offset 0x80000—all the bytes there were 0xFF, which is normal, but the tool they were using wasn’t skipping bad blocks. We adjusted our dumper’s settings and got a full, valid dump that hexdump then verified was 100% intact. That’s the kind of pairing we live for.
Now, let’s get to a few advanced tricks that’ll make you look like a dumper pro. If you want only the hex bytes (no offsets or ASCII) for scripting, use -e to define a custom format string. That’s hexdump -e '/1 "%02X "' [file]—that’ll spit out a space-separated string of all hex bytes, perfect for pasting into a hex editor or using in a bash script to process dumps automatically. I’ve got a little script that runs this command on every dump from our dumper and checks for any 0x00 bytes in the middle (which can indicate data corruption) before the client even sends us their analysis.
Or, if you’re working with 32-bit or 64-bit data (super common for firmware), hexdump can handle that too. Use -e to format bigger blocks: hexdump -e '/4 "%08X "' [file] will print every 4 bytes as a single 32-bit hex value. That’s great for checking the integrity of a firmware’s header, which is usually made up of 32-bit integers for version numbers and sizes.
But here’s the thing about hexdump: it’s not a replacement for a full dumper tool, it’s a complement. Our dumper is built to grab raw, reliable binary data from any target, but hexdump is the tool that lets you actually see and work with that data in a terminal. A lot of people overlook that synergy—they buy a dumper, then use a fancy GUI tool that adds bloat, slows things down, and misses small issues. Hexdump is lightweight, fast, and gives you exactly the data you need, no frills.
Wait, let’s address a common pushback: “Why use hexdump when there’s xxdd or od?”. Yeah, those exist. But hexdump’s canonical format is way more human-readable for day-to-day use. Od is super old, its flags are inconsistent across systems, and xxdd is good for disk partitions but not for small binary dumps. Hexdump hits that sweet spot between simplicity and power, especially when you’re working closely with a hardware dumper like ours.
If you’re just getting started with dumpers, I’d suggest practicing with hexdump first. Grab a spare flash chip, connect it to our dumper, run a test dump, and play around with the flags: -C, -n, -s, the format strings. You’ll get the hang of it in an hour, and it’ll save you so much time down the line when you’re troubleshooting real dumps.
And if you’re ready to upgrade from your current dumper setup—especially if you’re dealing with tricky targets like embedded systems, old hardware, or flash chips that give other tools trouble—our team can help. We build dumpers that work seamlessly with hexdump, no weird compatibility issues, no proprietary software you have to learn. We’ve got clients ranging from hobbyists working on retro consoles to industrial engineers troubleshooting firmware, and we tailor our dumpers to fit your workflow—whether that’s piping straight to hexdump, saving to files, or integrating with your existing tools.
If you’re tired of tools that crash mid-dump, add extra junk to your dumps, or make you pay for extra features you don’t need, reach out to our team to chat about your dumper needs. We don’t do cookie-cutter solutions, and we’ll make sure our dumper plays nice with hexdump and every other tool you already use.
Now, quick references for anyone who wants to dive deeper: most Linux and Unix man pages for hexdump have a full list of flags, and the official BSD hexdump docs cover the custom format strings if you want to build more complex commands.

That’s all for now. Go fire up your terminal, grab a test dump from our dumper, and play with hexdump—you’ll be surprised how much you can do with it.
Excavator References:
- BSD General Commands Manual: hexdump(1)
- Linux man-pages: hexdump (1)
- Hexdump Utility Documentation, The Open Group Base Specifications Issue 7
Wuxi Mr Hippo Machinery Co., Ltd.
Wuxi Mr Hippo Machinery Co., Ltd. is one of the most professional dumper manufacturers and suppliers in China, featured by good service and low price. If you’re going to buy high quality dumper made in China, welcome to get quotation from our factory. Also, customized service is available.
Address: 15-5 Tianshun Road, Yangshan Industrial Park, Huishan District, Wuxi City
E-mail: wlcl.lp@163.com
WebSite: https://www.hwzymachines.com/