ESP32 NVS (nvs.bin) Partition Decoder & Generator
Browser-local replacement for Espressif's nvs_partition_parser.py and nvs_partition_gen.py. Drop any dumped nvs.bin flash image to inspect namespaces, Wi-Fi/config strings, integers, blobs, and CRC32 headers—or compile an ESP-IDF CSV directly into a flashable nvs.bin with zero uploads.
key,type,encoding,value)Compiled live → NVS v2| Namespace | Key | Type | Value | CRC32 |
|---|
Inspect & Build ESP32 nvs.bin Flash Images Without Installing Python or ESP-IDF
ESP32 firmware uses Non-Volatile Storage (NVS) to persist Wi-Fi SSIDs, MQTT brokers, device serial numbers, and calibration constants in 4 KB wear-leveled flash pages. Because NVS stores sensitive device credentials, embedded teams avoid uploading nvs.bin dumps to cloud websites—leaving Python CLI scripts (nvs_partition_gen.py / nvs_partition_parser.py) as the only option until now.
This pure client-side utility implements Espressif's NVS v2 binary page header, 2-bit entry state bitmap, IEEE CRC-32 checksums, namespace index table, primitive integers, null-terminated strings, and binary blobs directly in JavaScript inside your browser.
Browser NVS Studio vs. ESP-IDF Python NVS Scripts
| Criteria | QuickCoderHub (In-Browser) | nvs_partition_gen.py / parser.py |
|---|---|---|
| Round-Trip Decode + Encode | Inspect binary dumps AND compile CSV → nvs.bin in one tab | Two separate Python CLI tools inside ESP-IDF |
| CRC32 Integrity Verification | Verifies every 4 KB page header CRC & every 32-byte entry CRC | Basic CLI dump output |
| Credential Privacy | 100% browser-local; Wi-Fi passwords & keys never leave your machine | Local CLI only |
Frequently Asked Questions
How do I dump nvs.bin from my ESP32 so I can inspect it here?
Use esptool.py read_flash 0x9000 0x5000 nvs.bin (adjusting offset/size if your custom partition table places NVS elsewhere), then click Open & Decode nvs.bin above.
Which NVS data types are supported?
Supports namespaces, signed/unsigned integers (u8, i8, u16, i16, u32, i32), UTF-8 null-terminated string entries, and hexadecimal hex2bin binary blobs.
Can this decode an encrypted NVS partition?
No—encrypted NVS partitions use AES-XTS with keys stored in your board's separate nvs_keys partition. Decrypt with your board key first if NVS encryption is enabled.
Is my nvs.bin uploaded to a server?
Never. All binary reading, CRC-32 checks, and binary compilation run 100% offline in your browser.