Overview
Compiler Explorer, widely known by its address godbolt.org, is an interactive website for looking at what compilers do with your code. You type source code in one pane and the compiled assembly appears beside it, updating as you edit.
It supports more than 30 languages, including C, C++, Rust, Go, C#, F#, D, Haskell, Swift, Pascal, Python and Java, with many compilers and versions available for each. The window layout is configurable, so you can open several compilers side by side to compare their output, and add other tool and visualisation panes. Short links let you share an exact setup with someone else, which is why it turns up constantly in bug reports and programming discussions.
The project is open source under the BSD 2-Clause licence and can be run on your own machine with your own compilers. It also has a REST API for compiling code and listing compilers. The public site needs no account and is paid for by sponsors and by donations through Patreon, GitHub Sponsors and PayPal. Its main audience is systems programmers, compiler engineers, students and anyone curious about optimisation.
Categories
Features
- Shows assembly output next to source code as you type
- More than 30 languages, including C, C++, Rust, Go, Swift and Haskell
- Many compilers and compiler versions per language
- Configurable multi-pane layout for comparing compilers side by side
- Short links for sharing code and settings
- Language-specific subdomains that open with a language preselected
- REST API for compiling and listing compilers
- Can be self-hosted with locally installed compilers
Privacy
See the official privacy policy. Code you enter is compiled on the project's servers and shared short links store it; the page loads Sentry error reporting. The software can be self-hosted to keep code private.
Pros & Cons
Pros
- Free, open source and usable without an account
- Very wide choice of languages and compiler versions
- Shared links make examples easy to reproduce
- Can be run privately for proprietary code
Cons
- Assembly output assumes some low-level knowledge to read
- Code is sent to the project's servers to be compiled, so it is not for confidential source unless self-hosted
- Built for small snippets, not whole multi-file projects
- The dense interface takes a while to learn
Community Reviews (0)
No written reviews yet — be the first to rate this tool.
Similar Tools
-
Compilers · OneCompiler
Compiles and runs code in many programming languages.
Freemium Web API -
Compilers · OnlineGDB
Compiles, runs, and debugs code online.
Freemium No Signup Web -
Compilers · JDoodle
Compiles and runs code in many programming languages.
Freemium No Signup Web API -
Compilers · Programiz
Compiles and runs code directly in the browser.
Free No Signup Web