# Yams

> YAML parser and emitter for Swift, built on LibYAML

Source: https://talira.ai/catalog/yams-9v7dwa84
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / serialization](https://talira.ai/categories/libraries/serialization), [languages / swift](https://talira.ai/categories/languages/swift)
- Licence: MIT[^2]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^1]
- Backed by: [JP Simard](https://talira.ai/orgs/jp-simard.md)

Yams is a YAML parser for Swift built on LibYAML. It has three groups of conversion APIs: one for Codable types, so YAML converts to and from Swift types the way JSONEncoder does, one for Swift Standard Library types, and a Yams-native Node representation. It builds with the Swift Package Manager, CMake and Ninja, or Bazel, on Apple platforms and others.

## Links

- GitHub: https://github.com/jpsim/Yams
- Docs: https://jpsim.com/Yams

## Problems it solves

- read a YAML config file into Swift structs
- write Swift Codable values out as YAML
- parse YAML in a Swift command-line tool on Linux

## Features

- YAMLEncoder and YAMLDecoder for Codable types
- conversion to and from Swift Standard Library types
- Yams.Node native representation
- built on LibYAML
- Swift Package Manager, CMake and Bazel builds

## Trust

Overall: 0.36 out of 1.
Signals: maintenance 0.27, adoption 0.62, momentum 0.32, community 0.67, backing 0.30, extensibility 0.00.

- latest release 6.2.2 6 months ago
- 1.3k GitHub stars
- 47 contributors
- backed by JP Simard

Warnings:

- last commit 6 months ago

## Sources

[^1]: https://github.com/jpsim/Yams/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/jpsim/Yams/blob/main/LICENSE (checked 29 Nov 2026)
