White dye is obtained by crafting bone meal or lily of the valley in a crafting table. It is primarily used to dye wool, leather armor, beds, glass, terracotta, and candles. White dye can also be combined with other dyes to create different colors and is essential for banner patterns and firework stars.