# UltraJSON (ujson)

> Fast JSON encoder and decoder for Python, written in C

Source: https://talira.ai/catalog/ultrajson-ujson-sftym0p3
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / serialization](https://talira.ai/categories/libraries/serialization), [languages / python](https://talira.ai/categories/languages/python)
- Licence: BSD-3-Clause AND TCL[^2][^3]
- Pricing: Free and open source[^1]
- Pricing notes: Free and open source (BSD-3-Clause AND TCL).
- Free tier: yes[^1]
- Backed by: [UltraJSON](https://talira.ai/orgs/ultrajson.md)

UltraJSON (the ujson package) is a JSON encoder and decoder written in C with Python bindings, usable as a drop-in replacement for most other Python JSON parsers. Its makers have put it into maintenance-only mode: they'll add support for new Python versions and fix critical bugs and security issues, but reject other changes, and they encourage users to move to [orjson](https://talira.ai/catalog/orjson-cynesj9a.md).

## Links

- GitHub: https://github.com/ultrajson/ultrajson

## Problems it solves

- speed up JSON encoding and decoding in my Python service
- replace the standard json module with something faster without changing my code
- an older Python project depends on ujson and I need to know whether it's still safe to use

## Features

- ujson.dumps and ujson.loads, drop-in for most JSON parsers
- written in C
- encode_html_chars and other encoder options

## Limitations

- In maintenance-only mode: only new Python versions, critical bugs and security fixes are accepted, and its makers recommend orjson instead.[^1]

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.72, adoption 0.73, momentum 0.42, community 0.80, backing 0.30, extensibility 0.00.

- last commit 22 days ago
- 18 commits in the last 90 days
- latest release 6.1.0 26 days ago
- 4.5k GitHub stars
- 97 contributors
- backed by UltraJSON

## Alternatives

- [orjson](https://talira.ai/catalog/orjson-cynesj9a.md): Fast, correct JSON library for Python

## Sources

[^1]: https://github.com/ultrajson/ultrajson/blob/main/README.md (checked 29 Nov 2026)
[^2]: https://github.com/ultrajson/ultrajson/blob/main/pyproject.toml (checked 29 Nov 2026)
[^3]: https://github.com/ultrajson/ultrajson/blob/main/LICENSE.txt (checked 29 Nov 2026)
