---
title: "basE91"
description: "Joachim Henke basE91 with 13 or 14 bits per two printable characters. About 23 percent overhead"
canonical_url: "https://encodings.agntn.dev/encodings/base91"
---
# basE91

> Joachim Henke basE91 with 13 or 14 bits per two printable characters. About 23 percent overhead

<encoding-facts name="base91">



</encoding-facts>

The squeeziest one here. 91 printable ASCII characters, every one except `-`, `\` and `'`, and a variable 13 or 14 bits per pair. About 23% overhead, against 33% for base64.

```ts
encode("base91", "Hello, World!");  // ">OwJh>}AQ;r@@Y?F"
```

There's no RFC. Joachim Henke's reference C code is the spec, and this follows it bit for bit. One difference. The reference skips characters outside the alphabet, this decoder throws. Why? Silently skipping input is how you lose a byte and never notice.


## Sitemap

See the full [sitemap](https://encodings.agntn.dev/sitemap.md) for all pages.
