Encoding and Compression

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

94 packages
  • mime 2.0.7

    A MIME type module for Elixir

    101
    5.2m last 90 days
  • mimerl 1.5.0

    Library to handle mimetypes

    29
    3.7m last 90 days
  • protobuf 0.17.0

    A pure Elixir implementation of Google Protobuf.

    906
    1.3m last 90 days
  • CRC32-C as nif for Erlang

    2
    682.6k last 90 days
  • msgpax 2.4.0

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

    300
    598.0k last 90 days
  • gpb 5.0.0

    A compiler for Google protocol buffer definitions files for Erlang.

    581
    477.1k last 90 days
  • snappyer 1.2.10

    Snappy as nif for Erlang

    15
    474.0k last 90 days
  • cbor 1.0.2

    Implementation of RFC 7049 (Concise Binary Object Representation)

    37
    215.1k last 90 days
  • zstream 0.6.7

    Streaming zip file writer and reader

    67
    137.3k last 90 days
  • unzip 0.13.0

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

    22
    107.6k last 90 days
  • crc 0.10.6

    A library used to calculate CRC checksums for binary data.

    28
    106.4k last 90 days
  • URL safe base64-compatible codec

    32
    105.2k last 90 days
  • base16 2.0.1

    Base16 encoding and decoding

    3
    99.1k last 90 days
  • varint 1.6.0

    A library to compress integers using LEB128.

    13
    94.2k last 90 days
  • hashids 2.1.0

    Hashids lets you obfuscate numerical identifiers via reversible mapping.

    282
    88.3k last 90 days
  • sext 1.9.0

    Sortable serialization library

    105
    72.9k last 90 days
  • erlavro 2.11.2

    Apache Avro support for Erlang/Elixir

    139
    72.7k last 90 days
  • protox 2.0.10

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

    296
    70.8k last 90 days
  • ezstd 1.2.4

    zstd binding for erlang

    70
    69.4k last 90 days
  • MMDB2 File Format Decoder

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

    14
    53.9k last 90 days
  • marceau 1.3.0

    A MIME types library for Gleam

    14
    51.8k 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
    51.5k last 90 days
  • Allow you to make custom base conversion in Elixir.

    22
    51.0k last 90 days
  • b58 1.0.3

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

    25
    50.0k last 90 days
  • iconv 1.0.14

    Fast encoding conversion library for Erlang / Elixir

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

    4
    41.4k last 90 days
  • Gzip or gunzip a stream.

    44
    39.9k last 90 days
  • Protos by Google

    18
    38.4k last 90 days
  • ex_rlp 0.6.0

    Ethereum's Recursive Length Prefix (RLP) encoding

    33
    37.2k last 90 days
  • brotli 0.3.3

    brotli compression library wrapper for Erlang

    31
    30.7k last 90 days
  • parse mimetypes

    3
    29.5k 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.

    121
    27.8k last 90 days
  • tomerl 0.5.0

    Erlang TOML Parser

    23
    27.0k last 90 days
  • Convention based conversion to/from XML/JSON

    7
    25.0k last 90 days
  • base62 1.2.2

    Base62 encoder/decoder in pure Elixir.

    20
    22.5k last 90 days
  • spectra 0.13.4

    Type safe data (de) serialization.

    8
    22.3k last 90 days
  • PHP serialize/unserialize support for Elixir

    13
    22.2k last 90 days
  • base32 1.0.0

    A base32 implementation in Erlang

    13
    21.6k last 90 days
  • bertex 1.3.0

    Elixir BERT encoder/decoder

    30
    20.2k last 90 days
  • lz4b 0.1.0

    lz4 for beam. An erlang Lz4 NIF library.

    5
    17.0k last 90 days
  • avro_ex 2.2.0

    An Avro encoding/decoding library written in pure Elixir

    69
    16.6k last 90 days
  • cereal 1.3.2

    A generalizable, configurable serialization dsl for elixir

    7
    16.3k last 90 days
  • Streaming Zip64 archive generation

    164
    15.0k last 90 days
  • msgpack 0.8.1

    MessagePack serializer/deserializer

    219
    14.6k last 90 days
  • avrogen 1.1.3

    Generate elixir typedstructs from AVRO schemas.

    3
    13.1k last 90 days
  • Base62 encoder/decoder in pure Erlang.

    3
    12.6k last 90 days
  • MPEG-4 container plugin for Membrane Framework

    9
    12.3k last 90 days
  • ezlib 1.0.16

    Native zlib driver for Erlang / Elixir

    14
    12.0k last 90 days
  • Elixir wrapper for Rust based brotli compression

    6
    11.9k last 90 days
  • Ruby Marshal format implemented in Elixir.

    39
    11.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.

    30
    11.4k last 90 days
  • Bindings to the js implementation of multiformats

    4
    11.0k 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
    11.0k last 90 days
  • zbase32 2.0.0

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

    9
    10.7k last 90 days
  • Membrane CMAF format

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

    0
    10.6k last 90 days
  • gpb generated protobuf definitions for EventStoreDB v20+

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

    482
    9.6k last 90 days
  • abi 1.3.0

    Ethereum's ABI Interface

    20
    9.0k last 90 days
  • basex 1.3.3

    BaseX - arbitrary alphabet encoding

    4
    7.9k last 90 days
  • An Elixir Implementation of Douglas Crockford's Base32 Encoding

    6
    7.5k last 90 days
  • gzlib 2.0.0

    zlib utilities for Gleam

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

    13
    7.0k last 90 days
  • Protobuf compilation and extensions integration

    15
    6.9k last 90 days
  • Pure Erlang NATS Protocol Message Encoder/Decoder

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

    1
    6.3k last 90 days
  • Ethereum's Hex Prefix encoding

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

    12
    6.1k last 90 days
  • gsm 0.1.2

    GSM-7 encoding for Elixir

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

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

    38
    5.6k last 90 days
  • FLV Container implementation for Membrane Framework

    1
    5.5k last 90 days
  • hex2bin 1.0.0

    Hex string/binary conversion utilities

    2
    5.5k last 90 days
  • gbor 1.0.0

    A Gleam implementation of the CBOR standard

    12
    5.2k last 90 days
  • A MIME Type detection by magic number in Elixir.

    2
    5.1k last 90 days
  • lz4_erl 0.2.4

    LZ4 bindings for Erlang

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

    1
    4.9k last 90 days
  • ican 0.1.1

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

    2
    4.8k last 90 days
  • Multiple crypto support.

    2
    4.8k last 90 days
  • delta 0.4.2

    Simple, yet expressive format to describe contents and changes

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

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

    1
    3.8k last 90 days
  • base85 1.1.0

    Implements some base-85 character encodings.

    7
    3.7k last 90 days
  • bech32 1.0.0

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

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

    2
    3.2k last 90 days
  • Elixir NIF bindings for OpenZL, Meta's format-aware compression framework. Extends zstd with typed columnar compression (delta coding, entropy coding) and SDDL format-aware compression graphs.

    0
    3.2k last 90 days
  • High-performance character encoding/decoding for Elixir. Supports 200+ encodings (Shift_JIS, GBK, Big5, Windows-1252, ISO-8859, UTF-16, and more). Streaming and batch APIs. Powered by Mozilla's encoding_rs.

    5
    3.1k last 90 days
  • This is an implementation of BIP-0173 or bech32. A fork of bech32-elixir.

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

    2
    3.1k last 90 days
  • riak_pb 2.3.2

    Riak Protocol Buffers Messages

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

    3
    3.0k last 90 days
  • Erlang MessagePack library

    0
    3.0k last 90 days
  • Guess character encoding

    2
    2.9k last 90 days