The current language or compiler does not support this tool
No libs configured for this language yet.
You can suggest us one at any timeThanks for your interest in what Compiler Explorer does with your data. Data protection is really important to the Compiler Explorer team, and we want to be very clear about what we do with your data.
Compiler Explorer was created by and is primarily administrated by Matt Godbolt, along with a number of volunteers (including, but not limited to those listed in our "Authors" documentation). It is run on a best-effort basis, and is not a commercial product. We do our best to keep your data safe, but welcome help from the community: See our GitHub project page if you wish to help.
When you compile, your browser sends your source code and compiler settings to our servers. We write your code to a temporary file, run the compiler on it, and send the results back to your browser.
Your code is deleted within minutes. As soon as compilation finishes, we clean up the temporary files.
Exception for debugging: If something goes wrong with Compiler Explorer itself (not your code, but our system), we might keep your code for up to a week to help us fix the problem. This only happens if you have the "Allow my source code to be temporarily stored for diagnostic purposes" setting enabled (which it is by default). You can disable this in Settings if you prefer. Only the Compiler Explorer team can access this, and we'll never share your code with anyone else.
To make repeated compilations faster, we cache the results.
We create a unique fingerprint from your code and settings using a secure hash. We cannot reconstruct your original code from this fingerprint. However, we do store the compilation results (the assembly or executable output) as plain text, linked to that fingerprint.
Part of this cache lives in memory and disappears when we restart our servers. Part of it is stored on shared disk. In exceptional cases, the small team of trusted Compiler Explorer administrators might be able to see these cached compilation results, but there's no way for us to trace them back to the original source code.
If you choose to share your code using the "Share" dropdown, then the user interface state including the source code
is stored. For a "Full" link, this information is encoded into the URL after the # symbol (e.g.
https://godbolt.org/#ui_state_and_code). For short URLs, the interface state is stored on
Compiler Explorer's servers, and a shortened name uniquely
referring to this data is returned. The shortened name comes from a secure hash of the state, and without
knowing the name it is infeasible to access the data. Only Compiler Explorer administrators can access this data
directly. Obfuscated IP addresses and creation time are stored alongside this data, to enable spam detection.
Links of this form look like https://godbolt.org/z/SHORTNAME.
Before September 2018, Compiler Explorer used Google's goo.gl service for short links. We switched to our own system in 2018, but when Google shut down goo.gl in 2025, we migrated any remaining old links to ensure they keep working.
Web access logs contain semi-anonymised IP addresses (we remove parts of the IP address to make them less identifying) but
no other personal information.
When you visit a long Compiler Explorer URL (the ones with # in them), your code
stays in your browser and isn't logged. If you visit a short URL we created (like godbolt.org/z/abc123),
then we can potentially retrieve your code from our logs.
Compilation logs are separate analytics logs that record which compilers and settings people use. These analytics help us understand usage patterns and plan improvements. We store a fingerprint (hash) of your source code along with compiler options, filters, and libraries used, but we can't reverse this to see your actual code. These analytics are kept for up to 1 year. We may share aggregate statistics about compiler usage publicly, but these never include individual usage patterns or any way to identify specific users.
Amazon infrastructure logs: We use Amazon's servers to run Compiler Explorer. Their logs (which help us debug issues and block attacks) contain full IP addresses and are kept for up to 32 days, then permanently deleted.
For error reporting: If something goes wrong in your browser, we use Sentry to help us fix it. This keeps your IP address and browser information for up to 90 days.
If we need to share data with new third-party services in the future, we'll update this privacy policy accordingly.
For certain configurations, we may support executing the results of your compilation on the Compiler Explorer servers. Execution occurs in a heavily locked-down, isolated environment. We have made reasonable efforts to protect both the Compiler Explorer site and other concurrently-processed requests from information leakage due to rogue executions.
The "Claude Explain" view sends your code and data to Anthropic, the makers of Claude. We always ask for consent before sending your code, and Anthropic does not use anything we send them for training. For the purposes of Anthropic's own Privacy Policy, we use them as a "data processor", and so our own privacy policy applies to the data.
Compiler Explorer uses small pieces of information stored on your computer: Cookies and Browser Local Storage (and Session Storage). Local storage remembers your settings, source code and user interface configuration so it's available when you visit again. This information is not transmitted to Compiler Explorer, except as described above in order to fulfil your requests. There is a separate document covering more on this.
You decide if and when to create shared links. In case of an emergency you can request deletion by contacting us.
For Claude Explain, we always ask for your explicit consent before sending any code to Anthropic.
Compiler Explorer is open source. If you prefer complete control over your data, you can run your own instance. Instructions are on our GitHub project page.
If you have questions about your data or want to request deletion of a shared link, contact us at privacy@compiler-explorer.com.
We comply with the EU's General Data Protection Regulation (GDPR) because we don't store personal information long-term. IP addresses are semi-anonymised and deleted within one month, and your source code is processed temporarily and then deleted.
The Controller for the purposes of the General Data Protection Regulation (GDPR), other data protection laws applicable in Member states of the European Union and other provisions related to data protection is: