Fast base64 encoding and decoding for ByteStrings

Version on this page:
LTS Haskell 12.18:
Stackage Nightly 2018-11-16:
Latest on Hackage:

See all snapshots base64-bytestring appears in

BSD3 licensed and maintained by Bryan O'Sullivan

Fast base64 support

This package provides a Haskell library for working with base64-encoded data quickly and efficiently, using the ByteString type.


This library is written in pure Haskell, and it’s fast:

  • 250 MB/sec encoding

  • 200 MB/sec strict decoding (per RFC 4648)

  • 100 MB/sec lenient decoding

Get involved!

Please report bugs via the github issue tracker.

Master git repository:

  • git clone git://

And a Mercurial mirror:

  • hg clone

(You can create and contribute changes using either Mercurial or git.)


This library is written and maintained by Bryan O’Sullivan,

comments powered byDisqus