OkHttp VS Retrofit

Compare OkHttp vs Retrofit and see what are their differences.

OkHttp

Square’s meticulous HTTP client for the JVM, Android, and GraalVM. (by square)

Retrofit

A type-safe HTTP client for Android and the JVM (by square)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
OkHttp Retrofit
43 47
45,219 42,594
0.3% 0.2%
9.3 9.1
7 days ago 3 days ago
Kotlin HTML
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

OkHttp

Posts with mentions or reviews of OkHttp. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-19.

Retrofit

Posts with mentions or reviews of Retrofit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-23.

What are some alternatives?

When comparing OkHttp and Retrofit you can also consider the following projects:

unirest-java - Unirest in Java: Simplified, lightweight HTTP client library.

Feign - Feign makes writing java http clients easier

Async Http Client - Asynchronous Http and WebSocket Client library for Java

Netty - Netty project - an event-driven asynchronous network application framework

Android Volley

gRPC - The Java gRPC implementation. HTTP/2 based RPC

Jersey - Eclipse Jersey Project - Read our Wiki:

android-async-http - An asynchronous, callback-based Http client for Android built on top of Apache's HttpClient libraries.