6 November 2026 · Soldr

How to upload code to an ESP32 from your browser (no IDE to install)

Short answer: open your build on app.soldr.ai in Chrome or Edge on a computer, press Flash to my board, then Compile, then Flash. Chrome asks which serial port to use; pick your ESP32 and press Connect. Soldr writes the firmware and shows Flashed when the board is running it. There's no IDE to install. Some boards' USB chips (CP2102, CH340) need a one-time driver before the port shows up.

Uploading code to an ESP32 usually means installing an IDE, adding the ESP32 board package, picking the right board and port, and hoping the toolchain versions agree. In a browser that supports Web Serial, all of that collapses into a few clicks: the code is compiled on a server, and the browser talks to the board over USB directly. Here is the whole process, using a real build: an ESP32 weather display with a DHT22 sensor and a 0.96 inch OLED.

What you need

Step 1: check that the code compiles

When Soldr writes the code, it compiles that exact sketch on its own compiler before you see it. Look for the green line under the reply. In our build it said the code compiles for the ESP32-DEVKITC Development Board. If Soldr couldn't check the code, it tells you so.

Soldr reply showing a green line: Compiles for the ESP32-DEVKITC Development Board, with a Flash to my board button below

Under the reply there's a Flash to my board button. Press it.

Step 2: open the Firmware tab and compile

The Firmware tab opens next to the chat. It holds the full sketch as editable source, a board picker (here, ESP32 (.bin)), and the hint Press Compile first - then Flash writes it to your board. You can read the code here, and edit it and recompile before you flash.

Soldr Firmware tab with the ESP32 (.bin) target, a Compile button and the editable sketch

Press Compile. Soldr builds a firmware file for your board. Ours took 58.4 seconds and ended with Compiled (.bin). A compile costs 5 credits.

Step 3: plug in the ESP32 and press Flash

Connect the board to the computer with a USB cable, then press Flash. Chrome opens its own dialog: app.soldr.ai wants to connect to a serial port. Pick your board and press Connect. On our machine it was listed as CP2102 USB to UART Bridge Controller (COM4); yours may have a different name or port number.

Chrome dialog: app.soldr.ai wants to connect to a serial port, with CP2102 USB to UART Bridge Controller (COM4) selected

Step 4: watch it write, then check the result

Soldr writes the firmware to the board and shows the progress as a percentage.

Flash progress bar at 41 percent

When it finishes, you see Flashed and a line saying the board is running your firmware.

Compiled (.bin) 58.4s and Flashed chips in the Soldr Firmware tab

To see what the board is doing, open the Serial Monitor in the same tab. If the output looks like noise or a crash dump, here's how to read it.

If the port doesn't show up

If it flashed but the board still won't start, read It compiled. It flashed. The board still won't boot.

Why this works without an IDE

Two things normally live on your computer: the compiler toolchain and the upload tool. Here, the compiler runs on Soldr's server, so you never install the ESP32 core or match versions. The upload runs in the browser through Web Serial, so there's no separate upload program either. What's left on your side is a browser, a cable and, for some boards, a USB driver.

The same flow works for other boards: the Arduino Uno, Mega and Nano flash over USB through the browser (a Nano with the new bootloader may need the Arduino IDE), and a Raspberry Pi Pico flashes in two presses. Prefer your own tools? Download the sketch and upload it from the Arduino IDE or PlatformIO.

The parts in this example

Soldr lists the parts for your build and shows how to wire them, pin by pin; Buy all puts them in one Compoden cart, shipped across India (COD if checkout offers it for your order). For a full walk-through of a build, see how to use Soldr. For more on the tools, see the ESP32 web IDE and the ESP32 code generator.

Questions

Which browsers can upload code to an ESP32?

Chrome or Edge on a desktop or laptop. They support Web Serial, which lets the page talk to the board over USB.

Do I need to install drivers?

You don't install an IDE or a toolchain. Boards with a CP2102 or CH340 USB chip may need a one-time USB driver on some computers before the port appears.

Can I change the code before I flash it?

Yes. The Firmware tab is editable source: change the code, press Compile again, then Flash.

What does it cost?

Questions are free. Generated code costs credits, priced by the size of what is written, and a compile costs 5 credits. Sign in and get 100 credits free.

Describe your ESP32 build on Soldr and flash it from your browser.