ByteScope

MicroPython Web IDE

A MicroPython IDE in your browser — REPL, code editor and file manager for Pico, ESP32 and CircuitPython boards, nothing to install.

Talks to your board locally over Web Serial — no code leaves your browser.

Checking browser support…

About this tool

This is a MicroPython IDE that runs in a browser tab — a web alternative to installing Thonny. Plug in a Raspberry Pi Pico, ESP32, micro:bit or CircuitPython board, click connect, and you get a code editor, a live REPL terminal and a file manager for the board's own filesystem. It talks to the board over the Web Serial API, so your code never leaves your machine. The interpreter already lives on the board, so .py files run directly with no compile step: the old limitation that a browser can't build C/C++ firmware doesn't apply here.

How to run MicroPython in your browser

Open this page in Chrome or Edge, plug the board in over USB and click connect. Pick its serial port in the browser's device dialog (it is usually named after the USB-serial chip, such as CP210x, CH340 or USB Serial). Type at the REPL prompt for an interactive session, or write code in the editor and press Run file — or select a few lines and press Run selection. The interrupt (Ctrl-C) and soft reset (Ctrl-D) buttons stay on screen. A bare ESP board needs MicroPython flashed onto it first; the ESP flasher on this site does that.

How it works

The tool speaks MicroPython's raw REPL protocol. When you press Run, it interrupts whatever is executing, switches the board into raw REPL, streams your code over raw-paste mode (window flow-controlled, so a large script transfers cleanly without the friendly REPL's auto-indent mangling it), runs it, and pipes the output straight back to the terminal. Ctrl-C interrupts a running program; Ctrl-D triggers a soft reset. On-device filesystem operations — list, read, write, delete — are performed by running small Python snippets over the same channel and parsing what the board prints.

Files, autorun and examples

The file manager lists what's on the board and lets you edit, upload, download and delete files. Save an editor tab as main.py (or code.py on CircuitPython) and the board runs it automatically on the next reset — the whole point of these boards. CircuitPython note: when your computer has the CIRCUITPY USB drive mounted writable, the board mounts its own filesystem read-only, so writes from the web fail until you eject the drive; the tool detects the flavor and explains this. A starter library covers the usual first steps — blink an LED, read an analog sensor, connect to Wi-Fi, stream numbers to the live plotter — loadable in one click. Snippets you write yourself are saved in your browser's localStorage and never leave the device.

MicroPython IDE vs Thonny

Thonny is a desktop Python IDE with a debugger, and it is the better choice if you want to step through code or would rather not depend on a Chromium browser. This tool has no debugger, works only in Chromium browsers (Safari and Firefox have no Web Serial), and does not install firmware itself. What it offers instead is zero setup: on a Chromebook or a computer where you can't install software, you can talk to a Pico or ESP32 right away, with an on-board file manager and a live plotter included.

Frequently asked questions

Is there a MicroPython IDE that runs in the browser?

Yes — this page is one. It gives you a code editor with Python syntax highlighting, a REPL terminal, a file manager for the board and a serial plotter, all in a Chromium browser tab talking to the board over Web Serial. It doesn't replace everything a desktop IDE does (there is no debugger, for instance), but it covers the daily loop of writing, running and managing files on a Pico, ESP32 or CircuitPython board.

How do I open a MicroPython REPL on a Pico or ESP32 without installing anything?

Open this page in Chrome or Edge, plug in the board, click connect and pick its serial port. The REPL panel is interactive straight away: type Python at the prompt, press Ctrl-C to interrupt a running program and Ctrl-D for a soft reset. MicroPython or CircuitPython must already be on the board.

Why can't it connect — the port is busy?

Only one program can hold a serial port at a time. Close Thonny, the Arduino IDE, any serial monitor and any other browser tab that has the board open, then try again. If the port is in a strange state, unplug the board and plug it back in.

Which boards and browsers does this work with?

Any board running MicroPython or CircuitPython that appears as a USB serial device: ESP32/ESP8266, Raspberry Pi Pico, micro:bit, Adafruit Feather/QT Py, and many others. It needs a Chromium browser (Chrome, Edge or Opera on desktop; Chrome 148+ on Android) because the Web Serial API is Chromium-only — Safari and Firefox do not implement it.

Do I need to install anything, like Python or drivers?

No Python, no IDE, no toolchain. The interpreter is already on the board. On macOS, Linux and ChromeOS the board is recognised with no driver step; on Windows you may need the CH340 or CP210x USB-serial driver for some boards, which is the same driver the Arduino IDE uses.

What's the difference between MicroPython and CircuitPython here?

Both run over the same raw REPL, so the editor and terminal work identically. The differences are the autorun file (main.py vs code.py) and the filesystem: CircuitPython exposes a USB drive that goes read-only to the board while your computer can write to it. The tool detects which flavor you're connected to and adjusts.

Can I make my code run on boot?

Yes — save it as main.py (MicroPython) or code.py (CircuitPython) from the file manager, then reset the board. That file runs automatically on every power-up. Use boot.py for setup that must happen before main.

Can it install packages (mip / circup)?

For MicroPython, yes: the tool can run mip.install() over the REPL, which fetches a package to the board — this needs the board to be connected to Wi-Fi. circup, CircuitPython's package manager, is a desktop program with no in-REPL equivalent, so installing CircuitPython libraries from the web is out of scope; download the library bundle to the CIRCUITPY drive instead.

Is my code uploaded anywhere?

No. Everything runs locally between your browser and the board over Web Serial. Your code, the board's files and the REPL session never touch a server. Snippets you save are kept in your browser only.