Microsoft MakeCode ๐Ÿงฉ

The easiest way to start coding โ€” drag, drop, and watch your ideas come to life!

Visual Programming

Drag-and-Drop Block Editor

MakeCode uses colorful, snap-together blocks โ€” just like building with LEGO! Choose from categories like Basic, Input, Music, Radio, and more. Each block represents a piece of code.

  • โœ“ No typing required โ€” just snap blocks together
  • โœ“ Built-in simulator to test code instantly
  • โœ“ Switch between Blocks and JavaScript view
  • โœ“ Runs in any web browser โ€” nothing to install
  • โœ“ Download .hex files to the MICROBIT drive via USB
Open MakeCode Editor โ†—
MakeCode Editor
on start
show icon โค๏ธ
on button A pressed
show string "Hi!"
show icon ๐Ÿ˜Š

How to Upload Code to Your Micro:bit ๐Ÿ“ค

๐Ÿ’ป

Write Code

Build with blocks in MakeCode

โ†’
๐Ÿงช

Test in Simulator

Try it in the virtual Micro:bit

โ†’
โฌ‡๏ธ

Download .hex

Click the Download button

โ†’
๐Ÿ”Œ

Connect USB

Plug in your Micro:bit

โ†’
๐Ÿ“

Copy to MICROBIT

Drag .hex to the drive

Mu Editor โ€” MicroPython ๐Ÿ

Ready for text coding? Mu makes writing Python for Micro:bit simple and fun!

Text Programming

Write Real Python Code

Mu is a beginner-friendly Python editor with a special "micro:bit mode" that makes flashing code to the board super easy. It's the perfect next step after MakeCode!

  • โœ“ Clean, distraction-free coding interface
  • โœ“ Special micro:bit mode for one-click flashing
  • โœ“ Built-in REPL for live interaction
  • โœ“ Supports MicroPython โ€” the real Python language
  • โœ“ Install on Windows, macOS, or Linux
Download Mu Editor โ†— Online Python Editor โ†—
Mu Editor โ€” micro:bit mode
# My first MicroPython program!
from microbit import *
 
while True:
    if button_a.is_pressed():
        display.show(Image.HEART)
    elif button_b.is_pressed():
        display.scroll("Hello!")
    else:
        display.show(Image.HAPPY)

Which Tool is Right for You?

Compare MakeCode and Mu at a glance!

Feature ๐Ÿงฉ MakeCode ๐Ÿ Mu Editor
Coding Style Visual Blocks Text (Python)
Best For Beginners & Kids Intermediate+
Simulator โœ… Built-in โŒ No
Installation Browser-based Install app
REPL / Live Code โŒ No โœ… Yes

Start Coding Now! ๐Ÿš€

Pick your tool, choose a project, and start building something amazing today!

๐Ÿงฉ Open MakeCode ๐ŸŽฎ Browse Projects