Comparison
msgspec vs orjson vs standardjson vs superjson
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML.
Actively maintained. Last release 4 days ago, commits in 19 of the last 26 weeks. A safe choice.
pip install msgspecFast, correct Python JSON library supporting dataclasses, datetimes, and numpy
Maintained. Last release 8 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install orjsonJSON encoder that aims to be fully compliant with specifications ECMA-262 and ECMA-404.
Likely abandoned. No release or commit for years (last release over 12 years ago).
pip install standardjsonExtendable json encode/decode library.
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install superjsonIn short
- standardjson looks abandoned: avoid it for new projects.
- superjson looks abandoned: avoid it for new projects.
- orjson is the most used: 231.5M downloads a month, 5.6× more than msgspec.
- msgspec is better maintained: Pythie’s Index 83 against 57.
- msgspec is growing fastest: downloads +17% over the last month.
Side by side
| Metric | msgspec | orjson | standardjson | superjson |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 83 | Pythie’s Index: 57 | Pythie’s Index: 11 | Pythie’s Index: 12 |
| Verdict | Actively maintained | Maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 41.6M | 231.5M | 152.9K | 113.1K |
| Downloads, month over month | +17% | +11% | +9% | +124% |
| GitHub stars | 4.2K | 8.3K | 18 | 4 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 944 | 3.3K | 2 | 4 |
| Last release | Nov 28, 2026 | Oct 7, 2026 | May 21, 2014 | Jan 30, 2022 |
| Releases, 12 months | 4 | 7 | 0 | 0 |
| Weeks with commits | 19 / 26 | 2 / 26 | 0 / 26 | 0 / 26 |
| Recent contributors | 36 | 2 | 1 | 1 |
| First release | Feb 2021 | Nov 2018 | May 2014 | May 2017 |
| Python versions | 3.10 – 3.15 | 3.10 – 3.15 | 3.3 | 3.6 – 3.9 |
| License | BSD-3-Clause | MPL-2.0 AND (Apache-2.0 OR MIT) | non-standard | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.