Encoding and Compression

Data encoding, decoding, and compression utilities for various formats. Packages among the 3,000 most downloaded in the past 90 days.

86 packages
  • mime 2.0.7

    A MIME type module for Elixir

    101
    3.3m last 90 days
  • mimerl 1.5.0

    Library to handle mimetypes

    29
    2.9m last 90 days
  • abi 1.3.0

    Ethereum's ABI Interface

    20
    1.3m last 90 days
  • protobuf 0.16.0

    A pure Elixir implementation of Google Protobuf.

    897
    813.5k last 90 days
  • CRC32-C as nif for Erlang

    1
    571.2k last 90 days
  • snappyer 1.2.10

    Snappy as nif for Erlang

    15
    408.0k last 90 days
  • msgpax 2.4.0

    A high-performance and comprehensive library for serializing and deserializing Elixir terms using the MessagePack format.

    296
    402.9k last 90 days
  • gpb 4.21.7

    A compiler for Google protocol buffer definitions files for Erlang.

    575
    286.2k last 90 days
  • protox 2.0.8

    A fast, easy to use and 100% conformant Elixir library for Google Protocol Buffers (aka protobuf)

    298
    145.2k last 90 days
  • URL safe base64-compatible codec

    32
    110.3k last 90 days
  • Generate encoders and decoders for MCP tools

    2
    95.3k last 90 days
  • crc 0.10.6

    A library used to calculate CRC checksums for binary data.

    28
    89.2k last 90 days
  • zstream 0.6.7

    Streaming zip file writer and reader

    64
    82.1k last 90 days
  • Protocol buffer codec for Antidote

    0
    81.8k last 90 days
  • base16 2.0.1

    Base16 encoding and decoding

    3
    81.2k last 90 days
  • hashids 2.1.0

    Hashids lets you obfuscate numerical identifiers via reversible mapping.

    282
    78.5k last 90 days
  • erlavro 2.11.0

    Apache Avro support for Erlang/Elixir

    138
    69.8k last 90 days
  • Protos by Google

    18
    65.2k last 90 days
  • Allow you to make custom base conversion in Elixir.

    22
    57.9k last 90 days
  • A pure Gleam implementation of Google Protobuf.

    3
    56.9k last 90 days
  • unzip 0.13.0

    Elixir library to stream zip file contents. Works with remote files. Supports Zip64

    21
    55.3k last 90 days
  • varint 1.5.1

    A library to compress integers using LEB128.

    11
    54.1k last 90 days
  • ezstd 1.2.3

    zstd binding for erlang

    69
    53.4k last 90 days
  • cbor 1.0.2

    Implementation of RFC 7049 (Concise Binary Object Representation)

    36
    52.1k last 90 days
  • avrora 0.30.2

    An Elixir library for working with Avro messages conveniently. It supports local schema files and Confluent® schema registry.

    112
    50.7k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    2
    48.0k last 90 days
  • sext 1.9.0

    Sortable serialization library

    104
    40.7k last 90 days
  • marceau 1.3.0

    A MIME types library for Gleam

    14
    39.5k last 90 days
  • Gzip or gunzip a stream.

    44
    34.6k last 90 days
  • Base62 encoder/decoder in pure Erlang.

    3
    34.4k last 90 days
  • MMDB2 File Format Decoder

    9
    33.7k last 90 days
  • iconv 1.0.14

    Fast encoding conversion library for Erlang / Elixir

    59
    32.6k last 90 days
  • A library for loading data in the Python's pickle format

    14
    30.1k last 90 days
  • base62 1.2.2

    Base62 encoder/decoder in pure Elixir.

    20
    28.2k last 90 days
  • Serialization of data for Aeternity

    3
    28.2k last 90 days
  • ale8583 0.1.1

    ISO8583(MasterC and PROSA) parser for ELIXIR language.

    3
    28.1k last 90 days
  • cereal 1.3.2

    A generalizable, configurable serialization dsl for elixir

    7
    24.7k last 90 days
  • parse mimetypes

    3
    24.5k last 90 days
  • fast64 0.1.3

    High performance Elixir base 64 encoder/decoder in C.

    8
    23.7k last 90 days
  • brotli 0.3.3

    brotli compression library wrapper for Erlang

    31
    23.7k last 90 days
  • ex_rlp 0.6.0

    Ethereum's Recursive Length Prefix (RLP) encoding

    33
    23.1k last 90 days
  • tomerl 0.5.0

    Erlang TOML Parser

    23
    22.3k last 90 days
  • alpacki 2.0.0

    🦙 HPACK protocol (RFC 7541) for Gleam

    5
    21.4k last 90 days
  • b58 1.0.3

    B58 lets you encode an Elixir binary to base58 and decode a base58 string.

    25
    20.5k last 90 days
  • avro_ex 2.2.0

    An Avro encoding/decoding library written in pure Elixir

    70
    20.1k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    4
    19.4k last 90 days
  • Convention based conversion to/from XML/JSON

    7
    17.1k last 90 days
  • An implementation of Google's Protocol Buffers for Erlang, based on ngerakines/erlang_protobuffs.

    394
    17.1k last 90 days
  • Codepagex is an elixir library to convert between string encodings to and from utf-8. Like iconv, but written in pure Elixir.

    118
    16.9k last 90 days
  • Bytecode definitions, serialization and deserialization for aeternity.

    14
    14.1k last 90 days
  • Compress alphanumeric string to cjk characters.

    0
    14.0k last 90 days
  • amf0 0.1.0

    Amf0 (de)serialisation for Gleam

    1
    14.0k last 90 days
  • amf 0.1.4

    AMF decode/encode library

    6
    14.0k last 90 days
  • PHP serialize/unserialize support for Elixir

    13
    12.8k last 90 days
  • zbase32 2.0.0

    Efficient implementation of z-base-32, Phil Zimmermann's human-oriented base-32 encoding.

    9
    12.5k last 90 days
  • Streaming Zip64 archive generation

    163
    11.8k last 90 days
  • bertex 1.3.0

    Elixir BERT encoder/decoder

    29
    11.5k last 90 days
  • msgpack 0.8.1

    MessagePack serializer/deserializer

    219
    11.4k last 90 days
  • ezlib 1.0.16

    Native zlib driver for Erlang / Elixir

    14
    11.0k last 90 days
  • Pure Erlang NATS Protocol Message Encoder/Decoder

    0
    10.9k last 90 days
  • Ruby Marshal format implemented in Elixir.

    39
    10.4k last 90 days
  • Elixir wrapper for Rust based brotli compression

    6
    10.0k last 90 days
  • avrogen 0.11.3

    Generate elixir typedstructs from AVRO schemas.

    3
    9.1k last 90 days
  • bech32 1.0.0

    This is an implementation of BIP-0173 or bech32. It also supports Nervos CKB.

    4
    6.8k last 90 days
  • exprotobuf provides native encoding/decoding of protobuf messages via generated modules/structs.

    482
    6.4k last 90 days
  • An Elixir Implementation of Douglas Crockford's Base32 Encoding

    6
    6.4k last 90 days
  • base32 1.0.0

    A base32 implementation in Erlang

    13
    6.2k last 90 days
  • basex 1.3.3

    BaseX - arbitrary alphabet encoding

    4
    5.7k last 90 days
  • Nif for Base58 format encoding and decoding.

    2
    5.6k last 90 days
  • toon 0.3.0

    TOON (Token-Oriented Object Notation) encoder and decoder for Elixir. A compact data format optimized for LLM token efficiency, achieving 30-60% token reduction compared to JSON while maintaining readability.

    30
    5.6k last 90 days
  • Elixir implementation of pieroxy's lz-string compression algorithm.

    13
    5.5k last 90 days
  • gzlib 2.0.0

    zlib utilities for Gleam

    1
    5.5k last 90 days
  • lz4b 0.0.13

    lz4 for beam. An erlang Lz4 NIF library.

    5
    5.3k last 90 days
  • MPEG-4 container plugin for Membrane Framework

    9
    5.3k last 90 days
  • Membrane CMAF format

    0
    5.0k last 90 days
  • erlpack 1.0.0

    High Performance Erlang Term Format Packer

    247
    4.9k last 90 days
  • MPEG-4 container Membrane format

    0
    4.9k last 90 days
  • bert 0.2.1

    BERT Encoder/Decoder

    4.4k last 90 days
  • Elixir library for encoding and decoding Base58 and Base58Check using the Bitcoin/IPFS, Ripple, and Flickr alphabets.

    12
    4.2k last 90 days
  • b64fast 0.2.3

    This NIF complements Erlang with a fast and optimized way of encoding and decoding bulk Base64 data. Compliant with RFC4648 - The Base16, Base32, and Base64 Data Encodings.

    12
    4.2k last 90 days
  • gsm 0.1.2

    GSM-7 encoding for Elixir

    6
    4.0k last 90 days
  • ZigZag and varint encoding and decoding of integers

    1
    3.5k last 90 days
  • hex2bin 1.0.0

    Hex string/binary conversion utilities

    2
    3.2k last 90 days
  • Zstd binding for Erlang/Elixir

    3
    3.0k last 90 days
  • Base58Check and Base58 encoding/decoding for Elixir

    1
    3.0k last 90 days
  • gpb generated protobuf definitions for EventStoreDB v20+

    0
    2.8k last 90 days