Fast base64 encoding and decoding for ByteStrings

Version on this page:
LTS Haskell 9.14:
Stackage Nightly 2017-11-20:
Latest on Hackage:
BSD3 licensed and maintained by Bryan O'Sullivan

Module documentation for

There are no documented modules for this package.

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, .

Depends on:
Used by 224 packages:
abeson, airship, amazon-products, api-tools, atlassian-connect-core, atom-basic, authenticate-oauth, avers-server, aws, aws-cloudfront-signer, aws-dynamodb-streams, aws-ec2, aws-kinesis, aws-sdk, azurify, base64-conduit, battleships, bittorrent, blank-canvas, btree-concurrent, cj-token, clientsession, cloudfront-signer, coinbase-exchange, conduit-combinators, configuration-tools, consul-haskell, cryptoconditions, crypto-pubkey-openssh, dataurl, Deadpan-DDP, diagrams-haddock, diagrams-svg, dingo-core, dns, doc-review, dsc, duplo, ec2-signature, email-header, engine-io, env-parser, fb, fields-json, flowdock, flowdock-api, fmt, fpco-api, gdax, ghcjs-websockets, gitignore, gitit, givegif, glirc, google-oauth2-jwt, google-static-maps, groundhog, gssapi-wai, hackage-security, hackage-server, hackport, hails, handa-gdata, happstack-authenticate, happstack-jmacro, happstack-server, haskell-aliyun, haskell-tor, hasql-migration, haxr, hemokit, hgithub, hoodle-core, hoodle-extra, hoodle-render, hOpenPGP, HPDF, HTF, htiled, http-client, http-client-extra, http-common, http-dispatch, http-enumerator, http-streams, iap-verifier, iCalendar, ide-backend-common, idris, ihaskell, ihaskell-inline-r, ihaskell-magic, ihaskell-rlangqq, irc-core, jose, jsaddle, juandelacosa, Ketchup, keystore, lambdacube-compiler, lambdacube-gl, language-kort, latex-formulae-pandoc, line, lio-simple, log-elasticsearch, log-postgres, lucienne, Lucu, mandrill, mangopay, mime-mail, mime-mail-ses, minio-hs, mole, mongoDB, mtgoxapi, multihash, netease-fm, network-service, nonce, ntrip-client, oauth10a, oauthenticated, octohat, opencv, openpgp-asciiarmor, pandoc, partly, pdf-slave, pdf-slave-template, pem, persistent, persistent-zookeeper, plist, plist-buddy, pontarius-xmpp, postgresql-simple-migration, postgrest, postgrest-ws, postmark-streams, praglude, project-m36, project-template, property-list, pubnub, pwstore-fast, pwstore-purehaskell, rails-session, rethinkdb, rtcm, s3-signer, sasl, sbp, scholdoc, scotty-session, scrypt, scuttlebutt-types, serokell-util, servant-auth-cookie, servant-auth-hmac, servant-auth-server, servant-client-core, servant-server, servant-snap, serversession, serversession-backend-persistent, ses-html, shopify, simple, simple-session, skylighting, smtp-mail, smtp-mail-ng, smtps-gmail, socketson, space, Spock, Spock-core, sproxy, sproxy2, sssp, stack, stdf, store, strelka, swagger-petstore, tablestorage, Tahin, tamarin-prover-utils, tempo, text-conversions, text-ldap, thrift, twentefp-websockets, twill, typed-wire-utils, u2f, unbreak, verify, wai-extra, wai-hmac-auth, wai-middleware-auth, wai-middleware-crowd, wai-middleware-etag, wai-middleware-hmac, wai-middleware-hmac-client, webdriver, webdriver-snoy, web-push, websockets, webwire, WMSigner, wrecker, xlsx, xmpipe, yesod-auth, yesod-auth-basic, yesod-auth-deskcom, yesod-bin, yesod-platform, yesod-static, yql, zerobin
comments powered byDisqus