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.

Flash Map MD5: —
PARTITIONS.CSV EDITOR (AUTO-OFFSETS SUPPORTED)Flash offset: 0x8000
COMPILED BINARY LAYOUT & VALIDATION0 entries
NameType/SubOffsetSizeEndFlags

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

CriteriaQuickCoderHub (In-Browser)ESP-IDF gen_esp32part.py CLI
Binary CSV ↔ BINExact 32-byte 0x50AA records + 0xEBEB MD5 trailerRequires Python 3 + ESP-IDF script download
Visual Flash MapInteractive proportional flash bar + remaining free KBText output only
Alignment ChecksAuto-checks 0x10000 (64 KB) app MMU alignment & overlapsErrors out after CLI run
Flashing PipelinePair directly with Firmware Merger (merge_bin) & WebSerial FlasherSeparate 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.

Related ESP32 & Embedded Tools