Binary to file.
Paste binary and get the file back. The tool decodes the bytes in your browser, tells you what they look like, shows an image when it is one, and downloads under the name you choose.
Binary to file.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
3 steps, no account. It runs in your browser and nothing is uploaded.
Paste the Binary
Paste the Binary, or drop a text file that holds it; the bytes are decoded as you type.
See what the bytes are
The result says how many bytes there are and what format they start like, with a preview when it's an image.
Name the file and download it
The name is guessed from the bytes; change it if you know better, then press Download.
Related tools
More encoders and decoders. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Binary is the alphabet of two digits, 0 and 1, the bits a computer stores. Written out, a byte is eight digits: the letter A, 65, is 01000001. There is nothing to decode but the grouping, and nothing shorter: a binary string is eight times the size of the bytes it shows.
Every byte is written as its eight bits, most significant first, usually with a space between bytes so the groups can be read. The output is 700% larger than the input, eight digits for every byte. The decoder takes the digits with or without spaces, as long as there are eight per byte.
Learning how computers store text and numbers, reading a bit field or a flag byte, checking a protocol's bit layout, digital electronics homework, and showing a child what a letter looks like to a machine.
Technically, since it is only digits; practically no one sends a URL eight times longer than it needs to be.
It is the least efficient encoding by far and the only one that shows every bit. Use it to see or teach; use hex to read bytes at a glance and Base64 to carry them.
No. Binary is an encoding, not encryption: it changes how bytes are written, not who can read them, and anyone can decode it with no key. Encrypt first (AES, age, a library's sealed box) when the content needs protecting, then encode the ciphertext if it has to travel as text.
Paste the Binary into the input, or drop a text file that holds it. The tool decodes the bytes, says what they look like and how many there are, and shows the image when they are one. Check the file name, which is guessed from the bytes, and press Download.
From the first bytes. Most formats start with a signature, 89 50 4E 47 for PNG, %PDF for PDF, PK for ZIP, and the tool knows the common images, documents, archives, fonts and media, and tells text from the rest. It is a guess for the file name only; if you know what the bytes are, rename the file and it downloads under that name.
Usually the Binary was cut short or carries something extra. Copy the whole value, including its end; leave out quotes and commas from the surrounding code. If the status line says the bytes look like text when you expected an image, the value wasn't the file's Binary to begin with.
Nothing leaves your browser. The text is read into memory on your machine and the encoding is computed there, in plain JavaScript; the page makes no request with it. Load the page, go offline and it keeps working.
No. The "Binary to file" tool is free and opens without a sign-in, an account or an install.
Nothing. The "Binary to file" tool holds your input in the page's memory, so closing or reloading the tab clears it, and it saves nothing in this browser.
Yes: you can rename it before downloading. The default name is decoded plus the extension the format suggests, such as decoded.png.
When the bytes start like a PNG, JPEG, GIF, WebP, AVIF, ICO, BMP or SVG image, the page shows a preview before you download it. Other types show their size and the name of the format they start like.
The decoder takes 0 and 1 only, eight digits to a byte, with spaces ignored.
Closest to the "Binary to file" tool: File to Binary, Binary decoder, Binary encoder, Hex to file. Each opens on its own page, free and in the browser.
The "Binary to file" tool is one of 32 in its group. The group's page, /tools/encoding, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro





