Compiler Explorer lets you edit source in dozens of languages and see live compiler output, including assembly and intermediate representations. Multiple compiler versions and analysis panes run side by side in the browser.
Overview
Compiler Explorer is an interactive site for exploring how compilers transform code. You pick a language and toolchain, adjust flags, and watch outputs update as you edit, with support for assembly views, ASTs, LLVM IR, execution, and many auxiliary tools.
The public installation at godbolt.org is widely used, while the same Node.js and TypeScript codebase can be started locally through make or npm scripts. Configuration files wire in compiler binaries, and optional installer tooling helps register local GCC, Clang, or Rust builds.
Beyond the UI, a REST API compiles snippets to assembly and lists available compilers for automation. Layout is configurable, libraries can be pulled through Conan, and corporate deployments may swap URL shorteners or restrict outbound references when fully offline.
The project began as a simple gcc -S demo and grew into a multilingual platform with Discord support channels and documented steps for adding languages or compilers.
Key features
- Live multi-language compilation
- Side-by-side assembly views
- Configurable compiler flags
- AST and LLVM IR panes
- Conan library integration
- Shareable compile URLs
- REST compilation API
- Local instance deployment
Use cases
- Learning compiler output patterns
- Comparing optimization flags
- Teaching language semantics
- Debugging generated assembly