ByteScope

ESP Firmware Flasher

ESP web flasher for ESP32 / ESP8266 — write .bin files, detect the chip, back up flash. Runs in Chrome or Edge; no IDE, no esptool install.

Talks to your board locally over Web Serial — firmware never leaves your browser.

Checking browser support…

About this tool

This is an online ESP32 and ESP8266 flasher: plug the board into USB, open the page in Chrome or Edge, and write a .bin file to it over the Web Serial API. It auto-detects the chip (ESP32, S2, S3, C2, C3, C5, C6, C61, H2, P4 and the ESP8266) and reads the flash size and MAC address. There is no Python, no esptool.py and no Arduino IDE to install. It is built on esptool-js, Espressif's own flashing library (Apache-2.0), so it speaks the same bootloader protocol as the command-line tool.

How to flash a .bin file to an ESP32 in the browser

Open this page in desktop Chrome, Edge or Opera and click Connect a board. Pick the board's serial port in the browser dialog; if the board does not enter download mode by itself, hold the BOOT/IO0 button while connecting. Choose Files + addresses (one .bin per offset) or Merged binary (a single file), drop the file in, check the offset and click Flash. The tool blocks unaligned, overlapping or oversized writes, warns when a file does not start with the 0xE9 image byte, and hard-resets the board when it is done. The default speed is 921600 baud; drop to 460800 or lower if a cheap cable fails mid-write. It works the same on Windows, macOS and Linux, though Linux may need permission to open the serial device and Windows may need the board's CP210x or CH340 USB driver.

Flash addresses and merged binaries

A full ESP firmware is usually three files written to three flash offsets: bootloader, partition table and app. This tool pre-fills the standard offsets for the detected chip — bootloader at 0x1000 on the original ESP32 and S2, 0x2000 on the ESP32-C5, C61 and P4, and 0x0 on the other chips; partition table at 0x8000; app at 0x10000 (ESP8266 images start at 0x0) — and explains each one inline. If your download is a single merged binary, the kind that WLED, Tasmota and ESP Web Tools installers ship, switch to merged mode and drop in the one file: it is written whole at 0x0.

Back up before you flash

Flashing overwrites whatever is on the chip. Before you write anything, use the read-back tool to dump the current flash to a .bin file, which is the same job as esptool.py read_flash, and keep it: if the new firmware does not work out, you can write that backup straight back. You can also read the chip's flash ID, and run a full-chip erase, a destructive operation gated behind a double confirmation that also wipes calibration and NVS data.

ESP Web Tools, esptool or Flash Download Tool?

ESP Web Tools is a library that site owners embed so visitors can install one specific firmware with a button; this page is for when you already hold your own .bin files and want to choose the addresses yourself. Compared with Espressif's Flash Download Tool, a Windows desktop application, there is nothing to install and it also runs on macOS and Linux. Compared with esptool.py, you trade scripting for a point-and-click page. When the others are the better choice: for scripted or CI flashing, ELF-to-bin conversion, eFuse or secure-boot work, use esptool.py and the ESP-IDF tools. The real drawback of this page is that Web Serial exists only in Chromium browsers, so Firefox and Safari cannot flash at all.

Honest limits

esptool-js flashes images that already exist; it does not compile or convert. It cannot turn an ELF into a .bin (use the ESP-IDF toolchain for that), and it does not include espefuse or espsecure — there is no eFuse burning and no secure-boot / flash-encryption key handling here, by design. Those operations are irreversible and belong in a controlled desktop environment, not a web page.

Brick risk and recovery

Writing the wrong image, or a good image to the wrong address, can leave a board that will not boot. This is almost always recoverable: hold the BOOT/IO0 button (or strap it low) while connecting to force the ROM download mode, then flash a known-good firmware or your backup. A board is only truly bricked if you damage eFuses — which this tool deliberately cannot do.

Frequently asked questions

How do I flash a .bin file to an ESP32 without installing esptool?

Open this page in Chrome or Edge, click Connect a board and choose the serial port. Pick Files + addresses, drop your .bin and set its offset (an app image goes at 0x10000 on a standard layout), then click Flash. If the file is a single merged binary, pick Merged binary and it is written whole at 0x0. Nothing is installed, and the file is read in your browser, never uploaded.

Which ESP chips can I flash — ESP32-C5, S3, ESP8266?

Chip detection comes from esptool-js, which has targets for the ESP32, ESP32-S2, S3, C2, C3, C5, C6, C61, H2, P4 and the ESP8266. After you connect, the chip family, flash size and MAC are read from the chip itself, so you cannot pick the wrong target, and address presets exist for all of them, including the 0x2000 bootloader on C5, C61 and P4. Be aware that none of these chips is marked as verified on real hardware yet: the support notes on the page say so rather than claim a test that has not happened.

Which browsers can flash a board?

Any Chromium browser with Web Serial: Chrome, Edge and Opera on desktop, plus Chrome 148+ on Android. Safari and Firefox do not implement Web Serial and have no announced plans to, so they cannot open a serial port at all — open this page in Chrome or Edge instead.

Is this an alternative to ESP Web Tools or Espressif's Flash Download Tool?

For flashing your own .bin files, yes. Espressif's Flash Download Tool is a Windows application; this page needs no install and runs on Windows, macOS and Linux in a Chromium browser. ESP Web Tools is a different kind of thing, a button that site owners embed to install one specific firmware, while here you choose the files and addresses yourself. It does not replace esptool.py for scripting, eFuse or secure-boot work.

What flash address should I use for each file?

For a standard three-file build: the bootloader goes at 0x1000 on the original ESP32 and ESP32-S2, at 0x2000 on the ESP32-C5, C61 and P4, and at 0x0 on the other chips (S3, C3, C6, H2); the partition table goes at 0x8000; and the app goes at 0x10000. The tool pre-fills these for the detected chip and explains each. If in doubt, use a single merged binary, which needs no addresses.

What is a merged binary?

A merged (or combined) binary is a single .bin that already contains the bootloader, partition table and application stitched together at their correct offsets. Projects like WLED and Tasmota ship these for one-click installs. In merged mode you drop in the one file and it is written whole at 0x0 — no per-file addresses to set.

Can I brick my board, and can I undo it?

Flashing the wrong image or writing to the wrong address can stop a board booting, but it is almost always recoverable: force ROM download mode (hold BOOT/IO0 low while connecting) and re-flash a known-good firmware or the backup you made. Take a full read-back backup before flashing so you always have a way home. True, permanent bricking requires damaging eFuses, which this tool cannot do.

Does it support eFuse burning or secure boot?

No — and that is deliberate. esptool-js does not bundle espefuse or espsecure, so there is no eFuse writing, secure-boot enabling or flash-encryption key handling here. Those operations are irreversible and should be done from a controlled desktop toolchain, not a browser.

Can I back up the firmware already on my chip?

Yes, and it is the equivalent of an esptool.py read_flash backup. The read-back tool dumps a range of flash (or the whole chip) to a .bin file you download and keep. It is the single most important thing to do before flashing anything new — if the update goes wrong, you can write that exact image straight back.