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

BrowserWeb 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 iPadNo

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

  1. 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.
  2. Use a USB cable that carries data.Some cables carry only power. With such a cable, the board gets power but no port shows.
  3. 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.
  4. 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.
  5. Press EN (reset) after the flash.Some boards stay in download mode until you press EN or disconnect and connect the USB cable.
Read the chip information of your board in the browser. Use the ESP32 Inspector page on this site. It shows the chip type, MAC address and flash size. Use it to make sure that your board, cable and driver operate before you flash firmware.

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 .bin to 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.

  1. 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 .bin at offset 0x1000. Use esptool-js or the firmware flasher in Viper IDE.
  2. 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.
  3. 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 CIRCUITPY drive 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_PASSWORD and CIRCUITPY_WEB_API_PASSWORD in settings.toml. Then open http://circuitpython.local on the same network.
  • Install the .bin with the installer button on the board page or with a web flasher at offset 0x0. 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.

FileClassic ESP32ESP32-S3, ESP32-C3
Merged image (one file that contains all parts)0x00x0
Bootloader (*.bootloader.bin)0x10000x0
Partition table (*.partitions.bin)0x80000x8000
Application (your sketch, *.ino.bin)0x100000x10000

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

  1. Export the binary.In the Arduino IDE, select Sketch → Export Compiled Binary. Open the build folder in the sketch folder.
  2. Find the merged file.Recent versions of the ESP32 core make a *.ino.merged.bin file. This file contains the bootloader, the partition table and the application.
  3. Open esptool-js.Click Connect and select the port of your board.
  4. Add the file at 0x0.Type 0x0 as the flash address. Select the merged file.
  5. 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).

FirmwareWhat it doesHardwareWeb installer
MeshtasticOff-grid text messages over a LoRa mesh, with a phone appLoRa board (Heltec, LilyGO, RAK and others)flasher.meshtastic.org
MeshCoreLoRa mesh messages with companion, repeater and room server rolesLoRa board (Heltec V3, LilyGO T-Deck, XIAO and others)flasher.meshcore.io
WLEDControls addressable LED strips from a phone or browser, with many effectsAny ESP32 DevKit plus a WS2812B or similar stripinstall.wled.me
ESPHomeMakes sensors and outputs for Home Assistant from a YAML fileAny ESP32 DevKitweb.esphome.io
TasmotaSmart-home firmware for relays, plugs and sensors, with a web page and MQTTAny ESP32 DevKit, many commercial smart plugstasmota.github.io/install
OpenMQTTGatewaySends data from BLE, 433 MHz RF, IR or LoRa devices to MQTTESP32 DevKit; RF, IR and LoRa need extra modulesdocs.openmqttgateway.com
ESPresenseRoom-by-room presence detection from Bluetooth devices, for Home AssistantOne ESP32 for each roomespresense.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).

Do not flash Meshtastic to a plain DevKit. A DevKit has no LoRa radio, so the firmware cannot send messages.

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.

Do not mix Meshtastic and MeshCore radios. The two systems cannot talk to each other.

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.

Do not supply a long strip from the DevKit. The USB port cannot give enough current. Use a separate 5 V supply and connect the grounds.

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.

Set up Home Assistant first. ESPHome is most useful with a Home Assistant server on the same network.

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.

Select the variant for your chip. ESP32, ESP32-S3 and ESP32-C3 use different builds. An incorrect build does not start.

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.

Set up an MQTT broker first. The two projects send all data through MQTT.

Before you flash

Flashing replaces the program on the board.
  • 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.
You can always go back to Arduino. Upload a sketch from the Arduino IDE. The IDE writes the bootloader, the partition table and the sketch again. If the board shows old data, select Tools → Erase All Flash Before Sketch Upload → Enabled for one upload.

Resources