awesome-repositories.com
Blog
MCP
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
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
  • capnproto/capnprotocapnproto avatar

    capnproto/capnproto

    13,089View on GitHub↗

    CapnProto is a zero-copy serialization framework and remote procedure call system. It serves as a C++ communication library providing a schema-based data interchange format that eliminates the need to encode or decode data before reading it from memory. The system enables high-performance data serialization and low-latency network communication. It supports cross-language data exchange by using a defined schema to ensure consistent binary representation across different platforms. The framework provides tools for implementing remote procedure calls, allowing functions to be invoked on a remo

    This is a C++ framework for zero-copy serialization and RPC, which does not provide the native C#/.NET libraries or integration required for your ecosystem.

    C++Binary Serialization FormatsZero-Copy Data Access
    View on GitHub↗13,089
  • apache/foryapache avatar

    apache/fory

    4,234View on GitHub↗

    Fory is a cross-language serialization framework and binary data serializer designed to convert complex object graphs into a compact binary format for high-performance data exchange. It includes an IDL-based schema compiler to transform interface definition language files into type-safe native data models and a schema evolution manager to maintain forward and backward compatibility. The project features a zero-copy data access layer that allows reading specific fields from binary rows without deserializing the entire object. It supports dual-mode serialization, enabling a toggle between a por

    This is a cross-language serialization framework designed for high-performance binary data exchange, but it is not a native C#/.NET library and lacks the specific ecosystem integration required for .NET serialization tasks.

    JavaSchema VersioningZero-Copy Data AccessSchema Evolution Strategies
    View on GitHub↗4,234
  • cysharp/magiconionCysharp avatar

    Cysharp/MagicOnion

    4,408View on GitHub↗

    MagicOnion is a .NET RPC framework used to build type-safe remote procedure call services using shared interfaces for communication between servers and clients. It functions as a binary serialization framework and a distributed service orchestrator, providing a network layer for low-latency streaming and real-time data exchange. The project distinguishes itself through an AOT-compatible network client that uses source generators to support ahead-of-time compilation in restricted runtime environments. It enables bidirectional communication and real-time data streaming, allowing servers and mul

    MagicOnion is a high-performance RPC framework that uses binary serialization internally for network communication, but it is not a general-purpose serialization library for developers to use independently.

    C#Binary SerializationBinary Serialization Formats
    View on GitHub↗4,408
  • ethereum/alethethereum avatar

    ethereum/aleth

    3,969View on GitHub↗

    Aleth is an Ethereum C++ client and full-node implementation. It provides a virtual machine executor for running and debugging bytecode, a blockchain state debugger, and a serialization library for encoding and decoding data using the Recursive Length Prefix format. The project includes a dedicated mining tool for producing blocks and benchmarking hashing hardware performance. It further distinguishes itself with a state debugger that analyzes pre- and post-execution state changes and generates step-by-step execution traces for the virtual machine. The implementation covers node operations i

    This is a C++ Ethereum client that includes a specialized RLP serialization component, but it is not a general-purpose C#/.NET serialization library as requested.

    C++Binary Serialization Formats
    View on GitHub↗3,969
  • cloudwu/skynetcloudwu avatar

    cloudwu/skynet

    14,075View on GitHub↗

    Skynet is a distributed game server framework designed for building scalable online game backends. It utilizes distributed actor-based clusters and real-time network communication to manage high-concurrency session coordination across multiple nodes. The framework includes a cluster management orchestrator for coordinating services via cluster-wide messaging and dynamic configuration updates. It features a multi-protocol network gateway supporting TCP, UDP, and WebSockets, alongside a data encoding layer using BSON and Sproto serialization for efficient information transfer between distribute

    This is a distributed game server framework rather than a standalone C# serialization library, and while it includes internal data encoding modules, it is not a tool designed for general-purpose .NET serialization tasks.

    CBinary Serialization Formats
    View on GitHub↗14,075
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
messagepack-csharp/messagepack-csharp6.6KC#otherOct 23, 2025
neuecc/messagepack-csharp6.7KC#NOASSERTIONJun 9, 2026
google/protobuf71.4KC++NOASSERTIONJun 26, 2026
jamesnk/newtonsoft.json11.3KC#mitDec 30, 2025
google/flatbuffers25.6KC++apache-2.0Feb 18, 2026
protocolbuffers/protobuf71.4KC++NOASSERTIONJun 16, 2026
mgravell/protobuf-net5KC#NOASSERTIONMay 17, 2026
capnproto/capnproto13.1KC++NOASSERTIONJun 22, 2026
apache/fory4.2KJavaapache-2.0Feb 21, 2026
cysharp/magiconion4.4KC#MITJun 16, 2026

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#