Convert a Bitmap to Binary Numbers
Convert a bitmap image to zeros and ones. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
Drop a file here, or click to browse
Files never leave your device
Output
Open or drop a file to see the result here.
Your files never leave this tab
Convert a Bitmap to Binary Numbers 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 Convert a Bitmap to Binary Numbers
- 1. Drop in an image. Browse for or drag a picture onto the input area: BMP, PNG, JPG, GIF or WebP. It is decoded in your browser, with no upload and no server involved.
- 2. Understand the pixel mapping. Pixels darker than the Threshold become 1 and lighter ones 0 (Dark pixels are 0 swaps them), and transparent pixels are 0. Width Auto shrinks a wide picture to 64 pixels so each row stays readable; pick 16, 32, 64 or Original yourself.
- 3. Copy the zeros and ones. The full bit grid appears in the output pane. Copy it into source code, a puzzle answer or another binary tool for further processing.
When to use Convert a Bitmap to Binary Numbers
Convert a Bitmap to Binary Numbers reads a BMP image and writes it back out as a grid of zeros and ones. It bridges the gap between image files and plain text bits, which is exactly what you need when extracting sprites, solving picture-based puzzles or turning artwork into embeddable data.
- Extracting a font or sprite as data. You drew an 8x8 game sprite in an image editor and need it as bit rows for a C array. Convert the BMP and paste the grid straight into your firmware source.
- Solving CTF and puzzle images. Capture-the-flag challenges love hiding messages in tiny monochrome bitmaps. Dumping the pixels as bits lets you decode them as ASCII or feed them into the next stage of the puzzle.
- Preparing icons for monochrome displays. SSD1306 OLED and similar 1-bit displays consume bit patterns, not image files. Converting your BMP icon here is the first step toward the byte array the driver expects.
- Diffing two images at the bit level. Convert two versions of a small bitmap to bit grids and compare the text with a diff tool to find exactly which pixels an edit changed.
Examples
Read a BMP
About the Convert a Bitmap to Binary Numbers tool
Convert a Bitmap to Binary Numbers is a free online tool that works entirely inside your web browser. Convert a bitmap image to zeros and ones. Because the processing happens on your own device, nothing you enter is uploaded, logged or stored anywhere.
This page is one of 112 Binary utilities on EditSafely. Each one does a single job well, and all of them follow the same rule: your input stays on your machine.
You can shape the output with 3 settings, including Threshold (darker pixels become 1), Width and Dark pixels are 0, 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.
Because nothing leaves your device, the tool is suitable for sensitive content such as internal documents, credentials or customer data. It also responds instantly, since every step is handled on your own machine rather than by a remote API.
Frequently asked questions
Is Convert a Bitmap to Binary Numbers free to use?
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?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
Which files does Convert a Bitmap to Binary Numbers accept?
It accepts BMP bitmaps, PNG images, JPG and JPEG photos, GIF animations, WebP images, BMP files, PNG files, JPG files, JPEG files, GIF files and WEBP files. 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?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click Copy button, and Download saves the result as a file.