Encoding and Compression

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

92 packages
  • mime 2.0.7

    A MIME type module for Elixir

    101
    6.5m last 90 days
  • mimerl 1.5.0

    Library to handle mimetypes

    29
    3.9m last 90 days
  • protobuf 0.17.1

    A pure Elixir implementation of Google Protobuf.

    906
    1.5m last 90 days
  • msgpax 2.4.0

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

    301
    742.7k last 90 days
  • CRC32-C as nif for Erlang

    2
    732.2k last 90 days
  • gpb 5.0.0

    A compiler for Google protocol buffer definitions files for Erlang.

    581
    520.5k last 90 days
  • snappyer 1.2.10

    Snappy as nif for Erlang

    15
    515.7k last 90 days
  • cbor 1.0.2

    Implementation of RFC 7049 (Concise Binary Object Representation)

    37
    308.9k last 90 days
  • zstream 0.6.7

    Streaming zip file writer and reader

    67
    201.4k last 90 days
  • crc 0.11.0

    A library used to calculate CRC checksums for binary data.

    28
    152.0k last 90 days
  • unzip 0.13.0

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

    22
    125.4k last 90 days
  • URL safe base64-compatible codec

    32
    109.6k last 90 days
  • base16 2.0.1

    Base16 encoding and decoding

    3
    108.1k last 90 days
  • hashids 2.1.0

    Hashids lets you obfuscate numerical identifiers via reversible mapping.

    282
    104.8k last 90 days
  • varint 1.6.0

    A library to compress integers using LEB128.

    13
    102.0k last 90 days
  • erlavro 2.11.2

    Apache Avro support for Erlang/Elixir

    139
    97.1k last 90 days
  • ezstd 1.2.4

    zstd binding for erlang

    72
    92.1k last 90 days
  • MMDB2 File Format Decoder

    9
    88.9k last 90 days
  • protox 2.1.0

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

    299
    87.2k last 90 days
  • sext 1.9.0

    Sortable serialization library

    105
    77.4k last 90 days
  • b58 1.0.3

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

    25
    72.8k last 90 days
  • marceau 1.3.0

    A MIME types library for Gleam

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

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

    22
    62.4k last 90 days
  • brotli 0.3.3

    brotli compression library wrapper for Erlang

    30
    54.9k last 90 days
  • iconv 1.0.14

    Fast encoding conversion library for Erlang / Elixir

    60
    53.0k last 90 days
  • ex_rlp 0.6.0

    Ethereum's Recursive Length Prefix (RLP) encoding

    33
    46.5k last 90 days
  • base32 1.0.0

    A base32 implementation in Erlang

    13
    37.9k last 90 days
  • lz4b 0.1.0

    lz4 for beam. An erlang Lz4 NIF library.

    5
    37.3k last 90 days
  • Gzip or gunzip a stream.

    44
    35.4k last 90 days
  • A simple Erlang module to perform Base58 encoding and decoding

    4
    33.5k last 90 days
  • base62 1.2.2

    Base62 encoder/decoder in pure Elixir.

    20
    33.3k 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
    33.2k last 90 days
  • PHP serialize/unserialize support for Elixir

    13
    33.0k last 90 days
  • parse mimetypes

    3
    32.2k last 90 days
  • Protos by Google

    18
    30.6k last 90 days
  • tomerl 0.5.0

    Erlang TOML Parser

    24
    29.8k last 90 days
  • bertex 1.3.0

    Elixir BERT encoder/decoder

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

    4
    26.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
    26.0k last 90 days
  • Convention based conversion to/from XML/JSON

    7
    21.4k last 90 days
  • gbor 1.0.0

    A Gleam implementation of the CBOR standard

    12
    20.5k last 90 days
  • avro_ex 2.2.0

    An Avro encoding/decoding library written in pure Elixir

    69
    18.8k last 90 days
  • msgpack 0.8.1

    MessagePack serializer/deserializer

    219
    18.3k last 90 days
  • spectra 0.14.2

    Type safe data (de) serialization.

    8
    17.7k last 90 days
  • Streaming Zip64 archive generation

    167
    16.6k last 90 days
  • cereal 1.3.2

    A generalizable, configurable serialization dsl for elixir

    7
    16.4k last 90 days
  • avrogen 1.1.8

    Generate elixir typedstructs from AVRO schemas.

    4
    15.4k last 90 days
  • zbase32 2.0.0

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

    9
    15.2k last 90 days
  • Elixir wrapper for Rust based brotli compression

    6
    14.1k last 90 days
  • ezlib 1.0.16

    Native zlib driver for Erlang / Elixir

    14
    14.1k last 90 days
  • Base62 encoder/decoder in pure Erlang.

    3
    13.8k last 90 days
  • gpb generated protobuf definitions for EventStoreDB v20+

    0
    13.2k last 90 days
  • MPEG-4 container plugin for Membrane Framework

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

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

    482
    11.6k last 90 days
  • Membrane CMAF format

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

    0
    11.2k last 90 days
  • Protobuf compilation and extensions integration

    15
    11.1k 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.

    31
    10.5k last 90 days
  • abi 1.3.0

    Ethereum's ABI Interface

    20
    9.2k last 90 days
  • hex2bin 1.0.0

    Hex string/binary conversion utilities

    2
    9.0k last 90 days
  • An Elixir Implementation of Douglas Crockford's Base32 Encoding

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

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

    13
    8.2k last 90 days
  • basex 1.3.3

    BaseX - arbitrary alphabet encoding

    4
    7.8k last 90 days
  • lz4_erl 0.2.4

    LZ4 bindings for Erlang

    7.8k last 90 days
  • gzlib 2.0.0

    zlib utilities for Gleam

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

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

    0
    6.8k last 90 days
  • delta 0.4.2

    Simple, yet expressive format to describe contents and changes

    378
    6.7k last 90 days
  • Ethereum's Hex Prefix encoding

    4
    6.6k last 90 days
  • ctf 0.1.2

    BEAM compact term format encoder/decoder

    0
    6.1k last 90 days
  • ican 0.1.1

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

    2
    6.0k last 90 days
  • Multiple crypto support.

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

    12
    5.9k last 90 days
  • Common effect types, decoders and encoders for your Eat Your Greens (EYG) runtime.

    380
    5.8k last 90 days
  • gsm 0.1.2

    GSM-7 encoding for Elixir

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

    1
    4.8k 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
    4.6k last 90 days
  • ZigZag and varint encoding and decoding of integers

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

    391
    4.3k last 90 days
  • bert 0.2.1

    BERT Encoder/Decoder

    4.2k last 90 days
  • riak_pb 2.3.2

    Riak Protocol Buffers Messages

    72
    4.2k last 90 days
  • FLV Container implementation for Membrane Framework

    1
    4.1k last 90 days
  • bech32 1.0.0

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

    4
    3.7k last 90 days
  • Base32 encoding and decoding for all major variants (RFC 4648, Crockford, Geohash, z-base-32)

    1
    3.7k last 90 days
  • Guess character encoding

    2
    3.6k last 90 days
  • A MIME Type detection by magic number in Elixir.

    2
    3.6k 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.5k last 90 days
  • A library for creating Base62-encoded UUIDs

    14
    3.4k last 90 days