ESP32 partitions.csv ↔ partitions.bin Compiler & Decompiler
Browser-native replacement for Espressif's gen_esp32part.py. Compile partitions.csv into a flash-ready, MD5-checksummed 3 KB partitions.bin (offset 0x8000), or drop any dumped partitions.bin to decompile it back to CSV and inspect flash alignment 100% locally.
0x8000| Name | Type/Sub | Offset | Size | End | Flags |
|---|
Online gen_esp32part.py: Compile & Decompile ESP32 Partition Tables Without Python
Every ESP32, ESP32-S2, ESP32-S3, and ESP32-C3 stores its flash layout in a compact binary partition table at 0x8000—made of 32-byte 0x50AA records followed by a mandatory 0xEBEB MD5 integrity record. Most web calculators only emit text CSV files, forcing developers to install ESP-IDF or run gen_esp32part.py in Python just to convert between partitions.csv and partitions.bin.
This pure client-side tool implements the full Espressif binary specification directly in JavaScript: it auto-computes 64 KB aligned app offsets, catches flash overflows and overlaps, verifies MD5 digests on uploaded .bin dumps, and compiles a ready-to-flash partitions.bin completely offline.
Browser Compiler vs. gen_esp32part.py CLI
| Criteria | QuickCoderHub (In-Browser) | ESP-IDF gen_esp32part.py CLI |
|---|---|---|
| Binary CSV ↔ BIN | Exact 32-byte 0x50AA records + 0xEBEB MD5 trailer | Requires Python 3 + ESP-IDF script download |
| Visual Flash Map | Interactive proportional flash bar + remaining free KB | Text output only |
| Alignment Checks | Auto-checks 0x10000 (64 KB) app MMU alignment & overlaps | Errors out after CLI run |
| Flashing Pipeline | Pair directly with Firmware Merger (merge_bin) & WebSerial Flasher | Separate esptool.py invocation |
Frequently Asked Questions
How do I fix "Sketch too big" on a 4MB ESP32?
Switch to the Huge App 3MB preset (for single-slot non-OTA projects) or Minimal SPIFFS (1.9MB Dual OTA) if you still need over-the-air updates, then download partitions.csv or the compiled partitions.bin.
Can I inspect an existing partitions.bin read from an ESP32 chip?
Yes. Click Decompile partitions.bin and drop the 3 KB binary file dumped from flash offset 0x8000. The tool decodes every entry, checks its MD5 trailer, and populates the editable CSV table.
Does this match gen_esp32part.py byte-for-byte?
Yes. It writes standard 32-byte little-endian records with magic 0xAA 0x50, null-padded 16-byte labels, flags, the trailing 0xEB 0xEB MD5 block, and 0xFF flash padding to 0xC00 (3072 bytes).
Does my firmware partition table leave my browser?
Never. All binary compilation, MD5 calculation, and decompilation run 100% client-side in your browser.