Supports .JPG. and .JPEG. encrypted files
Repair photos damaged by ransomware
Find the first valid MCU boundary after the encrypted prefix, rebuild a fresh JPEG header, and view the recovered photo right in your browser.
- Files never leave your device
- No sample photo required
- Works in any modern browser
recovered.jpg — marker layout
- SOI2 B
- DQT · SOF0 · DHTrebuilt header
- SOSscan start
- entropy datasurviving MCU rows
- EOI2 B
Recovery tool
Rebuild the photo in one step
Drop encrypted photos below. Processing happens entirely in your browser — files are never uploaded to any server.
$ waiting for input file...
How it works
Five steps from encrypted to viewable
Many ransomware variants only encrypt the first part of a photo, destroying the SOI, DQT and DHT headers. The compressed scan after it often survives — and that is enough to rebuild the image.
- 01
Read the encrypted file
The photo is loaded into browser memory. Nothing is sent over the network.
- 02
Find an MCU boundary
Skips the encrypted prefix and searches byte and bit offsets for data that decodes as valid MCUs.
- 03
Infer the geometry
Tests 4:2:0, 4:2:2, 4:4:4 and grayscale layouts, then finds the row width from luma DC correlation.
- 04
Rebuild the header
Writes a fresh SOI, DQT, SOF0, DHT and SOS using standard tables — or exact tables from a sample.
- 05
Fix the colours
Rewrites only the lost DC predictor to remove the brightness and colour cast. Detail is untouched.
Before — encrypted file
After — recovered file
After repair
Getting the best possible result
The encrypted top rows are gone, so every recovered photo is shorter than the original. These steps help you recover more.
- 1
Add a sample photo
A readable JPEG from the same camera and resolution gives exact dimensions, tables and colours.
Open the tool - 2
Identify the ransomware
Upload the ransom note or an encrypted file to find out which family attacked your files.
ID Ransomware - 3
Look for a free decryptor
Security vendors publish free decryptors for many variants — these restore the full photo.
nomoreransom.org
FAQ
Common questions
Is my photo uploaded anywhere?
No. The recovery engine runs entirely in your browser using WebAssembly. Your photo never leaves your computer — only the Python runtime is downloaded once from a public CDN.
Which file names are supported?
Any file whose name contains .JPG. or .JPEG. followed by the ransomware extension, for example IMG_0001.JPG.id-1A2B.[mail].locked or photo.jpeg.encrypted. The appended extension is ignored and the original name is used for the recovered photo.
Why is the top of my photo missing?
Those rows were inside the encrypted prefix and cannot be restored without the decryption key. The tool recovers every complete MCU row that survived after it.
Why do the colours or brightness look wrong?
The original quantization tables and the first DC value were destroyed. Keep "Auto-adjust colours" on, try a different quality, or add a sample photo from the same camera for exact tables.
What does "no usable MCU boundary found" mean?
The surviving data could not be decoded. Try a larger encrypted prefix, add a sample photo, or the file may be fully encrypted, progressive, or not a JPEG.
Why does the first repair take longer?
The first run downloads the Python runtime (about 15 MB) and caches it. Each photo is then decoded bit by bit, which can take 20 seconds to a few minutes for large camera images.