base64url: Fast and URL-Safe Base64 Encoder and Decoder

In contrast to RFC3548, the 62nd character ("+") is replaced with "-", the 63rd character ("/") is replaced with "_". Furthermore, the encoder does not fill the string with trailing "=". The resulting encoded strings comply to the regular expression pattern "[A-Za-z0-9_-]" and thus are safe to use in URLs or for file names. The package also comes with a simple base32 encoder/decoder suited for case insensitive file systems.

Version: 1.4
Imports: backports (≥ 1.1.0)
Suggests: base64enc, checkmate, knitr, microbenchmark, openssl, rmarkdown, testthat
Published: 2018-05-14
DOI: 10.32614/CRAN.package.base64url
Author: Michel Lang ORCID iD [cre, aut], Apache Foundation [ctb, cph], Free Software Foundation [ctb, cph]
Maintainer: Michel Lang <michellang at>
License: GPL-3
NeedsCompilation: yes
Materials: README NEWS
CRAN checks: base64url results


Reference manual: base64url.pdf
Vignettes: Benchmark


Package source: base64url_1.4.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): base64url_1.4.tgz, r-oldrel (arm64): base64url_1.4.tgz, r-release (x86_64): base64url_1.4.tgz, r-oldrel (x86_64): base64url_1.4.tgz
Old sources: base64url archive

Reverse dependencies:

Reverse imports: batchtools, drake, otp, RCy3, targets, txtq, zoltr


Please use the canonical form to link to this page.