# C client for Redis

```json metadata
{
  "schema_version": 2,
  "title": "C client for Redis",
  "description": "Learn how to build with Redis and C",
  "categories": ["docs","integrate","oss","rs","rc"],
  "group": "library",
  "tableOfContents": {"sections":[{"id":"overview","title":"Overview"},{"id":"key-features","title":"Key Features"},{"id":"getting-started","title":"Getting Started"}]}

,
  "codeExamples": []
}
```


Connect your C application to a Redis database using the hiredis client library.

## Overview

hiredis is a minimalistic C client library for Redis that provides a simple, efficient interface for Redis operations. It's designed to be lightweight, fast, and easy to integrate into C applications with minimal dependencies.

## Key Features

- **Lightweight**: Minimal memory footprint and dependencies
- **High Performance**: Optimized for speed and low latency
- **Synchronous & Asynchronous**: Support for both blocking and non-blocking operations
- **Pipeline Support**: Efficient command batching for improved throughput
- **Error Handling**: Comprehensive error reporting and handling
- **Cross-platform**: Works on Linux, macOS, Windows, and embedded systems
- **Thread Safe**: Safe for use in multi-threaded applications
- **Simple API**: Clean, straightforward C interface

## Getting Started

Refer to the complete [C guide](https://redis.io/docs/latest/develop/clients/hiredis) to install, connect, and use hiredis.

