awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

C# Serialization Libraries

Ranking updated Jul 13, 2026

For a high performance serialization library for C#, the strongest matches are messagepack-csharp/messagepack-csharp (This library is a high-performance binary serializer for), neuecc/messagepack-csharp (This library is a high-performance binary serialization tool for) and google/protobuf (This is a high-performance binary serialization framework that provides). jamesnk/newtonsoft.json and google/flatbuffers round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “best c sharp serialization libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

C# Serialization Libraries

Find the best repos with AI.We'll search the best matching repositories with AI.
  • messagepack-csharp/messagepack-csharpMessagePack-CSharp avatar

    MessagePack-CSharp/MessagePack-CSharp

    6,607View on GitHub↗

    MessagePack-CSharp is a high-performance binary serializer for .NET that converts C# objects to and from the compact MessagePack format. It uses compile-time source generation to produce AOT-safe formatters and resolvers, eliminating runtime reflection and enabling ahead-of-time compilation scenarios. The serializer encodes object fields as integer indices instead of string keys, producing compact binary output with deterministic field ordering, and provides stack-allocated reader and writer structs for direct encoding and decoding of MessagePack primitives without heap allocations. The libra

    This library is a high-performance binary serializer for .NET that provides AOT-safe source generation, zero-allocation primitives, and built-in support for converting binary data to JSON, making it a comprehensive solution for your serialization needs.

    C#Zero-Allocation ReadersMessagePack Serializers
    View on GitHub↗6,607
  • neuecc/messagepack-csharpneuecc avatar

    neuecc/MessagePack-CSharp

    6,710View on GitHub↗

    MessagePack-CSharp is a high-performance binary serialization library for .NET applications that converts object graphs into the MessagePack format. It functions as a C# data serialization toolkit and a polymorphic binary encoder capable of handling abstract classes and interfaces using union keys to identify concrete derived types. The library provides a binary format transcoder to transform binary data into human-readable JSON for debugging. It supports ahead-of-time formatter generation to avoid runtime overhead and implements LZ4 binary compression to reduce the size of serialized data.

    This library is a high-performance binary serialization tool for .NET that natively supports MessagePack, includes AOT code generation, and provides built-in utilities for JSON transcoding and compression.

    C#Binary Serialization FormatsMessagePack Serializers
    View on GitHub↗6,710
  • google/protobufgoogle avatar

    google/protobuf

    71,412View on GitHub↗

    Protocol Buffers is a binary serialization framework used to encode structured information into compact payloads to reduce network bandwidth and storage. It functions as a cross-language data interchange standard that enables different platforms and languages to exchange structured data using a shared schema. The project includes an interface definition language compiler that transforms schema definitions into type-safe source code for multiple target programming languages. This mechanism decouples data structures from specific language memory layouts and ensures consistent data handling acro

    This is a high-performance binary serialization framework that provides robust schema evolution and cross-language support for .NET via its official C# implementation, though it focuses on binary formats rather than JSON.

    C++Binary SerializationBinary Serialization FormatsProtocol Buffers
    View on GitHub↗71,412
  • jamesnk/newtonsoft.jsonJamesNK avatar

    JamesNK/Newtonsoft.Json

    11,262View on GitHub↗

    Newtonsoft.Json is a data processing utility for the .NET ecosystem designed to facilitate the transformation and exchange of information. It functions as a serialization library and object mapping framework, enabling the conversion of complex application objects into formatted JSON strings and the reconstruction of structured objects from raw JSON data. The library distinguishes itself through a flexible architecture that supports both strongly-typed class mapping and a dynamic object model for schema-less data manipulation. It employs reflection-based metadata mapping to automate property a

    Newtonsoft.Json is a widely-used, feature-rich library for JSON serialization and deserialization in .NET, though it lacks native binary serialization and has limited AOT compatibility compared to modern alternatives.

    C#JSON SerializersJSON Serialization Libraries
    View on GitHub↗11,262
  • google/flatbuffersgoogle avatar

    google/flatbuffers

    25,558View on GitHub↗

    FlatBuffers is a cross-platform serialization library designed for performance-critical applications that require efficient, zero-copy data access. By organizing data in a structured binary format, it allows applications to read and write complex data structures directly from memory-mapped buffers without the need for intermediate parsing or temporary object allocation. The project distinguishes itself through a schema-driven approach that balances high-performance access with long-term data evolution. It utilizes a unique memory layout featuring relative offsets and inline fixed-size structu

    FlatBuffers is a high-performance, schema-driven serialization library that supports C# and provides efficient binary data access with strong schema evolution capabilities, making it a robust choice for performance-critical .NET applications.

    C++Binary Serialization FormatsZero-Copy Data AccessZero-Copy Data Access Libraries
    View on GitHub↗25,558
  • protocolbuffers/protobufprotocolbuffers avatar

    protocolbuffers/protobuf

    71,359View on GitHub↗

    Protocol Buffers is a language-neutral, platform-agnostic mechanism for serializing structured data. It provides a schema-driven toolchain that compiles declarative data definitions into type-safe source code, enabling consistent communication and strongly typed API contracts across services written in different programming languages. The project distinguishes itself through a highly efficient binary wire format that utilizes tag-based encoding and variable-width integer compression to minimize payload size and processing overhead. It supports robust evolutionary schema management, allowing d

    This is a language-neutral serialization framework that provides high-performance binary and JSON support for .NET through its official C# implementation, making it a standard choice for schema-driven data exchange.

    C++JSON SerializersProtocol BuffersEvolutionary Schema Management
    View on GitHub↗71,359
  • mgravell/protobuf-netmgravell avatar

    mgravell/protobuf-net

    4,952View on GitHub↗

    protobuf-net is a binary serialization framework and .NET library that implements the Protocol Buffers specification. It functions as a schema-based serialization tool and contract-first data mapper, converting complex object graphs into a compact binary format for storage and network transmission. The library enables cross-platform data exchange and high-performance networking by reducing payload sizes and processing time. It specifically supports object hierarchy persistence, allowing the serialization and reconstruction of complex class structures that include inheritance and derived types

    This is a high-performance binary serialization library for .NET that implements the Protocol Buffers specification, making it a strong choice for compact data exchange and object persistence.

    C#Protocol Buffers
    View on GitHub↗4,952

Related searches

  • a high performance JSON library for C#
  • a high performance serialization library for Java
  • a high performance serialization library for Go
  • a C++ library for data serialization
  • a library for data compression in C#
  • a caching library for C# applications
  • a library for implementing gRPC in C#
  • a library for parsing csv in C#