InfoBooks

49 Free Programming Books [PDF]

by InfoBooks

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

These books cover the foundations of programming. Language design, algorithms, computer science basics, and assembly language.

C and C++ Books

C and C++ are the backbone of systems programming. These books cover everything from pointers and memory management to modern C++ patterns.

C# Books

C# powers Windows apps, Unity games, and enterprise software. This textbook covers fundamentals, OOP, and data structures in over 1,100 pages.

Java Books

Java runs on billions of devices. These books teach you object-oriented programming and computational thinking from the ground up.

JavaScript Books

JavaScript runs in every browser. These books cover modern JS from beginner guides to advanced topics like async programming and Node.js.

Python Books

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 Books

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.

Rust Books

Rust gives you C-level performance with memory safety guarantees. These books include the official Rust guide and Google's internal training material.

  • The Rust Programming Language

    The official Rust book covering ownership, borrowing, concurrency, and all core language features. MIT/Apache 2.0 license.

    Steve Klabnik, Carol Nichols

    Format: PDF 670 pages 4.41 MB
  • Comprehensive Rust

    Google's official Rust training course covering basics through advanced topics including Android and Chromium development. Apache 2.0 / CC BY 4.0.

    Martin Geisler (Google)

    Format: PDF 582 pages 2.3 MB

TypeScript Books

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 Books

Kotlin is the official language for Android development. These books cover syntax, functions, coroutines, and null safety for programmers coming from other languages.

  • Elements of Kotlin

    Complete introduction to Kotlin for programmers coming from other languages. Covers syntax, functions, classes, and coroutines. CC BY-SA 4.0.

    Mark L. Murphy

    Format: PDF 413 pages 1.83 MB
  • Kotlin Notes for Professionals

    Quick reference covering Kotlin fundamentals, null safety, collections, lambdas, and generics. CC BY-SA.

    GoalKicker

    Format: PDF 94 pages 1 MB

PHP Books

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 Books

R is the go-to language for statistical computing and data visualization. These books cover data manipulation, plotting with ggplot2, and statistical modeling.

  • Introduction to Programming in R

    Comprehensive introduction to R programming covering data objects, manipulation, visualization with ggplot2, and statistical analysis.

    Aedin Culhane

    Format: PDF 206 pages 1.44 MB
  • An Introduction to R

    Official R documentation covering the language environment, data manipulation, statistical models, and graphics. Written by the R Core Team.

    W. N. Venables, D. M. Smith & the R Core Team

    Format: PDF 105 pages 0.57 MB
  • R for Beginners

    Accessible introduction to R covering data handling, objects, graphics, and basic statistical operations. Written for absolute beginners.

    Emmanuel Paradis

    Format: PDF 76 pages 0.51 MB
  • The Undergraduate Guide to R

    Beginner-friendly R guide designed for undergraduates, covering installation, data types, plotting, and basic functions.

    Trevor Martin

    Format: PDF 68 pages 0.45 MB
  • R Programming

    University course notes on R programming from Oxford, covering objects, functions, data manipulation, graphics, and statistical modeling.

    Robin Evans

    Format: PDF 82 pages 0.49 MB

Swift Books

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.

Matlab Books

MATLAB is used in engineering and scientific computing. These short guides teach you workspace basics, matrix operations, and data visualization.

That's our collection of free programming books in PDF. Pick a language, grab a book, and start building.

Looking for more? Browse all our free computer science books for topics like algorithms, databases, and software engineering.

You Might Also Like

HELP US SPREAD THE READING HABIT!