EditSafely

Binary Dump a File

Create a binary dump of files in your browser.

Runs on your device, nothing uploaded

Input

Drop a file here, or click to browse

Files never leave your device

Output

Open or drop a file to see the result here.

Options
Bytes per line (0 = single line)
Show

Your files never leave this tab

Binary Dump a File is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.

  • No upload
  • No file size limit
  • Works offline once loaded
  • Nothing stored or logged

How to use Binary Dump a File

  1. 1. Choose any file. Drag a file onto the drop zone or click to browse. Any file type works, from executables to fonts to office documents, because the dump reads raw bytes rather than interpreting the format.
  2. 2. Set Bytes per line. Bytes per line sets the row length: 4 fits a phone, 8 or 16 suit a desktop, and 0 writes one continuous line for a script. Each row starts with its offset and ends with the printable text, like xxd -b; either column can be switched off.
  3. 3. Copy the bit dump. The first 64 KB are shown, and Show the whole file dumps everything. The stats name the file type when its first bytes give it away. Copy the dump, or download it as a .bits.txt file named after yours.

When to use Binary Dump a File

Binary Dump a File is the bit-level cousin of xxd: it turns any file into readable zeros and ones without leaving the browser. When you need to inspect magic numbers, confirm what a file really contains or feed literal bits into another tool, dumping the raw bytes is the first move.

  • Identifying a file with a wrong extension. Someone emailed you data.txt that refuses to open. Dump the first bytes and compare them against known signatures; 10001001 01010000 01001110 01000111 at the start means it is really a PNG.
  • Teaching how files are stored. In a lesson on encodings, dumping a tiny text file makes the abstraction concrete: students see that the letter A on disk is literally the pattern 01000001.
  • Debugging a serializer byte by byte. Your code writes a custom binary format and a reader elsewhere rejects it. A bit dump of the produced file lets you check field boundaries and flag bits against the spec.
  • Extracting bits for another converter. You want to push a file's contents through a bitwise tool or checksum exercise. Dump it with 0 bytes per line to get one clean unbroken bitstream to paste onward.

Examples

One byte

Output

0000: 01000001  A

About the Binary Dump a File tool

Binary Dump a File does its work locally, right in the browser. Create a binary dump of files in your browser. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Binary Tools collection on EditSafely, a set of 112 small, focused Binary utilities that share the same instant, private workspace.

You can shape the output with 4 settings, including Bytes per line (0 = single line), Offset column, Text column and Show, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as soon as your input does, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Does Binary Dump a File cost anything?

Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.

Are my files uploaded to a server?

No data leaves your device. The whole tool is JavaScript that runs inside your browser tab, so there is no upload, no server-side processing and no log of what you did. If you disconnect from the internet after the page loads, it keeps working.

Which files does Binary Dump a File accept?

It accepts your file. There is no file size cap imposed by a server; very large files are limited only by your device's memory.

Do I need to sign up or install anything?

Nothing to install and no account needed. Open the page in any up-to-date browser, including on a phone or tablet, and the tool is ready.

How do I use the result?

The output panel has a one-click Copy button, and Download saves the result as a file.