Browse free open source C++ Libraries and projects below. Use the toggles on the left to filter open source C++ Libraries by OS, license, language, programming language, and project status.

  • Simple, Secure Domain Registration Icon
    Simple, Secure Domain Registration

    Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

    Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
    Sign up for free
  • Gen AI apps are built with MongoDB Atlas Icon
    Gen AI apps are built with MongoDB Atlas

    The database for AI-powered applications.

    MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
    Start Free
  • 1
    Scnlib

    Scnlib

    scanf for modern C++

    scnlib is a modern C++ library that serves as a replacement for scanf and std::istream. It offers type-safe and efficient input parsing, aiming to improve upon the limitations of traditional C++ input methods.​
    Downloads: 1 This Week
    Last Update:
    See Project
  • 2
    Simple-WebSocket-Server

    Simple-WebSocket-Server

    WebSocket (WS) and WebSocket Secure (WSS) server and client library

    A very simple, fast, multithreaded, platform-independent WebSocket (WS) and WebSocket Secure (WSS) server and client library implemented using C++11, Asio (both Boost.Asio and standalone Asio can be used) and OpenSSL. Created to be an easy way to make WebSocket endpoints in C++.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 3
    Thrust

    Thrust

    The C++ parallel algorithms library

    Thrust is the C++ parallel algorithms library which inspired the introduction of parallel algorithms to the C++ Standard Library. Thrust's high-level interface greatly enhances programmer productivity while enabling performance portability between GPUs and multicore CPUs. It builds on top of established parallel programming frameworks (such as CUDA, TBB, and OpenMP). It also provides a number of general-purpose facilities similar to those found in the C++ Standard Library. The NVIDIA C++ Standard Library is an open-source project; it is available on GitHub and included in the NVIDIA HPC SDK and CUDA Toolkit. If you have one of those SDKs installed, no additional installation or compiler flags are needed to use libcu++. Thrust is a header-only library; there is no need to build or install the project unless you want to run the Thrust unit tests.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 4
    Tiny CUDA Neural Networks

    Tiny CUDA Neural Networks

    Lightning fast C++/CUDA neural network framework

    This is a small, self-contained framework for training and querying neural networks. Most notably, it contains a lightning-fast "fully fused" multi-layer perceptron (technical paper), a versatile multiresolution hash encoding (technical paper), as well as support for various other input encodings, losses, and optimizers. We provide a sample application where an image function (x,y) -> (R,G,B) is learned. The fully fused MLP component of this framework requires a very large amount of shared memory in its default configuration. It will likely only work on an RTX 3090, an RTX 2080 Ti, or high-end enterprise GPUs. Lower-end cards must reduce the n_neurons parameter or use the CutlassMLP (better compatibility but slower) instead. tiny-cuda-nn comes with a PyTorch extension that allows using the fast MLPs and input encodings from within a Python context. These bindings can be significantly faster than full Python implementations; in particular for the multiresolution hash encoding.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Build Securely on AWS with Proven Frameworks Icon
    Build Securely on AWS with Proven Frameworks

    Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

    Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
    Download Now
  • 5
    V8js

    V8js

    V8 Javascript Engine for PHP

    V8Js is a PHP extension that allows executing JavaScript code from within PHP using Google’s V8 engine. It’s ideal for projects requiring server-side rendering of JavaScript or integration with JavaScript-heavy workflows.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 6
    Yocto/GL

    Yocto/GL

    Yocto/GL: Tiny C++ Libraries for Data-Driven Physically-based Graphics

    Yocto/GL is a collection of small C++17 libraries for building physically-based graphics algorithms released under the MIT license. Yocto/GL is written in a deliberately data-oriented style for ease of development and use. Yocto/GL is split into small libraries to make code navigation easier. See each header file for documentation. Simple shape data structure, utilities for manipulating triangle meshes, quads meshes and line sets, computation of normals and tangents, linear and Catmull-Clark subdivision, procedural shapes generation, ray intersection and closest point queries. Ray intersection and closest point queries of triangle meshes, quads meshes, line sets and shape instances using a two-level bounding volume hierarchy. Path tracing of surfaces and hairs supporting area and environment illumination, microfacet GGX and subsurface scattering, multiple importance sampling.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 7
    Zopfli

    Zopfli

    Zopfli Compression Algorithm is a compression library

    Zopfli is a compression library and command-line tool that produces exceptionally small DEFLATE, zlib, and gzip streams by spending more CPU time to search for better encodings. It keeps strict compatibility with the ubiquitous DEFLATE format, so outputs can be decompressed by any standard tool or browser. The encoder performs exhaustive block splitting and greedy but thorough match searching to shave extra bytes off assets, which is ideal for web content and firmware where size matters more than compression time. A companion utility, zopflipng, targets PNGs by trying alternate filter strategies and recompressing IDAT chunks, often achieving additional savings without changing image quality. The codebase includes both a reusable library and ready-to-use CLI tools for bulk optimization in build pipelines. It is frequently used offline—e.g., as a final step in release builds—because decode speed remains normal while files get smaller.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 8
    ccapi

    ccapi

    A header-only C++ library for interacting with crypto exchanges

    A header-only C++ library for streaming market data and executing trades directly from cryptocurrency exchanges (i.e. the connections are between your server and the exchange server without anything in-between).
    Downloads: 1 This Week
    Last Update:
    See Project
  • 9
    configor

    configor

    A light weight configuration library for C++

    A light weight configuration library for C++11.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Connect every part of your business to one bank account Icon
    Connect every part of your business to one bank account

    North One is a business banking app that integrates cash flow, payments, and budgeting to turn your North One Account into one Connected Bank Account

    North One is proudly built for small businesses, startups and freelancers across America. Make payments easily, keep tabs on your money and put your finances on autopilot through smart integrations with the tools you’re already using. North One was built to make managing money easy so you can focus on running your business. No more branches. No more lines. No more paperwork. Get complete access to your North One Account from your phone or computer, wherever your business takes you. Create Envelopes for taxes, payroll, rent, and anything else automatically.
    Get started for free.
  • 10
    faker-cxx

    faker-cxx

    C++ Faker library for generating fake (but realistic) data

    Faker C++ is a C++ library inspired by the popular Faker.js, aimed at providing developers with a robust tool for generating fake (but realistic) data. Whether you're building test suites, populating databases, or creating demos, Faker C++ has got you covered.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 11
    globjects

    globjects

    C++ library strictly wrapping OpenGL objects.

    globjects is a cross-platform C++ wrapper for OpenGL API objects. globjects provides object-oriented interfaces to the OpenGL API (3.0 and higher). It reduces the amount of OpenGL code required for rendering and facilitates coherent OpenGL use by means of an additional abstraction layer to glbinding and GLM. Common rendering tasks and processes are automated and missing features of specific OpenGL drivers are partially simulated or even emulated at run-time.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 12
    libdatachannel

    libdatachannel

    C/C++ WebRTC network library featuring Data Channels, Media Transport

    libdatachannel is a C++ library that implements WebRTC DataChannels and ICE transports, enabling peer-to-peer communication without relying on media components. It is ideal for developers who want efficient, low-latency P2P communication for data transmission in IoT, multiplayer games, decentralized apps, or custom signaling architectures. Built for performance and minimalism, it allows fine-grained control over STUN, TURN, DTLS, and SCTP layers, with a clean and modern C++ interface.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    nghttp2

    nghttp2

    HTTP/2 C Library and tools

    nghttp2 is an implementation of HTTP/2 and its header compression algorithm HPACK in C. The framing layer of HTTP/2 is implemented as a form of reusable C library. On top of that, we have implemented HTTP/2 client, server and proxy. We have also developed a load test and benchmarking tool for HTTP/2. We have participated in httpbis working group since HTTP/2 draft-04, which is the first implementation draft. Since then we have updated nghttp2 library constantly to the latest specification and nghttp2 is now one of the most mature HTTP/2 implementations. HTTP/2 utilizes header compression method called HPACK. We offer HPACK encoder and decoder are available as public API. nghttp2 library itself is a bit low-level. The experimental high-level C++ API is also available. We have Python binding of this library, but we have not covered everything yet.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    oneDNN

    oneDNN

    oneAPI Deep Neural Network Library (oneDNN)

    This software was previously known as Intel(R) Math Kernel Library for Deep Neural Networks (Intel(R) MKL-DNN) and Deep Neural Network Library (DNNL). oneAPI Deep Neural Network Library (oneDNN) is an open-source cross-platform performance library of basic building blocks for deep learning applications. oneDNN is part of oneAPI. The library is optimized for Intel(R) Architecture Processors, Intel Processor Graphics and Xe Architecture graphics. oneDNN has experimental support for the following architectures: Arm* 64-bit Architecture (AArch64), NVIDIA* GPU, OpenPOWER* Power ISA (PPC64), IBMz* (s390x), and RISC-V. oneDNN is intended for deep learning applications and framework developers interested in improving application performance on Intel CPUs and GPUs. Deep learning practitioners should use one of the applications enabled with oneDNN.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    tabulate

    tabulate

    Table Maker for Modern C++

    tabulate is a header-only library. Just add include/ to your include_directories and you should be good to go. A single header file version is also available in single_include/. Although word-wrapping is automatic, there is a simple override. Automatic word-wrapping is used only if the cell contents do not have any embedded newline \n characters. So, you can embed newline characters in the cell contents and enforce the word-wrapping manually. tabulate allows for fine control over borders and corners. For each border and corner, you can set the text, color, and background color.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    Drumstick Libraries

    Drumstick Libraries

    MIDI libraries for Qt/C++

    Drumstick is a tool to play music. This is a set of C++ MIDI libraries using Qt5 objects, idioms and style. It contains a C++ wrapper around the ALSA library sequencer interface; ALSA sequencer provides software support for MIDI technology on Linux. A complementary library provides classes for SMF (Standard MIDI files: .MID/.KAR), and Cakewalk (.WRK) file formats processing. A multiplatform realtime MIDI I/O library is also provided.
    Leader badge
    Downloads: 23 This Week
    Last Update:
    See Project
  • 17
    Lib CONIO (conio_am.h) GCC C++

    Lib CONIO (conio_am.h) GCC C++

    Library CONIO GCC C++ for Windows e Linux (POSIX)

    New version 7.1.22.12 - prealpha. This project presents clone of the Borland Turbo C/C++ or Embarcadero C++ library "conio" for the GCC compiler, more precisely for the C++ language in Windows, Linux and Mac OS operating systems. Because all functions are defined within the header file itself, the installation is simple. Just place the header file "conio_am.h" (CONsole Input Output Advanced Method) inside the GCC includes directory. Or keep the file "conio_am.h" in the same location where the source programs will be compiled. For more libraries, go to: https://sourceforge.net/u/augustomanzano/profile. To know my curriculum vitae, go to: http://lattes.cnpq.br/8184615061457853. Augusto Manzano http://www.manzano.pro.br https://www.youtube.com/@am-42
    Downloads: 8 This Week
    Last Update:
    See Project
  • 18
    LunarCalendar

    LunarCalendar

    Use Qt write lunar calendar.

    Use Qt write lunar calendar. The repository is only read mirror of github. Main repository: https://github.com/KangLin/LunarCalendar .
    Leader badge
    Downloads: 21 This Week
    Last Update:
    See Project
  • 19

    HarduIno

    Hardware-optimized Arduino library

    This project is a partial overhaul of the Arduino hardware library, i.e. the main source files that make the core library. The intent is to reduce the overhead introduced by the initial library and eliminate the numerous function calls whenever direct register access is possible.
    Downloads: 20 This Week
    Last Update:
    See Project
  • 20
    DocWire SDK

    DocWire SDK

    Award-winning modern data processing SDK in C++20

    DocWire SDK, a standout C++20AI driven data processing tool, has received award from SourceForge and strong backing from Microsoft. It handles nearly 100 file types, empowering efficient text extraction, web data extraction, and document analysis. For businesses, the shift to DocWire SDK signifies a leap forward. It promises comprehensive document format support and the ability to extract valuable insights from email boxes, databases, and websites using cutting-edge AI. DocWire SDK aims to expand its capabilities, focusing on versatile data extraction, platform support, and seamless integration with various systems. DocWire SDK is dedicated to streamlining data processing, reducing development time and costs, and harnessing the potential of AI. Its advancements promise a superior experience compared to its predecessor, DocToText.
    Leader badge
    Downloads: 19 This Week
    Last Update:
    See Project
  • 21
    TX Library

    TX Library

    TX Library is a tiny graphics library for Win32 written in C++.

    TX Library is a tiny graphics library for Win32 written in C++. It is a small sandbox for the very beginners to help them to learn basic programming principles. The documentation is currently in Russian. More info here: http://storage.ded32.net.ru/Lib/TX/TXUpdate/Doc/HTML.ru, http://ded32.net.ru/news/2011-04-03-58, http://ded32.net.ru.
    Leader badge
    Downloads: 5 This Week
    Last Update:
    See Project
  • 22

    Unix GNU Windows

    Packages to create a Unix like environment under MS-Windows

    At this point this project is mainly wpkg which is a replica of dpkg and apt-get that works under Microsoft Windows and Unices. Since version 0.7.0 it works very nicely as it includes most of the important functionality of dpkg (i.e. most everything except dselect functions.) Otherwise, the Unix GNU Windows is expected to be a large set of packages that wpkg can handle. Packages of all the software available under MinGW and GnuWin32 so you can painlessly build a complete Unix like environment under Microsoft Windows.
    Leader badge
    Downloads: 16 This Week
    Last Update:
    See Project
  • 23
    STLplus C++ library collection

    STLplus C++ library collection

    C++ Library collection

    Containers to extend STL: graph, tree, matrix, smart-pointer. Persistence (serialisation) of C++ data structures. Portability: subprocesses, TCP, file system. Reusable subsystems: library manager, message handler. Portable between OSs and compilers. Documentation is included in the download and is also available on the STLplus website http://stlplus.sourceforge.net. The headers are intended to be readable, so look at them too for usage information on each function and class.
    Leader badge
    Downloads: 15 This Week
    Last Update:
    See Project
  • 24
    AudioGenie
    AudioGenie is a fast Library with many functions to analyze audiofiles (like Bitrate, Samplerate, Frames, Duration, Version-Number, etc) and for tagging. This DLL can read and modify audio tags like id3v1, id3v2, ape, lyrics and mp4, ogg,flac & more.
    Downloads: 3 This Week
    Last Update:
    See Project
  • 25
    SigPack

    SigPack

    SigPack - A signal processing library using Armadillo

    SigPack is a C++ signal processing library using the Armadillo library as a base. The API will be familiar for those who has used IT++ and Octave/Matlab.
    Downloads: 5 This Week
    Last Update:
    See Project