Encoding and Compression

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

91 packages
  • mime 2.0.7

    A MIME type module for Elixir

    101
    4.3m last 90 days
  • mimerl 1.5.0

    Library to handle mimetypes

    29
    3.4m last 90 days
  • protobuf 0.17.0

    A pure Elixir implementation of Google Protobuf.

    901
    1.1m last 90 days
  • CRC32-C as nif for Erlang

    2
    630.2k last 90 days
  • msgpax 2.4.0

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

    299
    573.7k last 90 days
  • snappyer 1.2.10

    Snappy as nif for Erlang

    15
    428.3k last 90 days
  • gpb 5.0.0

    A compiler for Google protocol buffer definitions files for Erlang.

    580
    409.8k last 90 days
  • abi 1.3.0

    Ethereum's ABI Interface

    20
    133.6k last 90 days
  • cbor 1.0.2

    Implementation of RFC 7049 (Concise Binary Object Representation)

    36
    132.2k last 90 days
  • zstream 0.6.7

    Streaming zip file writer and reader

    66
    114.2k last 90 days
  • URL safe base64-compatible codec

    32
    105.2k last 90 days
  • crc 0.10.6

    A library used to calculate CRC checksums for binary data.

    28
    100.2k last 90 days
  • base16 2.0.1

    Base16 encoding and decoding

    3
    95.3k last 90 days
  • unzip 0.13.0

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

    22
    89.8k last 90 days
  • hashids 2.1.0

    Hashids lets you obfuscate numerical identifiers via reversible mapping.

    282
    78.2k last 90 days
  • erlavro 2.11.2

    Apache Avro support for Erlang/Elixir

    139
    73.2k last 90 days
  • protox 2.0.9

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

    297
    71.5k last 90 days
  • ezstd 1.2.4

    zstd binding for erlang

    69
    71.2k last 90 days
  • varint 1.6.0

    A library to compress integers using LEB128.

    13
    60.2k last 90 days
  • sext 1.9.0

    Sortable serialization library

    105
    60.1k last 90 days
  • MMDB2 File Format Decoder

    9
    54.6k 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.

    113
    54.0k last 90 days
  • Allow you to make custom base conversion in Elixir.

    22
    49.1k last 90 days
  • Protos by Google

    18
    47.6k last 90 days
  • marceau 1.3.0

    A MIME types library for Gleam

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

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

    44
    41.5k last 90 days
  • iconv 1.0.14

    Fast encoding conversion library for Erlang / Elixir

    60
    39.7k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    4
    37.4k last 90 days
  • Base62 encoder/decoder in pure Erlang.

    3
    32.3k last 90 days
  • ex_rlp 0.6.0

    Ethereum's Recursive Length Prefix (RLP) encoding

    33
    32.3k last 90 days
  • b58 1.0.3

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

    25
    30.6k last 90 days
  • tomerl 0.5.0

    Erlang TOML Parser

    23
    28.5k last 90 days
  • parse mimetypes

    3
    26.5k last 90 days
  • Convention based conversion to/from XML/JSON

    7
    26.4k last 90 days
  • brotli 0.3.3

    brotli compression library wrapper for Erlang

    31
    25.7k 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.

    120
    22.7k last 90 days
  • base62 1.2.2

    Base62 encoder/decoder in pure Elixir.

    20
    20.9k last 90 days
  • base32 1.0.0

    A base32 implementation in Erlang

    13
    19.9k last 90 days
  • Streaming Zip64 archive generation

    164
    19.2k last 90 days
  • PHP serialize/unserialize support for Elixir

    13
    17.1k last 90 days
  • avro_ex 2.2.0

    An Avro encoding/decoding library written in pure Elixir

    69
    16.8k last 90 days
  • cereal 1.3.2

    A generalizable, configurable serialization dsl for elixir

    7
    16.1k last 90 days
  • bertex 1.3.0

    Elixir BERT encoder/decoder

    30
    15.1k last 90 days
  • spectra 0.13.4

    Type safe data (de) serialization.

    8
    14.9k last 90 days
  • Bindings to the js implementation of multiformats

    4
    12.2k last 90 days
  • gleb128 4.0.0

    GLEB128 is a small Gleam library that provides functions for encoding and decoding LEB128 (Little Endian Base 128) integers.

    2
    12.2k last 90 days
  • avrogen 1.1.0

    Generate elixir typedstructs from AVRO schemas.

    3
    11.8k last 90 days
  • zbase32 2.0.0

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

    9
    11.3k last 90 days
  • Generate encoders and decoders for MCP tools

    2
    10.7k last 90 days
  • MPEG-4 container plugin for Membrane Framework

    9
    10.6k last 90 days
  • Protocol buffer codec for Antidote

    0
    10.4k last 90 days
  • msgpack 0.8.1

    MessagePack serializer/deserializer

    219
    9.7k last 90 days
  • ezlib 1.0.16

    Native zlib driver for Erlang / Elixir

    14
    9.7k 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
    9.6k last 90 days
  • Elixir wrapper for Rust based brotli compression

    6
    9.6k last 90 days
  • Membrane CMAF format

    0
    9.6k last 90 days
  • MPEG-4 container Membrane format

    0
    9.5k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    2
    8.9k last 90 days
  • Ruby Marshal format implemented in Elixir.

    39
    8.8k last 90 days
  • lz4b 0.0.13

    lz4 for beam. An erlang Lz4 NIF library.

    5
    8.4k last 90 days
  • gzlib 2.0.0

    zlib utilities for Gleam

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

    0
    7.4k last 90 days
  • A pure Gleam implementation of Google Protobuf.

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

    482
    7.3k last 90 days
  • Ethereum's Hex Prefix encoding

    4
    7.1k last 90 days
  • basex 1.3.3

    BaseX - arbitrary alphabet encoding

    4
    6.6k last 90 days
  • erlpack 1.0.0

    High Performance Erlang Term Format Packer

    249
    6.6k last 90 days
  • Pure Erlang NATS Protocol Message Encoder/Decoder

    0
    6.4k last 90 days
  • Base58Check and Base58 encoding/decoding for Elixir

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

    13
    6.2k last 90 days
  • A MIME Type detection by magic number in Elixir.

    2
    5.8k last 90 days
  • ican 0.1.1

    ICAN (International Crypto Account Number). An encoding for asset/crypto addresses

    2
    5.6k last 90 days
  • Multiple crypto support.

    2
    5.5k last 90 days
  • FLV Container implementation for Membrane Framework

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

    12
    5.2k last 90 days
  • Protobuf compilation and extensions integration

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

    392
    4.9k last 90 days
  • ZigZag and varint encoding and decoding of integers

    1
    4.9k last 90 days
  • NIF-based LZ4 compression and decompression support for Elixir.

    37
    4.5k last 90 days
  • An Elixir Implementation of Douglas Crockford's Base32 Encoding

    6
    4.5k last 90 days
  • bech32 1.0.0

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

    4
    4.3k last 90 days
  • hex2bin 1.0.0

    Hex string/binary conversion utilities

    2
    4.3k last 90 days
  • String encoding/decoding NIF using rust [encoding](https://crates.io/crates/encoding) library

    3
    4.2k last 90 days
  • Plugin for dumping and restoring a Membrane Stream to and from a binary format

    1
    3.9k last 90 days
  • alpacki 3.0.1

    🦙 HPACK protocol (RFC 7541) for Gleam

    6
    3.6k last 90 days
  • gsm 0.1.2

    GSM-7 encoding for Elixir

    6
    3.6k last 90 days
  • Serialization of data for Aeternity

    3
    3.5k last 90 days
  • ale8583 0.1.1

    ISO8583(MasterC and PROSA) parser for ELIXIR language.

    3
    3.5k last 90 days
  • Nif for Base58 format encoding and decoding.

    2
    3.4k last 90 days
  • lz4_erl 0.2.4

    LZ4 bindings for Erlang

    3.2k last 90 days