Online tools for the ESP32
You can write, simulate, compile and flash ESP32 code with only a web browser. You can also install complete, ready-made firmware from a web page. Use these tools before you install the Arduino IDE, or on a computer where you cannot install software. This page tells you which tools are available, what each tool needs, and how to use them safely.
How a web page talks to your board: Web Serial
Most tools on this page use the Web Serial API. Web Serial lets a web page open the USB serial port of your board,
but only after you select the port and give permission. The browser shows a list of ports. You select one port and click Connect.
Web Serial operates only on secure (https://) pages.
Browser support
| Browser | Web Serial |
|---|---|
| Chrome, Edge, Opera (Windows, macOS, Linux, ChromeOS) | Yes Recommended |
| Firefox desktop, version 151 or later (May 2026) | Yes, new Some installer pages still tell you to use Chrome or Edge |
| Chrome on Android (recent versions) | Partial Needs a USB OTG adapter. |
| Safari (macOS) | No |
| All browsers on iPhone and iPad | No |
On a Mac, install Chrome or Edge. For a workshop, use desktop Chrome or Edge. These are the browsers that all the tools on this page support.
Before you connect
- Install the USB driver if necessary.The browser uses the same driver as the Arduino IDE. If no port shows in the list, read Install the ESP32 USB driver.
- Use a USB cable that carries data.Some cables carry only power. With such a cable, the board gets power but no port shows.
- Close other programs that use the port.Only one program can open a serial port at a time. Close the Arduino IDE Serial Monitor, PlatformIO, and other browser tabs that are connected to the board.
- Hold BOOT if the flasher cannot connect.Hold the BOOT button. Click Connect or Install. Release BOOT when the progress starts. Most DevKits do not need this step, but some boards do.
- Press EN (reset) after the flash.Some boards stay in download mode until you press EN or disconnect and connect the USB cable.
Write and upload code in the browser
Arduino Cloud Editor
The online version of the Arduino IDE, at app.arduino.cc. You write a sketch, compile it on the Arduino servers, and upload it to the board on your desk.
- You need a free Arduino account.
- You need the Arduino Cloud Agent. This small program connects the browser to the USB port. The editor tells you how to install it.
- ESP32 boards are third-party boards. Arduino supports a wide range of ESP32 boards on Windows, macOS and Linux, but does not guarantee that each board operates. ChromeOS supports fewer boards.
- The free plan has a daily compile limit. At the time of writing, the limit is 25 compilations per day. Each verify or upload counts. Examine the current limit on the Arduino Cloud plans page.
If an ESP32 upload fails in the Cloud Editor, use the Arduino IDE. Read IDE Setup.
Wokwi simulator
wokwi.com simulates an ESP32 and many parts (LEDs, buttons, servos, NeoPixels, OLED displays, sensors) in the browser. You do not need a board, an account or a driver to start. A simulated ESP32 can also connect to the internet through Wokwi.
- Use it to test code and wiring before you build the real circuit.
- Press F1 in the code editor to open the command list. It has commands to download the compiled firmware (
.bin) and to upload firmware into the simulator. Command names can change, so type “firmware” to find them. - Flash the downloaded
.binto a real board with a web flasher (see the next section). Before you flash, make sure that you know the correct offset for the file. - The simulation is not perfect. Analog values, timing, power and Wi-Fi signal strength are different on real hardware.
MicroPython web editors
MicroPython is Python for microcontrollers. You type commands in a REPL and save .py files on the board. No compile step is necessary.
- Flash MicroPython first.A new DevKit has no MicroPython on it. Download the firmware from the official MicroPython ESP32 download page. For a classic ESP32, write the
.binat offset0x1000. Use esptool-js or the firmware flasher in Viper IDE. - Open a web editor.Viper IDE (viper-ide.org) connects through Web Serial (USB), WebREPL (Wi-Fi) or Bluetooth. It has a file manager, an editor, a terminal and a package manager.
- Connect at 115200 baud.The MicroPython REPL uses 115200 baud.
Flashing MicroPython erases the Arduino sketch. To go back to Arduino, upload a sketch from the Arduino IDE.
CircuitPython
CircuitPython is the Adafruit version of Python for microcontrollers. Boards with native USB (ESP32-S2, ESP32-S3) show a CIRCUITPY USB drive. You edit code.py on that drive.
- The classic ESP32 (ESP32-WROOM-32 DevKit) has no native USB, so no
CIRCUITPYdrive shows. CircuitPython 8 and later still runs on it, for example on the DOIT ESP32 DevKit V1. - On a classic ESP32, use the web workflow over Wi-Fi. Write
CIRCUITPY_WIFI_SSID,CIRCUITPY_WIFI_PASSWORDandCIRCUITPY_WEB_API_PASSWORDinsettings.toml. Then openhttp://circuitpython.localon the same network. - Install the
.binwith the installer button on the board page or with a web flasher at offset0x0. Read the Adafruit ESP32 quick start. - The online editor code.circuitpython.org connects by Wi-Fi, USB or Bluetooth.
Campus Wi-Fi such as eduroam uses WPA2-Enterprise. Most of these tools cannot use it. Use a 2.4 GHz phone hotspot or a home network. Read Wi-Fi.
Flash a compiled .bin file
A .bin file is a compiled program. You can get one from the Arduino IDE (Sketch → Export Compiled Binary), from Wokwi, or from a project's release page.
These tools write the file to the flash memory of the board.
esptool-js (Espressif)
espressif.github.io/esptool-js is the official browser version of esptool. Add one or more files, type the flash address of each file, and click Program. It also has Erase all and a serial console.
Many other web flashers use esptool-js inside.
ESP Launchpad (Espressif)
espressif.github.io/esp-launchpad has two modes. Quick Start installs Espressif demo firmware (for example RainMaker or Matter examples). DIY lets you select your own files and their flash addresses.
Adafruit WebSerial ESPTool
adafruit.github.io/Adafruit_WebSerial_ESPTool is a simple flasher with an offset box for each file. Adafruit still maintains it. Since December 2024 it uses esptool-js inside. The CircuitPython guides use it.
Flash offsets
Each file must go to the correct offset (address in flash). If you use an incorrect offset, the board does not start. It then prints boot errors again and again.
| File | Classic ESP32 | ESP32-S3, ESP32-C3 |
|---|---|---|
| Merged image (one file that contains all parts) | 0x0 | 0x0 |
Bootloader (*.bootloader.bin) | 0x1000 | 0x0 |
Partition table (*.partitions.bin) | 0x8000 | 0x8000 |
Application (your sketch, *.ino.bin) | 0x10000 | 0x10000 |
These are the default values. A project with a custom partition table can use different values. Always use the offsets that the project tells you.
The MicroPython .bin for a classic ESP32 goes at 0x1000 because it starts with the bootloader.
Flash an Arduino sketch from the browser
- Export the binary.In the Arduino IDE, select Sketch → Export Compiled Binary. Open the
buildfolder in the sketch folder. - Find the merged file.Recent versions of the ESP32 core make a
*.ino.merged.binfile. This file contains the bootloader, the partition table and the application. - Open esptool-js.Click Connect and select the port of your board.
- Add the file at 0x0.Type
0x0as the flash address. Select the merged file. - Program.Click Program. Wait until the log shows that the flash is complete. Press EN to start the program.
If you have only the *.ino.bin file (the application), write it at 0x10000. This operates only if the board already has a compatible bootloader and partition table.
Install ready-made firmware from a web page
Many open-source projects have a web installer. You connect the board, click Install, and the page downloads and flashes the correct firmware. Most of these installers use ESP Web Tools. After the install, many of them ask for your Wi-Fi name and password through the USB cable (Improv Wi-Fi).
| Firmware | What it does | Hardware | Web installer |
|---|---|---|---|
| Meshtastic | Off-grid text messages over a LoRa mesh, with a phone app | LoRa board (Heltec, LilyGO, RAK and others) | flasher.meshtastic.org |
| MeshCore | LoRa mesh messages with companion, repeater and room server roles | LoRa board (Heltec V3, LilyGO T-Deck, XIAO and others) | flasher.meshcore.io |
| WLED | Controls addressable LED strips from a phone or browser, with many effects | Any ESP32 DevKit plus a WS2812B or similar strip | install.wled.me |
| ESPHome | Makes sensors and outputs for Home Assistant from a YAML file | Any ESP32 DevKit | web.esphome.io |
| Tasmota | Smart-home firmware for relays, plugs and sensors, with a web page and MQTT | Any ESP32 DevKit, many commercial smart plugs | tasmota.github.io/install |
| OpenMQTTGateway | Sends data from BLE, 433 MHz RF, IR or LoRa devices to MQTT | ESP32 DevKit; RF, IR and LoRa need extra modules | docs.openmqttgateway.com |
| ESPresense | Room-by-room presence detection from Bluetooth devices, for Home Assistant | One ESP32 for each room | espresense.com/firmware |
Meshtastic
Meshtastic sends short text messages and GPS positions between radios over LoRa, with no phone network. Each radio relays messages for the other radios. You type messages in the phone app, which connects to the radio by Bluetooth.
Hardware: a board with a LoRa radio, for example a Heltec WiFi LoRa 32 or a LilyGO T-Beam. Select the radio frequency that is legal in your country (915 MHz in the US).
MeshCore
MeshCore is a different LoRa mesh system. You select a role when you flash. A companion connects to the phone app (Bluetooth) or to a web app (USB). A repeater forwards packets to extend the range. A room server stores shared messages, like a small bulletin board.
Hardware: a LoRa board from the list on the flasher page.
WLED
WLED controls WS2812B, SK6812 and similar addressable LED strips. It has more than 100 effects, color palettes, presets, and a phone app. You control it from a browser on the same Wi-Fi network.
Hardware: any ESP32 DevKit, an LED strip, and a 5 V supply that is large enough. Read Addressable LEDs for the wiring and the power.
ESPHome
ESPHome makes firmware from a YAML configuration file. You list the sensors, switches and lights, and ESPHome writes the code. The device then shows in Home Assistant.
Use: open web.esphome.io and select Prepare for first use. Then add the device to the ESPHome dashboard in Home Assistant. Later updates go over Wi-Fi.
Tasmota
Tasmota is smart-home firmware for relays, smart plugs, lights and sensors. It has its own web page for settings and supports MQTT, rules and timers. It operates with or without Home Assistant.
Use: select the firmware variant on the installer page. For a classic ESP32 DevKit, select the plain ESP32 variant.
OpenMQTTGateway and ESPresense
OpenMQTTGateway receives signals from Bluetooth sensors, 433 MHz remotes, IR remotes or LoRa nodes, and sends them to an MQTT broker. A plain ESP32 can do the Bluetooth part.
ESPresense uses one ESP32 in each room. Each node measures the Bluetooth signal of phones and tags, so Home Assistant knows which room a person is in.
Before you flash
- Save your Arduino sketch on your computer. The installer erases the sketch from the board.
- Read the erase option before you click Install. Many installers erase the full flash on a new install. This also erases saved settings, such as Wi-Fi passwords, WLED presets and Meshtastic channels and keys. Export the settings first if you need them.
- Use only the official installer URLs on this page or in the project documentation. A copy of an installer on another site can contain different firmware.
- Do not disconnect the cable while the flash is in progress. If a flash stops, start it again. The ROM bootloader of the ESP32 cannot be erased, so you can always flash the board again.
Resources
- MDN: Web Serial APIHow Web Serial operates, with the current browser support table.
- Arduino Cloud: ESP32 / ESP8266 guideHow to use third-party ESP32 boards with Arduino Cloud.
- Wokwi: ESP32 simulation guideSupported features, firmware formats and limits of the simulator.
- MicroPython: getting started on the ESP32Official tutorial for the REPL, files and Wi-Fi.
- CircuitPython: workflowsUSB, web (Wi-Fi) and Bluetooth workflows, and the
settings.tomlkeys. - Espressif esptool documentationFlash commands, boot modes and the firmware image format.
- ESP-IDF: partition tablesWhy the partition table goes at 0x8000 and the application at 0x10000.
- ESP Web ToolsThe installer library that WLED, ESPHome, Tasmota and many other projects use.
- Meshtastic: web flasher guide · MeshCore documentationSupported radios, first setup and phone apps.
- WLED documentation · ESPHome documentation · Tasmota documentationSetup, wiring and configuration for each firmware.
- ESP32 Inspector · USB drivers · IDE Setup · Addressable LEDsRelated pages on this site.