# Chopper

> A Retrofit-inspired HTTP client generator for Dart and Flutter

Source: https://talira.ai/catalog/chopper-gqkw9r8p
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / http clients](https://talira.ai/categories/libraries/http-clients), [languages / dart](https://talira.ai/categories/languages/dart)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Hadrien Lejard](https://talira.ai/orgs/lejard-h.md)

Chopper is an HTTP client generator for Dart and Flutter, inspired by [Retrofit](https://talira.ai/catalog/retrofit-q4egfen2.md): you declare an API as an annotated abstract class, and chopper_generator (built on source_gen) writes the client code. It supports converters for JSON serialization (json_serializable, built_value) and interceptors for requests and responses. It's a Flutter Favorite package.

## Links

- GitHub: https://github.com/lejard-h/chopper
- Docs: https://hadrien-lejard.gitbook.io/chopper

## Problems it solves

- generate a typed REST client in Flutter
- a Retrofit-like HTTP client for Dart
- add interceptors to API calls in a Flutter app

## Features

- generated HTTP clients from annotated classes
- converters for json_serializable and built_value
- request and response interceptors
- Flutter Favorite

## Trust

Overall: 0.43 out of 1.
Signals: maintenance 0.48, adoption 0.57, momentum 0.27, community 0.69, backing 0.30, extensibility 0.00.

- last commit 44 days ago
- 5 commits in the last 90 days
- latest release chopper_generator-v8.7.1 58 days ago
- 744 GitHub stars
- 52 contributors
- backed by Hadrien Lejard

## Alternatives

- [dio](https://talira.ai/catalog/dio-d8sdkjkv.md): HTTP client for Dart and Flutter with interceptors, FormData and cancellation
- [retrofit.dart](https://talira.ai/catalog/retrofit-dart-pnh327e2.md): Type-safe HTTP client generator for Dart, built for dio

## Sources

[^1]: https://github.com/lejard-h/chopper/blob/develop/LICENSE (checked 29 Nov 2026)
