YAML Libraries¶
YAML data serialization libraries for most modern programming languages.
Uses the YAML Test Suite
Supported by The YAML Company
Available in the YAML Playground
C/C++¶
Clojure¶
-
YAML encoding and decoding for Clojure
-
YAMLScript YAML loader
Crystal¶
-
YAML 1.1 from the standard library
-
YAMLScript YAML loader
C#/.NET¶
-
YAML 1.1/(1.2) library + serialization
-
YAML 1.1 library
-
YAML 1.2 loader
-
YAMLScript YAML loader
D¶
-
YAML 1.1 library w/ official community support
Dart¶
-
YAML package for Dart
Delphi¶
-
YAML 1.1 Delphi binding to libyaml
-
YAML 1.1/1.2 and JSON pure Object Pascal parser
Elixir¶
-
YAML support for the Elixir language
Erlang¶
Fortran¶
Go¶
-
YAML support for the Go language
-
Simplified YAML parser written in Go
-
YAML 1.2 implementation in pure Go
-
YAML 1.2 loader
-
YAMLScript YAML loader
Haskell¶
-
YAML 1.2 implementation in pure Haskell
-
Haskell 1.2 reference parser
-
YAML 1.1 Haskell framework (based on libyaml)
-
YAMLScript YAML loader
Java¶
-
Java 8+ / YAML 1.2
-
Java 5 / YAML 1.1
-
To/from JavaBeans. YAML 1.0/1.1
-
YAML 1.2 for Java 8. Packaged as a Module (Java 9+)
-
Java Implementation
-
YAMLScript YAML loader
JavaScript¶
-
JavaScript parser/stringifier (YAML 1.2, 1.1)
-
Native PyYAML port to JavaScript
-
YAML 1.2 loader
-
YAMLScript YAML loader
Julia¶
-
YAMLScript YAML loader
Lua¶
-
Lua binding for libyaml
-
YAMLScript YAML loader
MATLAB¶
-
YAML reader/writer for MATLAB and GNU Octave
Nim¶
-
YAML 1.2 implementation in pure Nim
OCaml¶
-
YAML 1.1/1.2 via libyaml bindings
-
YAML 1.0 via syck bindings
Perl¶
-
XS binding to libyaml
-
A pure Perl YAML 1.2/1.1 processor
-
Binding to libsyck
-
A small YAML subset module
-
Pure Perl YAML 1.0 Module
-
YAML 1.2 loader
-
YAMLScript YAML loader
PHP¶
-
Symfony Yaml Component (YAML 1.2)
-
libyaml bindings (YAML 1.1)
-
syck bindings (YAML 1.0)
-
yaml loader/dumper (YAML 1.?)
-
YAMLScript YAML loader
Python¶
-
YAML 1.1, pure Python and libyaml binding
-
YAML 1.2, update of PyYAML; comments round-trip
-
Restricted YAML subset
-
YAML 1.2 loader
-
YAMLScript YAML loader
R¶
-
libyaml wrapper
Raku¶
-
Port of YAMLish to Raku
-
LibYAML wrapper
-
YAMLScript YAML loader
Ruby¶
-
libyaml wrapper (in Ruby core for 1.9.2)
-
YAMLScript YAML loader
Rust¶
-
YAML 1.2 implementation in pure Rust (actively maintained)
-
Modern Rust crates for parsing YAML
-
YAML framework for the Rust language
-
YAML 1.2 loader
-
YAMLScript YAML loader
Shell¶
-
Simple YAML parser for Bash using sed and awk
-
Read YAML files - jq style
Swift¶
-
libyaml wrapper
Typst¶
-
YAML support built into Typst scripting language
V¶
-
Strictly parse and format YAML data
Others¶
-
YAML dumper/emitter in pure vimscript