Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter XML, YAML and Interchange Formats packages
Last updated: May 18, 2026
While JSON is standard, many legacy enterprise systems, RSS feeds, and specific hardware protocols rely on XML, YAML, or specialized interchange formats.
Best Practices for Interchange Formats
- XML Traversal: XML parsing can be cumbersome. Use packages that allow you to traverse the XML DOM via simple path queries (like XPath) rather than manually iterating through massive node trees.
- YAML Configuration: YAML is excellent for human-readable configuration files. However, do not use it for rapid network data transfer, as parsing YAML is computationally much slower than parsing JSON.
- Protobufs: If bandwidth and speed are critical (e.g., IoT devices or multiplayer games), consider bypassing JSON entirely in favor of Protocol Buffers (gRPC), which serialize data into dense, highly efficient binary formats.
The complete list of XML Parsers, YAML Readers, Protobuf Integrations, and Data formatting packages is provided below.
xml
👍 443 ⬇️ 7M
Dart 3 compatibleMaintenance Status: Good
Full-featured XML for Dart — DOM parsing, SAX streaming, XPath 3 querying, and a fluent builder API.
yaml
👍 291 ⬇️ 6.3M
Dart 3 compatibleMaintenance Status: Average
A parser for YAML, a human-friendly data serialization standard
yaml_edit
👍 48 ⬇️ 6.1M
Dart 3 compatibleMaintenance Status: Good
A library for YAML manipulation with comment and whitespace preservation.
checked_yaml
👍 35 ⬇️ 5.8M
Dart 3 compatibleMaintenance Status: Good
Generate more helpful exceptions when decoding YAML documents using package:json_serializable and package:yaml.
protobuf
👍 254 ⬇️ 1.6M
Dart 3 compatibleMaintenance Status: Good
Runtime library for protocol buffers support. Use with package:protoc_plugin to generate Dart code for your '.proto' files.
properties
👍 9 ⬇️ 418.5K
Dart 3 compatibleMaintenance Status: Average
A simple library to manage properties file (and something more) in Dart
yaml_writer
👍 28 ⬇️ 392.4K
Dart 3 compatibleMaintenance Status: Average
A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.
xml2json
👍 126 ⬇️ 90.3K
Dart 3 compatibleMaintenance Status: Average
An XML to JSON conversion package. Supports Badgerfish, GData, OpenRally and Parker conversions.
toml
👍 32 ⬇️ 165.3K
Dart 3 compatibleMaintenance Status: Good
Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.
flat_buffers
👍 44 ⬇️ 135.2K
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.
base32
👍 28 ⬇️ 137.8K
Dart 3 compatibleMaintenance Status: Good
Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.
cbor
👍 39 ⬇️ 96.4K
Dart 3 compatibleMaintenance Status: Good
A CBOR library for Dart. An RFC8949 compliant encoding/decoding CBOR implementation.
xmlstream
👍 7 ⬇️ 121K
Dart 3 compatibleMaintenance Status: Poor
A lightweight library streaming event-based XML Parser to parse XML Documents as a SAX.
json2yaml
👍 12 ⬇️ 86.1K
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 ⬇️ 12K
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 ⬇️ 59.3K
Dart 3 compatibleMaintenance Status: Good
Provides a simple means of saving/loading settings from a yaml file without the yaml fuss.
msgpack_dart
👍 18 ⬇️ 55.7K
Dart 3 compatibleMaintenance Status: Poor
Message Pack implementation for dart
binarize
👍 57 ⬇️ 3K
Dart 3 compatibleMaintenance Status: Average
Binarize allows for a more streamlined and extendable binary creation experience.
message_pack_dart
👍 4 ⬇️ 66.9K
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.
fhir
👍 39 ⬇️ 13.9K
Dart 3 compatibleMaintenance Status: Good
FHIR library of versions R4, STU3, DSTU2, and R5 (draft) for Dart & Flutter.
messagepack
👍 39 ⬇️ 2.7K
Dart 3 compatibleMaintenance Status: Poor
Streaming API implementation of MessagePack binary serialization format - msgpack.
standard_message_codec
👍 28 ⬇️ 3.2K
Dart 3 compatibleMaintenance Status: Poor
An efficient and schemaless binary encoding format for Flutter and Dart.
xml_serializable
👍 11 ⬇️ 5.7K
Dart 3 compatibleMaintenance Status: Good
Automatically generate code for converting to and from XML by annotating Dart classes.
toml_viewer
👍 5 ⬇️ 50
Dart 3 compatibleMaintenance Status: Good
A Flutter widget for displaying TOML files as interactive, expandable tree views with syntax highlighting, partial-parse error reporting, light/dark theme support, custom styling, extensible builders, and full customisation.
open_xml
👍 2 ⬇️ 133
Dart 3 compatibleMaintenance Status: Good
Open XML (OOXML) formatted documents.
proto_google
👍 0 ⬇️ 13
Dart 3 compatibleMaintenance Status: Average
Public interface definitions of Google APIs for Dart and gRPC.
