The design of a compact antenna for use in wireless devices of the 2.4/5.2/5.8‐GHz wireless‐local‐area network (WLAN) is presented. The antenna consists of an L‐shaped monopole radiator (L‐element) with microstrip‐fed on one side of the substrate and a protruding meander‐microstrip ground stub (M‐stub) on the other side. The L‐element and the M‐stub generate a high‐frequency band at around 5.4 GHz for the high WLAN bands and a low‐frequency band at around 2.44 GHz for the low WLAN band, respectively. The antenna has a very compact size of only 25 × 25mm2, including the ground plane. Computer simulation is used to study, design, and optimize the antenna. For verification of the simulated performance, the antenna is fabricated and measured using the antenna measurement system, Satimo Stargate. The effects of the feeding cable used in measurement cause discrepancies between the simulated and measured performances. To verify the cable effects, the feeding cable is modeled in simulation. With the use of the cable model, the simulated and measured performances show very good agreements. A practical application of the proposed antenna is also studied by installing it on a printed‐circuit board having the similar size of a smartphone. The impedance bandwidth, radiation pattern, peak gain, and efficiency of the antenna are studied and presented. Results show that the antenna is a potential candidate for small WLAN wireless devices. © 2014 Wiley Periodicals, Inc. Microwave Opt Technol Lett 56:469–475, 2014