Flutter Gems is a curated list of 7100+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter XML, YAML and Interchange Formats packages
Last updated: March 18, 2026
There are a variety of data interchange formats that can be used to exchange complex hierarchical data between different platforms or over the internet. Some common formats include XML, YAML, and Protobuf. Each format has its own advantages and disadvantages, so it is important to choose the right format for the specific application.
The complete list of Dart and Flutter packages that can be used to read, write and view XML, YAML, Protobuf or any other data interchange format, is provided below.
xml
👍 442 ⬇️ 6.3M
Dart 3 compatibleMaintenance Status: Good
A lightweight library for parsing, traversing, querying, transforming and building XML documents.
yaml
👍 289 ⬇️ 5.3M
Dart 3 compatibleMaintenance Status: Average
A parser for YAML, a human-friendly data serialization standard
yaml_edit
👍 47 ⬇️ 5.3M
Dart 3 compatibleMaintenance Status: Good
A library for YAML manipulation with comment and whitespace preservation.
checked_yaml
👍 35 ⬇️ 5M
Dart 3 compatibleMaintenance Status: Good
Generate more helpful exceptions when decoding YAML documents using package:json_serializable and package:yaml.
protobuf
👍 251 ⬇️ 1.4M
Dart 3 compatibleMaintenance Status: Good
Runtime library for protocol buffers support. Use with package:protoc_plugin to generate Dart code for your '.proto' files.
yaml_writer
👍 28 ⬇️ 332K
Dart 3 compatibleMaintenance Status: Average
A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.
properties
👍 9 ⬇️ 337.7K
Dart 3 compatibleMaintenance Status: Average
A simple library to manage properties file (and something more) in Dart
xml2json
👍 126 ⬇️ 90.1K
Dart 3 compatibleMaintenance Status: Good
An XML to JSON conversion package. Supports Badgerfish, GData, OpenRally and Parker conversions.
toml
👍 32 ⬇️ 137.6K
Dart 3 compatibleMaintenance Status: Good
Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.
base32
👍 28 ⬇️ 133.3K
Dart 3 compatibleMaintenance Status: Good
Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.
flat_buffers
👍 41 ⬇️ 109.7K
Dart 3 compatibleMaintenance Status: Good
FlatBuffers reading and writing library for Dart. Based on original work by Konstantin Scheglov and Paul Berry of the Dart SDK team.
xmlstream
👍 7 ⬇️ 111.7K
Dart 3 compatibleMaintenance Status: Poor
A lightweight library streaming event-based XML Parser to parse XML Documents as a SAX.
cbor
👍 37 ⬇️ 74.1K
Dart 3 compatibleMaintenance Status: Good
A CBOR library for Dart. An RFC8949 compliant encoding/decoding CBOR implementation.
json2yaml
👍 12 ⬇️ 84.7K
Dart 3 compatibleMaintenance Status: Poor
Dart package to render JSON data to YAML with built-in automatic beautifier and support for Dart pubspec.yaml and pubspec.lock conventions
gpx
👍 67 ⬇️ 13.9K
Dart 3 compatibleMaintenance Status: Average
Package for load, manipulate, and save GPS data in GPX format (a light-weight XML data format for the interchange of GPS data - waypoints, routes, and tracks).
settings_yaml
👍 17 ⬇️ 52K
Dart 3 compatibleMaintenance Status: Good
Provides a simple means of saving/loading settings from a yaml file without the yaml fuss.
binarize
👍 57 ⬇️ 4K
Dart 3 compatibleMaintenance Status: Average
Binarize allows for a more streamlined and extendable binary creation experience.
msgpack_dart
👍 18 ⬇️ 43.9K
Dart 3 compatibleMaintenance Status: Poor
Message Pack implementation for dart
fhir
👍 39 ⬇️ 16.2K
Dart 3 compatibleMaintenance Status: Good
FHIR library of versions R4, STU3, DSTU2, and R5 (draft) for Dart & Flutter.
message_pack_dart
👍 3 ⬇️ 48.4K
Dart 3 compatibleMaintenance Status: Poor
MessagePack implementation for dart. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON.
messagepack
👍 39 ⬇️ 2.2K
Dart 3 compatibleMaintenance Status: Poor
Streaming API implementation of MessagePack binary serialization format - msgpack.
standard_message_codec
👍 28 ⬇️ 921
Dart 3 compatibleMaintenance Status: Poor
An efficient and schemaless binary encoding format for Flutter and Dart.
xml_serializable
👍 11 ⬇️ 6.4K
Dart 3 compatibleMaintenance Status: Average
Automatically generate code for converting to and from XML by annotating Dart classes.
toml_viewer
👍 5 ⬇️ 47
Dart 3 compatibleMaintenance Status: Average
A flutter library embeded TOML view.
proto_google
👍 0 ⬇️ 15
Dart 3 compatibleMaintenance Status: Average
Public interface definitions of Google APIs for Dart and gRPC.
