A IOT Bot LogoA IOT Bot

The Best OLED Display Libraries for ESP32

We evaluated the top OLED display libraries based on GitHub activity, memory footprint, and ease of use. Here are the clear winners for your next ESP32 project.

Why choosing the right display library matters

When working with ESP32 and OLED displays (like the popular SSD1306), you have dozens of libraries to choose from. However, many are abandoned, bloated, or don't take advantage of the ESP32's hardware SPI/I2C capabilities.

We've filtered the Arduino Library Index to find the absolute best options based on our custom Quality Score (factoring in GitHub stars, issue resolution, and recent commits).

Recommended Libraries

U8g2

by oliver <olikraus@gmail.com>

10/100

Monochrome LCD, OLED and eInk Library. Display controller: SSD1305, SSD1306, SSD1309, SSD1312, SSD1316, SSD1318, SSD1320, SSD1322, SSD1325, SSD1327, SSD1329, SSD1362, SSD1363, SSD1606, SSD1607, SH1106, SH1107, SH1108, SH1122, T6963, RA8835, LC7981, PCD8544, PCF8812, HX1230, UC1601, UC1604, UC1608, UC1610, UC1611, UC1617, UC1628, UC1638, UC1701, ST7302, ST7511, ST7528, ST7539, ST7565, ST7567, ST7571, ST7586, ST7588, ST75160, ST75161, ST75256, ST75320, NT7534, ST7920, IST3020, IST3088, IST7920, LD7032, KS0108, KS0713, HD44102, T7932, SSD1312, SED1330, SED1520, SBN1661, IL3820, MAX7219, GP1287, GP1247, GP1294, GU800. Interfaces: I2C, SPI, Parallel.

Display*
Snippet
#include <U8g2.h>

Adafruit SSD1306

by Adafruit

10/100

SSD1306 oled driver library for monochrome 128x64 and 128x32 displays

Display*
Snippet
#include <Adafruit_SSD1306.h>

TFT_eSPI

by Bodmer

10/100

TFT graphics library for Arduino processors with performance optimisation for RP2040, STM32, ESP8266 and ESP32

Display*
Snippet
#include <TFT_eSPI.h>