OLED Image → C Array Converter
Convert images into C arrays for OLED displays.
Horizontal bitmap
Vertical page bitmap
128x64 / 128x32 / custom size
Single HTML file
Settings
Upload image
Array name
OLED size
128 x 64
128 x 32
64 x 48
64 x 32
Custom size
Width
Height
Fit mode
Contain (fit entire image)
Cover (fill the screen)
Stretch
Conversion mode
Threshold
Floyd-Steinberg Dither
Output format
Horizontal row-major (recommended)
Vertical page-based (SSD1306 buffer type)
Threshold value:
128
Invert
Center image
Show preview grid
Add dimensions to name
Convert Image
Copy Code
Download .h
Download .txt
No image uploaded yet.
Preview
Original
OLED Preview
Ready.
Generated C Code
Choose the output format that matches your OLED drawing function.