unpaddedbase64
Encode and decode Base64 without "=" padding
What it is and what it does
This package provides encode and decode functions for Base64 data formatted without the "=" padding characters that RFC 4648 specifies. Many protocols—particularly in distributed systems and cryptographic applications—omit padding for efficiency or protocol design reasons, and this library handles that variant directly rather than requiring manual padding manipulation.
The package is a thin, focused utility with no external dependencies. It supports Python 3.6 through 3.9 and is licensed under Apache-2.0. Development stopped in 2021, so it is stable but receives no active maintenance or updates.
Use it for:
- Decode Base64 strings from protocols like Matrix that omit padding characters
- Encode binary data to unpadded Base64 for APIs that reject or strip trailing equals signs
- Handle cryptographic token formats that use unpadded Base64 encoding
- Parse JWT or similar token schemes that use Base64url without padding
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Encodes and decodes Base64 data without RFC 4648 padding characters, supporting protocols that omit the trailing "=" bytes.
Yes, if you need unpadded Base64 handling and accept the abandoned maintenance status. The package is simple, dependency-free, and has no known vulnerabilities. However, for new projects, consider whether the standard library base64 module with manual padding removal would suffice, since this package will not receive updates.
Install
unpaddedbase64 on PyPI
pip
pip install unpaddedbase64uv
uv add unpaddedbase64poetry
poetry add unpaddedbase64Installing unpaddedbase64
Before you install
Low friction install with no runtime dependencies. Package is abandoned as of 2021-10-25 with no recent maintenance, though it remains stable and archived repository shows 11 stars.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it safe for most projects.
Quickstart
pip install unpaddedbase64
import unpaddedbase64
encoded = unpaddedbase64.encode_base64(b'\x00')
decoded = unpaddedbase64.decode_base64('AA')
Requires Python >=3.6,<4.0
Verify before relying
- Whether the abandoned status and lack of updates since 2021 pose any compatibility risk with modern Python versions beyond 3.9
- Performance characteristics compared to standard library base64 module with manual padding removal
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.6,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 1,984 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,737,143/month — #3,604 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: unpaddedbase64-2.1.0-py3-none-any.whl
Keywords: base64
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
py-multibaseEncodes and decodes data using the Multibase…
permissive · top 15,000 on PyPI
pybase64Fast base64 encoding and decoding via a C…
permissive · top 1,000 on PyPI
sed4onnxEncodes and decodes Base64-formatted constant…
permissive · top 15,000 on PyPI
mikeshardmind-base2048Encodes binary data into text using base2048, a…
copyleft · top 15,000 on PyPI
cbor2Encodes and decodes CBOR (Concise Binary Object…
permissive · top 1,000 on PyPI
base64ioProvides a streaming interface for Base64…
permissive · top 15,000 on PyPI
ecojiEncodes and decodes binary data as sequences of…
permissive · top 15,000 on PyPI
xxteaxxtea is a Python extension that implements the…
permissive · top 15,000 on PyPI
base2048Encodes and decodes binary data using Base2048,…
permissive · top 15,000 on PyPI
hexdumpConverts binary data to hexadecimal text…
permissive · top 15,000 on PyPI