TinyGo

A Go compiler for microcontrollers, WebAssembly, and tiny tools — one language from servers down to a blinking LED.

Visit website

Overview

Most Go programs never leave the server room, because the standard compiler targets machines with gigabytes to spare. TinyGo takes the same language to the other end of the scale: microcontrollers with kilobytes of memory.

One language, from cloud servers down to a blinking LED. TinyGo compiles Go for 150+ microcontroller boards, for WebAssembly, and for small CLI tools, reusing the Go toolchain and LLVM so most Go code compiles unchanged.

What it does

  • Flash real boards — tinygo flash programs Arduino, Adafruit, Seeed XIAO, and 150+ other boards
  • Tiny WASM binaries — small WebAssembly/WASI binaries for browsers and runtimes like Fastly Compute and Fermyon Spin
  • Familiar Go — most of the standard library works, plus CGo, so you keep the packages you know
  • Small by design — strips what your program doesn't use, keeping binaries lean
  • Try it online — a browser Playground lets you test TinyGo without installing anything

How it runs

Free and open source (BSD 3-clause): a command-line compiler with installers for Windows, macOS, and Linux. No accounts or paid tiers — donations are voluntary.

Who it is for

Go developers who want to write firmware, build WASM modules, or ship tiny CLI tools without learning a second language.

  • A multi-pane terminal workspace that keeps one whole project on a single screen

    Coding Harnesses Cli Runtimes
  • A terminal window manager and multiplexer with an inbox for coding agents

    Coding Harnesses Cli Runtimes
  • Port existing apps to Rust piece by piece, verified against the original

    Coding Harnesses Cli Runtimes