# text

> Efficient packed Unicode text for Haskell

Source: https://talira.ai/catalog/text-hhb25n09
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / text / strings](https://talira.ai/categories/libraries/text/strings)
- Licence: BSD-2-Clause[^1]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source.
- Free tier: yes[^1]
- Backed by: [Haskell Core Libraries Committee](https://talira.ai/orgs/haskell-clc.md)
- Creator: Tom Harper

text is the standard [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md) library for Unicode strings: its `Text` type, in strict and lazy forms, stores text packed in UTF-8 and is far faster and smaller than Haskell's built-in `String`, a list of characters. It covers searching, splitting, case conversion, encoding and decoding, and builders for producing text, tuned for large inputs and speed. It is maintained by the Haskell Text Team under the Core Libraries Committee.

## Links

- GitHub: https://github.com/haskell/text
- Docs: https://hackage.haskell.org/package/text

## Problems it solves

- handle Unicode strings efficiently in Haskell instead of String
- decode UTF-8 bytes into text in Haskell
- build large text output fast in Haskell

## Features

- strict and lazy Text types
- UTF-8 internal representation
- encoding and decoding
- text builders
- search, split and case conversion

## Trust

Overall: 0.54 out of 1.
Signals: maintenance 0.74, adoption 0.53, momentum 0.15, community 0.84, backing 0.50, extensibility 0.00.

- last commit yesterday
- 21 commits in the last 90 days
- 424 GitHub stars
- 128 contributors
- backed by Haskell Core Libraries Committee
- created by Tom Harper

## Related

- Works with [Haskell](https://talira.ai/catalog/haskell-jjq1dx6f.md)

## Alternatives

- [bytestring](https://talira.ai/catalog/bytestring-32f7sk6s.md): Fast, compact strict and lazy byte strings for Haskell

## Sources

[^1]: https://github.com/haskell/text/blob/master/LICENSE (checked 23 Nov 2026)
