Source Code
The human-readable instructions that make up a computer program. Bitcoin's source code defines every rule of the system and is publicly available for anyone to read and verify.
Source code is the text written by programmers that instructs a computer what to do. Unlike a compiled binary that a machine runs directly, source code can be read by people with programming knowledge. It is the human-readable layer that defines the behaviour of software before it is translated into machine instructions.
Bitcoin's source code is open source, meaning it is published publicly on GitHub and accessible to anyone. This is significant: every rule of Bitcoin — the maximum supply of 21 million, the block reward halving, how transactions are validated — exists as code that can be read and verified. There is no need to trust claims about how Bitcoin works; the source code is the definitive and transparent answer.
Frequently asked questions
What is the Bitcoin source code and where can I find it?
The Bitcoin source code is the set of programming instructions that defines how Bitcoin works. The primary implementation, Bitcoin Core, is publicly available on GitHub. Anyone can read the code, propose changes, and verify that it does what it claims to do.
Do I need to read the source code to use Bitcoin?
No. Most Bitcoin users never read the source code, just as most people using the internet never read the TCP/IP specifications. However, knowing that the source code is publicly auditable is important: it means the rules of Bitcoin are transparent and verifiable by anyone who chooses to check. You can trust the system without trusting any individual or company.