Canonical: https://toolipedia.app/lcd-custom-character-generator

# LCD Custom Character Generator

Draw a 5x8 pixel character and copy the byte array and code to show it on a 16x2 or 20x4 character LCD, as an Arduino sketch or a Python list.

Breadcrumbs: Toolipedia > Online calculators > Electronics and engineering calculators > LCD Custom Character Generator

## About LCD Custom Character Generator

Character LCDs based on the HD44780 controller can store eight custom characters, each a grid of 5 by 8 pixels held as eight bytes, one per row. Click the pixels to draw an icon such as a heart, battery or degree sign, and the page lists each row in binary, hex and decimal and writes the code. You get a complete Arduino LiquidCrystal sketch for a 16x2 or 20x4 display, a hex byte array, or a Python list for RPLCD, CircuitPython and MicroPython. The heart shown by default uses the bytes 0x00, 0x0A, 0x1F, 0x1F, 0x1F, 0x0E, 0x04, 0x00.

## How to use LCD Custom Character Generator
1. Start from a ready-made design or click the 5x8 grid to draw your own character.
2. Choose the character slot from 0 to 7, the display size and the code format.
3. Copy the code into your project and call createChar in setup, then write the slot number to show the character.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- lcd custom character generator
- lcd createchar generator
- 5x8 lcd character maker
- arduino lcd custom character
- hd44780 custom character
- lcd byte array generator

## Frequently asked questions

### How many custom characters can an LCD hold?

Eight, in slots 0 to 7 of the character generator memory. They are lost when the power goes off, so create them again in setup each time.

### Why are only five bits used per row?

A character cell is five pixels wide, so only the lower five bits of each byte count. The leftmost pixel is bit 4 and the rightmost is bit 0.

### Does it work with I2C backpack displays?

Yes. The bytes are the same. Use the createChar and write calls of your I2C LCD library instead of the pin-based LiquidCrystal setup shown in the sketch.

### Is LCD Custom Character Generator free?

Yes. LCD Custom Character Generator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with LCD Custom Character Generator:
- [Seven-Segment Display Code Generator](https://toolipedia.app/seven-segment-display-code-generator)
- [Arduino and ESP32 Pinout Viewer](https://toolipedia.app/arduino-esp32-pinout-viewer)
- [LED Array Calculator](https://toolipedia.app/led-array-calculator)
- [Ham Radio Grid Square Calculator](https://toolipedia.app/ham-radio-grid-square-calculator)
- [GCC customs duty and VAT on imports calculator](https://toolipedia.app/gcc-import-duty-vat-calculator)
