Fast base64 encoding and decoding for Haskell.
Haskell Python
Failed to load latest commit information.
Data/ByteString reChunkIn: Fix insufficient laziness Feb 8, 2013
benchmarks Add lazy benchmarks Aug 28, 2012
tests When testing lazy ByteStrings, test all representations Aug 7, 2012
.gitignore .gitignore: dist, *.o, *.hi Mar 25, 2011
.hgignore Ignore more Sep 2, 2010
.hgtags Added tag for changeset 36b316edb001 Feb 8, 2013
CHANGES fixed two bugs in encoding table construction Mar 25, 2011
LICENSE Update license to BSD3 Sep 2, 2010
Setup.hs Initial commit, with fast working encode Sep 1, 2010
base64-bytestring.cabal Bump version to Feb 8, 2013


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,