# ReneNyffenegger/cpp-base64

base64 encoding and decoding with c++

Repository: https://github.com/ReneNyffenegger/cpp-base64
Canonical: https://ross.abutalabs.com/products/cpp-base64
Language: C++
License: NOASSERTION
License Family: other
Topics: cpp, c-plus-plus, base64, library
Last push: 2024-05-22T06:07:36+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3501, "days_push": 833, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1038, forks 333 (observed 2026-08-28T04:03:19.777407+00:00)

## What it is
A small C++ library for base64 encoding and decoding. It provides simple functions to convert data to and from base64 representation.

## Use cases
- encode binary data as base64 in c++
- decode base64 strings in c++
- embed base64 encoding in a c++ project
- convert images or files to base64 for embedding
- base64 encode data for email or http headers

## When to choose
- you need a lightweight, dependency-free base64 implementation in c++
- you want a simple, well-known single-purpose library
- you need to encode or decode base64 without pulling in a large framework

## When to avoid
- your project already uses a large library like OpenSSL or Boost that includes base64 utilities
- you need streaming or high-performance bulk encoding of very large data
- you require a permissively licensed library, as the license is non-standard

## Facets
- artifact type: library
- maturity: stable
- function: serialization
- domain: developer-tools, files
- platform: cpp, cross-platform
- tags: base64, encoding, decoding, header-only

## Member repositories
- ReneNyffenegger/cpp-base64 (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.777407+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:13.374593+00:00, confidence not recorded.
  - readme: https://github.com/ReneNyffenegger/cpp-base64 (fetched 2026-08-28T04:03:19.777407+00:00, sha d698d4984a12)
- Data as of 2026-08-30T08:39:29.467469+00:00.
