# swift-parsing

> Composable, fast, invertible parsers for Swift from Point-Free

Source: https://talira.ai/catalog/swift-parsing-pf94rhse
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / parsing / parser combinators](https://talira.ai/categories/developer-tools/parsing/parser-combinators), [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: [Point-Free](https://talira.ai/orgs/point-free.md)

swift-parsing is a Swift library for turning unstructured data into structured data by combining small parsers into larger ones. Its parsers can work on any input and output, including UTF-8 code units for speed, and can be inverted into printers that turn structured data back into text, which its makers use for serialization and URL routing. It was designed over a series of Point-Free episodes.

## Links

- GitHub: https://github.com/pointfreeco/swift-parsing
- Docs: https://swiftpackageindex.com/pointfreeco/swift-parsing/main/documentation/parsing

## Problems it solves

- parse a custom text format in Swift without writing a hand-rolled scanner
- turn lines of a log file into Swift structs
- write one definition that both parses and prints a format in Swift

## Features

- compose small parsers into larger ones
- parse any kind of input into any kind of output, including UTF-8 code units
- invertible parsers that also print structured data back out
- aims for the performance of hand-written parsers

## Trust

Overall: 0.48 out of 1.
Signals: maintenance 0.63, adoption 0.60, momentum 0.35, community 0.62, backing 0.30, extensibility 0.00.

- last commit 6 days ago
- 5 commits in the last 90 days
- latest release 0.15.3 6 days ago
- 1.0k GitHub stars
- 34 contributors
- backed by Point-Free

## Sources

[^1]: https://github.com/pointfreeco/swift-parsing/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/pointfreeco/swift-parsing/blob/main/LICENSE (checked 29 Nov 2026)
