Flutter Gems is a curated list of 6700+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn Twitter

Top Flutter XML, YAML and Interchange Formats packages

Last updated: January 26, 2025

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.


yaml
👍 255   ⬇️ 4.9M
Dart 3 compatible
Maintenance Status: Good

A parser for YAML, a human-friendly data serialization standard

checked_yaml
👍 33   ⬇️ 3.6M
Dart 3 compatible
Maintenance Status: Average

Generate more helpful exceptions when decoding YAML documents using package:json_serializable and package:yaml.

xml
👍 409   ⬇️ 3.3M
Dart 3 compatible
Maintenance Status: Average

A lightweight library for parsing, traversing, querying, transforming and building XML documents.

yaml_edit
👍 39   ⬇️ 2.8M
Dart 3 compatible
Maintenance Status: Good

A library for YAML manipulation with comment and whitespace preservation.

protobuf
👍 221   ⬇️ 1.1M
Dart 3 compatible
Maintenance Status: Average

Runtime library for protocol buffers support. Use with package:protoc_plugin to generate dart code for your '.proto' files.

ini
👍 24   ⬇️ 893.5K
Dart 3 compatible
Maintenance Status: Poor

Read and write .ini files

json2yaml
👍 12   ⬇️ 873.4K
Dart 3 compatible
Maintenance Status: Average

Dart package to render JSON data to YAML with built-in automatic beautifier and support for Dart pubspec.yaml and pubspec.lock conventions

settings_yaml
👍 17   ⬇️ 817.8K
Dart 3 compatible
Maintenance Status: Good

Provides a simple means of saving/loading settings from a yaml file without the yaml fuss.

xml2json
👍 120   ⬇️ 168.5K
Dart 3 compatible
Maintenance Status: Good

An XML to JSON conversion package. Supports Badgerfish, GData, OpenRally and Parker conversions.

base32
👍 23   ⬇️ 163.4K
Dart 3 compatible
Maintenance Status: Poor

Base32 Encoder and Decoder for Dart, primarily used for One Time Password secrets.

toml
👍 31   ⬇️ 118.8K
Dart 3 compatible
Maintenance Status: Good

Parser and encoder for TOML v1.0.0 (Tom's Obvious, Minimal Language) configuration files.

properties
👍 9   ⬇️ 115.4K
Dart 3 compatible
Maintenance Status: Good

A simple library to manage properties file (and something more) in Dart

xmlstream
👍 7   ⬇️ 93.3K
Dart 3 compatible
Maintenance Status: Average

A lightweight library streaming event-based XML Parser to parse XML Documents as a SAX.

yaml_writer
👍 24   ⬇️ 59.3K
Dart 3 compatible
Maintenance Status: Good

A library to write YAML documents, supporting Object encoding and 'dart:convert' 'Converter'.

flat_buffers
👍 34   ⬇️ 49.4K
Dart 3 compatible
Maintenance Status: Average

FlatBuffers reading and writing library for Dart. Based on original work by Konstantin Scheglov and Paul Berry of the Dart SDK team.

gpx
👍 62   ⬇️ 5.5K
Dart 3 compatible
Maintenance Status: Good

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).

cbor
👍 30   ⬇️ 19.1K
Dart 3 compatible
Maintenance Status: Good

A CBOR library for Dart. An RFC8949 compliant encoding/decoding CBOR implementation.

fhir
👍 38   ⬇️ 10.7K
Dart 3 compatible
Maintenance Status: Good

FHIR library of versions R4, STU3, DSTU2, and R5 (draft) for Dart & Flutter.

binarize
👍 47   ⬇️ 229
Dart 3 compatible
Maintenance Status: Average

Binarize allows for a more streamlined and extendable binary creation experience.

messagepack
👍 37   ⬇️ 1.7K
Dart 3 compatible
Maintenance Status: Poor

Streaming API implementation of MessagePack binary serialization format - msgpack.

message_pack_dart
👍 2   ⬇️ 25.5K
Dart 3 compatible
Maintenance Status: Poor

MessagePack implementation for dart. MessagePack is an efficient binary serialization format. It lets you exchange data among multiple languages like JSON.

standard_message_codec
👍 27   ⬇️ 120
Dart 3 compatible
Maintenance Status: Average

An efficient and schemaless binary encoding format for Flutter and Dart.

xml_serializable
👍 8   ⬇️ 14.7K
Dart 3 compatible
Maintenance Status: Good

Automatically generate code for converting to and from XML by annotating Dart classes.

msgpack_dart
👍 17   ⬇️ 4.5K
Dart 3 compatible
Maintenance Status: Poor

Message Pack implementation for dart

toml_viewer Card Image
toml_viewer
👍 5   ⬇️ 28
Dart 3 compatible
Maintenance Status: Good

A flutter library embeded TOML view.

proto_google
👍 0   ⬇️ 42
Dart 3 compatible
Maintenance Status: Good

Public interface definitions of Google APIs for Dart and gRPC.