> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cipherinspector.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Encodings

> Character encoding options for ciphertexts

Character encodings on CipherInspector fall into two categories: data and display.

## Data encodings

Data encodings are character encodings that are typically used to store byte streams.

For all <a href="/ciphertext/encoding#Data encodings">data encodings</a>, the data is first decoded to a `Uint8Array` and then converted to
a string based on its encoding type (ASCII, Latin1, UTF-8, UTF-16, UTF-32). This step takes precedence over any other ciphertext settings,
unless the widget evaluates the ciphertext bytes rather than the encoded text data.

Supported data encoding types:

* [Base 64](https://en.wikipedia.org/wiki/Base64)
* [Hexadecimal](https://en.wikipedia.org/wiki/Hexadecimal)
* [Decimal](https://en.wikipedia.org/wiki/Decimal)
* [Octal](https://en.wikipedia.org/wiki/Octal)
* [Binary](https://en.wikipedia.org/wiki/Binary)

## Display encodings

Display encodings are character encodings that are already in display text format.

<a href="/ciphertext/encoding#Display encodings">Display encodings</a> are
not decoded before analysis and are analyzed as-is, unless the widget is designed
to evaluate the ciphertext bytes.

Supported display encoding types:

* [ASCII](https://en.wikipedia.org/wiki/ASCII)
* [Latin1](https://en.wikipedia.org/wiki/ISO/IEC_8859-1)
* [UTF-8](https://en.wikipedia.org/wiki/UTF-8)
* [UTF-16](https://en.wikipedia.org/wiki/UTF-16)
* [UTF-32](https://en.wikipedia.org/wiki/UTF-32)
