Looking for programming books? We've gathered 49 free programming books in PDF, covering languages like Python, JavaScript, Java, C++, C#, Go, Rust, TypeScript, Kotlin, Swift, R, PHP, and MATLAB.
These books teach you how to write code, from your first program to building real projects. Whether you're picking your first programming language or adding a new one to your toolkit, there's something here for every level.
Browse by language or start with the general section. Every book is free to read online or download as PDF.
General Programming Books
General Programming Books
These books cover the foundations of programming. Language design, algorithms, computer science basics, and assembly language.
Comprehensive guide to persistent memory programming, covering PMDK libraries, architecture, and development patterns. Published by Intel as open access.
Collection of interviews with creators of major programming languages including Python, Java, C++, and more. Historical perspective on language design.
Comprehensive C# programming textbook covering fundamentals, OOP, data structures, algorithms, and software development best practices. Over 1100 pages.
Complete introduction to programming using Java, covering fundamentals, OOP, data structures, GUI programming, and networking. University-level textbook.
The legendary SICP textbook adapted for JavaScript. Covers computation, abstraction, data structures, interpreters, and fundamental programming concepts.
Python is the most popular language for beginners. These books teach you programming fundamentals with clear syntax, covering data structures, web scraping, and practical projects.
Go was created at Google for building fast, reliable servers. These books cover Go's simple syntax and built-in concurrency with hundreds of working examples.
TypeScript adds types to JavaScript. These guides cover the type system, advanced patterns, and framework integration to help you catch bugs before your code runs.
Kotlin is the official language for Android development. These books cover syntax, functions, coroutines, and null safety for programmers coming from other languages.
PHP powers a huge portion of the web. These books cover PHP fundamentals, modern features, and database operations from beginner tutorials to professional references.
R is the go-to language for statistical computing and data visualization. These books cover data manipulation, plotting with ggplot2, and statistical modeling.
Swift is Apple's language for iOS and macOS development. These books include Apple's official Swift guide and practical tutorials with hands-on exercises.