Encoding and Compression

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

89 packages
  • mime 2.0.7

    A MIME type module for Elixir

    101
    2.6m last 90 days
  • mimerl 1.4.0

    Library to handle mimetypes

    29
    2.3m last 90 days
  • protobuf 0.16.0

    A pure Elixir implementation of Google Protobuf.

    895
    631.2k last 90 days
  • CRC32-C as nif for Erlang

    481.8k last 90 days
  • snappyer 1.2.10

    Snappy as nif for Erlang

    347.3k last 90 days
  • msgpax 2.4.0

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

    296
    291.8k last 90 days
  • abi 1.3.0

    Ethereum's ABI Interface

    20
    276.1k last 90 days
  • gpb 4.21.7

    A compiler for Google protocol buffer definitions files for Erlang.

    574
    220.1k last 90 days
  • protox 2.0.4

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

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

    32
    85.1k last 90 days
  • crc 0.10.6

    A library used to calculate CRC checksums for binary data.

    28
    70.3k last 90 days
  • hashids 2.1.0

    Hashids lets you obfuscate numerical identifiers via reversible mapping.

    281
    65.5k last 90 days
  • Protos by Google

    18
    65.0k last 90 days
  • zstream 0.6.7

    Streaming zip file writer and reader

    64
    64.3k last 90 days
  • base16 2.0.1

    Base16 encoding and decoding

    3
    62.4k last 90 days
  • erlavro 2.11.0

    Apache Avro support for Erlang/Elixir

    138
    60.0k 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
    49.7k last 90 days
  • Allow you to make custom base conversion in Elixir.

    22
    49.7k last 90 days
  • varint 1.5.1

    A library to compress integers using LEB128.

    11
    45.1k last 90 days
  • unzip 0.13.0

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

    21
    42.7k last 90 days
  • ezstd 1.2.3

    zstd binding for erlang

    68
    38.2k last 90 days
  • marceau 1.3.0

    A MIME types library for Gleam

    13
    33.3k last 90 days
  • cbor 1.0.1

    Implementation of RFC 7049 (Concise Binary Object Representation)

    35
    32.7k last 90 days
  • Base62 encoder/decoder in pure Erlang.

    3
    28.5k last 90 days
  • sext 1.9.0

    Sortable serialization library

    105
    28.1k last 90 days
  • iconv 1.0.14

    Fast encoding conversion library for Erlang / Elixir

    59
    27.1k last 90 days
  • Gzip or gunzip a stream.

    44
    27.0k last 90 days
  • MMDB2 File Format Decoder

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

    2
    25.3k last 90 days
  • base62 1.2.2

    Base62 encoder/decoder in pure Elixir.

    20
    25.0k last 90 days
  • cereal 1.3.2

    A generalizable, configurable serialization dsl for elixir

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

    14
    22.6k last 90 days
  • fast64 0.1.3

    High performance Elixir base 64 encoder/decoder in C.

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

    394
    19.2k last 90 days
  • brotli 0.3.3

    brotli compression library wrapper for Erlang

    31
    18.5k last 90 days
  • parse mimetypes

    3
    18.3k last 90 days
  • Protocol buffer codec for Antidote

    0
    17.6k last 90 days
  • ex_rlp 0.6.0

    Ethereum's Recursive Length Prefix (RLP) encoding

    33
    16.1k last 90 days
  • Convention based conversion to/from XML/JSON

    7
    15.6k last 90 days
  • tomerl 0.5.0

    Erlang TOML Parser

    23
    15.5k last 90 days
  • avro_ex 2.2.0

    An Avro encoding/decoding library written in pure Elixir

    70
    14.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.

    119
    14.1k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    2
    13.8k last 90 days
  • b58 1.0.3

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

    25
    13.0k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    4
    12.5k last 90 days
  • A pure Gleam implementation of Google Protobuf.

    3
    11.8k last 90 days
  • bertex 1.3.0

    Elixir BERT encoder/decoder

    29
    10.5k last 90 days
  • PHP serialize/unserialize support for Elixir

    13
    10.1k last 90 days
  • ezlib 1.0.15

    Native zlib driver for Erlang / Elixir

    13
    9.8k last 90 days
  • zbase32 2.0.0

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

    9
    9.8k last 90 days
  • Ruby Marshal format implemented in Elixir.

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

    6
    8.1k last 90 days
  • msgpack 0.8.1

    MessagePack serializer/deserializer

    218
    7.6k last 90 days
  • avrogen 0.11.1

    Generate elixir typedstructs from AVRO schemas.

    3
    7.4k last 90 days
  • Streaming Zip64 archive generation

    162
    7.2k last 90 days
  • bech32 1.0.0

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

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

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

    13
    6.1k last 90 days
  • Nif for Base58 format encoding and decoding.

    2
    5.9k last 90 days
  • Serialization of data for Aeternity

    3
    5.9k last 90 days
  • ale8583 0.1.1

    ISO8583(MasterC and PROSA) parser for ELIXIR language.

    3
    5.9k last 90 days
  • basex 1.3.3

    BaseX - arbitrary alphabet encoding

    4
    5.6k last 90 days
  • Pure Erlang NATS Protocol Message Encoder/Decoder

    0
    4.8k 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.

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

    12
    4.4k last 90 days
  • An Elixir Implementation of Douglas Crockford's Base32 Encoding

    6
    4.3k last 90 days
  • Base58Check and Base58 encoding/decoding for Elixir

    1
    4.0k last 90 days
  • MPEG-4 container plugin for Membrane Framework

    9
    3.9k last 90 days
  • gsm 0.1.2

    GSM-7 encoding for Elixir

    6
    3.8k 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
    3.6k last 90 days
  • lz4_erl 0.2.4

    LZ4 bindings for Erlang

    3.6k last 90 days
  • base32 1.0.0

    A base32 implementation in Erlang

    13
    3.6k last 90 days
  • gzlib 1.0.1

    zlib utilities for Gleam

    1
    3.5k last 90 days
  • MPEG-4 container Membrane format

    0
    3.2k last 90 days
  • Membrane CMAF format

    0
    3.2k last 90 days
  • lz4b 0.0.13

    lz4 for beam. An erlang Lz4 NIF library.

    6
    3.2k last 90 days
  • amf 0.1.4

    AMF decode/encode library

    6
    3.1k last 90 days
  • erlpack 1.0.0

    High Performance Erlang Term Format Packer

    247
    3.1k last 90 days
  • bert 0.2.1

    BERT Encoder/Decoder

    9
    3.0k last 90 days
  • amf0 0.1.0

    Amf0 (de)serialisation for Gleam

    1
    3.0k last 90 days
  • Compress alphanumeric string to cjk characters.

    0
    3.0k last 90 days
  • Bytecode definitions, serialization and deserialization for aeternity.

    14
    3.0k last 90 days
  • alpacki 1.0.0

    🦙 HPACK protocol (RFC 7541) for Gleam

    4
    2.9k last 90 days
  • gpb generated protobuf definitions for EventStoreDB v20+

    0
    2.9k last 90 days
  • Zstd binding for Erlang/Elixir

    3
    2.9k last 90 days
  • ZigZag and varint encoding and decoding of integers

    1
    2.7k last 90 days
  • A library for creating Base62-encoded UUIDs

    15
    2.4k last 90 days
  • A pure Elixir DICOM library supporting dataset and network functionality.

    2
    2.4k last 90 days
  • pealist 0.2.2

    Parsing support for Apple's property list formats

    0
    2.3k last 90 days