Connect with Redis clients

Connect your application to a Redis database and try an example

Use the Redis client libraries to connect to Redis servers from your own code. We support client libraries for five main languages:

We also provide several higher-level object mapping (OM) libraries for Python, C#/.NET, Node.js, and Java/Spring.

Community-supported clients

The table below shows the recommended third-party client libraries for languages that Redis does not support directly:

Language Client name Github Docs
C hiredis
PHP predis
Ruby redis-rb
Rust redis-rs


You will need access to a Redis server to use these libraries. You can experiment with a local installation of Redis Stack (see Install Redis Stack) or with a free trial of Redis Cloud. To interact with a Redis server without writing code, use the Redis CLI and Redis Insight tools.

Client library guides

Back to top ↑