This disclosure discloses a light-emitting device. The light-emitting device has a first outermost sidewall and includes a light-emitting diode and an electrode. The light-emitting diode has a pad and a side surface. The electrode has a segment formed on the pad to extend beyond the side surface, and a first protrusion extending from the segment to the first outermost sidewall.