Uploading to a board from your browser
How a program gets onto your board depends on the target you picked at the top left. Python on a Pico or micro:bit isn't compiled at all. Arduino C++ is compiled in the cloud and then flashed. Either way, the part that touches your board happens inside your browser over USB, using the Web Serial API. There's no upload agent, no helper app, and nothing to install.
Which browsers can upload
Web Serial is a Chrome, Edge and Opera feature. In Firefox or Safari you can still write English and translate it, but Upload stays disabled and a yellow banner across the top explains why.
The page also has to be served over https:// or http://localhost. On our site that's already true, so this only bites people running their own copy from a file on disk.
Pairing your board
Before your first upload, click Pair board… and pick your board from the list. That list comes from your browser, not from us: we can't see any of your USB ports until you choose one in that dialog. It's a privacy feature, and it means the choice is always yours.
Once paired, the board is remembered. Come back tomorrow and it reconnects on its own. There's a small ✕ next to the button if you want it to forget.
Raspberry Pi Pico with MicroPython
Choose the MicroPython · Pico target and your board: Pico, Pico 2 or Pico 2 W. There's nothing to compile, so there's no Verify step. When you click Upload, English:
- connects to MicroPython's REPL over USB and checks the board really is running MicroPython,
- writes your program onto the board as
main.pyand reads it back to check it all arrived, - restarts the board with the Serial Monitor open, so you see its output from the first line.
Because it's saved as main.py, the program runs every time the Pico powers up, even on a battery with no computer attached.
The Pico needs MicroPython on it before any of this works. If yours is new, hold BOOTSEL while you plug it in, download the .uf2 for your board from micropython.org/download, and drag it onto the drive that appears (RPI-RP2, or RP2350 on a Pico 2). You only do that once.
Raspberry Pi Pico with CircuitPython
Choose the CircuitPython · Pico target. A board running CircuitPython shows up on your computer as a drive called CIRCUITPY, and the board can't write to that drive itself while it's plugged into your computer. So English saves your program straight onto the drive instead:
- Click Upload. The first time, your browser asks you to pick a folder: choose the
CIRCUITPYdrive itself. - English writes your program there as
code.py. CircuitPython notices the new file and restarts into it.
The drive is remembered, so later uploads go straight there. If you cancel the folder dialog, English runs the program once over USB instead. It runs until the board resets, but it isn't saved.
To install CircuitPython, get the .uf2 for your board from circuitpython.org and drag it onto the BOOTSEL drive, the same as for MicroPython.
Pico, Pico 2 or Pico 2 W?
They run the same code, so picking the wrong one in the list isn't a disaster; English just notes it. The one thing that differs is Wi-Fi, which only the Pico 2 W has. Ask for anything that needs Wi-Fi and the notes will tell you it needs a 2 W.
BBC micro:bit
Choose the MicroPython · micro:bit target. Uploading works like the Pico: your program is saved to the micro:bit as main.py and the board restarts into it. To get MicroPython onto a micro:bit the first time, open python.microbit.org in Chrome, plug the micro:bit in and click Send to micro:bit once.
Arduino
Arduino C++ has two buttons that matter:
- Verify compiles your sketch and stops. It doesn't touch your board and doesn't need one plugged in. Your sketch is sent to our compile service, which runs the real
arduino-cliand sends back the compiled firmware. - Upload compiles first, then writes the result onto your board through its bootloader. If the compile fails, nothing is sent to the board.
Both go grey while a compile, upload or translation is already running, so you can't stack them up by accident. The one thing your operating system still needs is a USB-serial driver for clone boards, the CH340 and friends. We can see the port once your machine does, but we can't install a driver for you.
Not every Arduino in the list can be flashed from the browser. The rest compile here, and you upload them with the desktop Arduino IDE.
| Board | Compiles | Flashes from the browser |
|---|---|---|
| Arduino Uno | Yes | Yes |
| Arduino Nano (new bootloader) | Yes | Yes |
| Arduino Nano (old bootloader / clone) | Yes | Yes |
| Arduino Pro / Pro Mini (5V, 16 MHz) | Yes | Yes |
| Arduino Mega 2560 | Yes | No |
| Arduino Leonardo | Yes | No |
| Arduino Micro | Yes | No |
| Little Bird Shakey | Yes | No |
| Little Bird EagLED | Yes | No |
The reason is the bootloader protocol. Our in-browser flasher speaks STK500v1, which is what the ATmega328P boards use. The 32u4 boards (Leonardo, Micro, Shakey and EagLED) speak avr109, and the Mega speaks a third one again. For one of those, press Verify, then click the .hex button to download the compiled firmware and upload it with the desktop Arduino IDE or avrdude. You can also just download the .ino and build it there.
Changing the Arduino board changes what the cloud compiler builds for, the speed used to talk to the bootloader and the chip the flasher expects to find. It also throws away the firmware you'd already compiled, since that was built for a different chip, so press Verify again.
If an upload to a cheap Nano won't sync, switch the board to Arduino Nano (old bootloader / clone) and try again. Same chip, slower bootloader speed, and it's the single most common fix we see.