All supported formats
image.bmp
Repair Corrupted BMP Images Online Free
Restores `BM` magic signatures and recalculates `bfSize` and `biSizeImage` header lengths losslessly in your browser.
Select or drop BMP files
Accepts .bmp files (or any supported format). Runs 100% locally in your browser.
No BMP file handy? Try a broken sample:
0 bytes uploaded • Zero server storage
BMP Errors You Might See
- Bitmap image fails to open with "Invalid BMP header"
- Mismatched bfSize or biSizeImage fields after truncation
- Damaged BM magic bytes prevent Windows/macOS previewing
What We Repair Locally
- Restores corrupted 2-byte `BM` file signature
- Recalculates `bfSize` total file size in the BMP file header
- Updates `biSizeImage` in BITMAPINFOHEADER to match pixel payload
- Streams large BMPs (>25 MB) via zero-copy File.slice() patching
How BMP Repair Works
1
Check BM & DIB Header
Inspects the 14-byte file header and BITMAPINFOHEADER.
2
Recalculate Sizes
Fixes `bfSize` and `biSizeImage` against the real byte length.
3
Verify & Export
Previews the bitmap and lets you download or re-encode as PNG.
What Cannot Be Repaired Automatically
- Files smaller than 26 bytes missing the DIB header
- Overwritten or zeroed raw pixel arrays
Frequently Asked Questions
- Is BMP repair lossless?
- Yes, pixel data is never re-encoded; only damaged header fields are repaired.
- Can I save a repaired BMP as PNG?
- Yes, once previewed you can click 'Save Clean Copy (Re-encode)' to export a smaller PNG.