Compiler Explorer

Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

Community: Submitted by a user or imported; check the owner before granting accessOnlineNo sign-inGlobalFreeRead-only

What it can do

    What data it sees

    Do you need an account

    No: the server works without sign-in

    Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links

    Server tool list (7)

    Raw names from tools/list. Only developers need these.

    compileCompile source code and return assembly output, stdout, and stderr
    list_compilersList available compilers, optionally filtered by language
    list_languagesList supported languages. Each entry has `defaultCompiler` and `compilerCount`.
    list_librariesList available libraries for a given programming language
    lookup_asm_instructionLook up documentation for an assembly instruction
    generate_short_urlCreate a Compiler Explorer short URL for sharing code with compiler settings
    get_shortlink_infoRetrieve source and compiler config from a CE short URL. Compiler entries are returned in the `compile` tool's shape ({compiler, options, libraries:[{id, version}]}). Multi-pane shortlinks (executors, conformance views, CMake trees, per-compiler filters/tools) are flattened — only the basic compile inputs survive.
    Compiler Explorer: connect to Claude, ChatGPT, Cursor · Connectors.fun