Skip to content

YAML Libraries

YAML data serialization libraries for 42 modern programming languages!!!

Uses the YAML Test Suite
Available in the YAML Playground
Supported by The YAML Company


Ada

  • AdaYaml


    Experimental YAML 1.3 implementation in Ada

C/C++

Clojure

Common Lisp

  • cl-yaml


    YAML parser and emitter built on libyaml

Crystal

  • YAML


    YAML 1.1 from the standard library

  • YAMLScript


    YAMLScript YAML loader

C#/.NET

D

  • D-YAML


    YAML 1.1 library w/ official community support

Dart

  • yaml


    YAML package for Dart

Delphi

Elixir

Erlang

  • yamerl


    YAML support for the Erlang language

  • erl-yaml


    YAML support for Erlang (based on libyaml)

Fortran

Go

Groovy

Haskell

  • HsYAML


    YAML 1.2 implementation in pure Haskell

  • YamlReference


    Haskell 1.2 reference parser

  • yaml


    YAML 1.1 Haskell framework (based on libyaml)

  • YAMLScript


    YAMLScript YAML loader

Java

JavaScript

  • yaml


    JavaScript parser/stringifier (YAML 1.2, 1.1)

  • js-yaml


    Native PyYAML port to JavaScript

  • YAMLStar


    YAML 1.2 loader

  • YAMLScript


    YAMLScript YAML loader

Julia

Kotlin

  • kaml


    YAML 1.2 support for kotlinx.serialization

  • yamlkt


    Multiplatform YAML parser for kotlinx.serialization

  • Hoplite


    Kotlin config library with YAML support

Lua

MATLAB

  • jsonlab


    YAML reader/writer for MATLAB and GNU Octave

Nim

  • NimYAML


    YAML 1.2 implementation in pure Nim

OCaml

Objective-C

Perl

PHP

PowerShell

  • :simple-powershell:{ .lg .middle } powershell-yaml


    PowerShell CmdLets for YAML manipulation

Python

R

Raku

Scala

  • circe-yaml


    YAML parser for circe using SnakeYAML

Scheme

Ruby

  • psych


    libyaml wrapper (in Ruby core for 1.9.2)

  • YAMLScript


    YAMLScript YAML loader

Rust

  • yaml-serde


    YAML framework for the Rust language

  • yaml-rust2


    YAML 1.2 implementation in pure Rust (actively maintained)

  • saphyr


    Modern Rust crates for parsing YAML

  • YAMLStar


    YAML 1.2 loader

  • YAMLScript


    YAMLScript YAML loader

Shell

  • parse_yaml


    Simple YAML parser for Bash using sed and awk

  • shyaml


    Read YAML files - jq style

Swift

  • Yams


    libyaml wrapper

Tcl

  • yaml


    YAML processing with huddle support

Typst

  • yaml


    YAML support built into Typst scripting language

TypeScript

  • yaml


    JavaScript/TypeScript YAML parser (YAML 1.2, 1.1)

  • js-yaml


    YAML parser and serializer

  • yaml-thom


    Experimental YAML 1.2 reference implementation

V

  • yaml


    Strictly parse and format YAML data

Vim

  • yamlvim


    YAML dumper/emitter in pure vimscript

Zig

  • zig-yaml


    YAML 1.2 parser for Zig

  • ymlz


    Small and convenient YAML parser for Zig