Firmware Binary Merger (esptool merge_bin) & UF2 Converter
Step 1 of the Embedded & IoT pipeline: combine bootloader, partition table, OTA data, and app binaries with 0xFF flash padding into one flashable factory.bin or package .uf2 firmware images, then send straight to WebSerial Flasher.
Online esptool merge_bin & UF2 Converter (No Python or SDK Needed)
Distributing ESP32 firmware to teammates, customers, or web flashers usually requires combining three or four separate files—bootloader.bin (0x1000 or 0x0), partitions.bin (0x8000), boot_app0.bin (0xe000), and firmware.bin (0x10000)—into a single flashable factory.bin image. Normally that means installing Python, pip, and running esptool.py merge_bin, or running uf2conv.py / picotool for drag-and-drop UF2 bootloaders.
This browser tool pads unused flash regions cleanly with 0xFF (matching NOR flash erased state), validates that no binary segments overlap, exports a ready-to-flash merged factory.bin or UF2 image with the correct family ID, and lets you send the result straight to our WebSerial ESP32 Flasher.
Browser Firmware Merger vs. esptool.py merge_bin & uf2conv.py
| Criteria | QuickCoderHub (In-Browser) | Desktop / CLI Alternative |
|---|---|---|
| Dependencies | None — zero Python, pip, or CLI install | Requires Python 3, esptool, uf2conv.py, or picotool |
| Overlap Safety | Visual memory-map layout & overlap check before export | CLI flags easy to mistype on hex offsets |
| UF2 Conversion | Built-in 512-byte UF2 block builder (RP2040, ESP32-S2/S3, SAMD) | Separate uf2conv.py script needed |
| Direct Flashing | One-click handoff to WebSerial Flasher | Separate esptool write_flash command |
Step-by-Step Workflow
- Add each firmware segment (.bin) and set its exact target flash offset in hex (e.g., 0x1000 for ESP32 bootloader, 0x8000 for partitions, 0x10000 for app).
- Check the visual flash map to verify zero segment overlaps and confirm the 0xFF gap padding size.
- Export a single merged factory.bin for flash offset 0x0, or choose UF2 output with your MCU family ID for drag-and-drop USB mass-storage flashing.
- Optionally open the merged binary directly in our WebSerial Flasher to program your board over USB.
Frequently Asked Questions
How do I run esptool merge_bin online without installing Python?
Load your bootloader.bin, partitions.bin, and app firmware.bin above, enter their hex offsets, and click Merge. It generates the exact same 0xFF-padded single factory.bin image as esptool.py merge_bin, completely offline in your browser.
What are the standard ESP32 vs. ESP32-S3 / ESP32-C3 flash offsets?
Classic ESP32 places the bootloader at 0x1000, partition table at 0x8000, and main app at 0x10000. ESP32-S3, ESP32-C3, and ESP32-C6 place the bootloader at 0x0 instead of 0x1000. Always check your sdkconfig or PlatformIO build log to confirm.
How do I convert a .bin file to .uf2 for RP2040 Pico or ESP32-S2/S3?
Switch to UF2 export mode, load your raw .bin image, pick the target microcontroller family ID and base flash address, and download the standard 512-byte-block .uf2 file ready to drag onto the RPI-RP2 or UF2BOOT USB drive.
Why does the merged factory.bin pad empty space with 0xFF instead of 0x00?
SPI NOR flash memory erases bits to logic 1 (0xFF). Padding gaps with 0xFF matches erased flash state, avoids unnecessary flash wear, and matches esptool merge_bin's exact binary output.