How to convert UF2 to BIN
- Add your .UF2 file - drop it in the box above or click to browse.
- Convert it to .BIN in a few seconds.
- Download your new .BIN file.
What to expect
- The flash target/base address carried in the UF2 blocks is not preserved in the flat
.bin; you must know the correct offset yourself when reflashing. - If the UF2 had gaps between address ranges, the resulting
.binmay be padded or start at the wrong offset - check the base address. - The
.binalone carries no family ID, so you lose the device-family safety check that UF2 provides.
Frequently asked questions
What's the exact command?
uf2conv.py firmware.uf2 -c -o firmware.bin. The -c flag means convert only, don't flash.Do I need Python?
Yes,
uf2conv.py is a Python 3 script from the microsoft/uf2 repository. There's also a Rust port, uf2conv-rs.Is the flash address kept?
No. The target address in the UF2 blocks is dropped, so the
.bin is a flat image and you must supply the offset when flashing.Can I convert back to UF2 later?
Yes, run
uf2conv.py firmware.bin -c -b <base> -f <family> -o firmware.uf2, supplying the base address and family ID.