This study presents the design of single-stage driver for light-emitting diode (LED) tube lamp with input current shaping for T8-type fluorescent lamp replacements. An AC-DC LED driver integrates a pulse width modulation converter for converting ac to dc with power factor (PF) correction and current regulation. The operational principles and design considerations are explained for T8-type 18 W LED tube lamp with a grid input voltage of 230 V. The experimental results for the prototype driver show the lowest input current total harmonic distortion (14%) and highest circuit efficiency (98%) at a rated input voltage of 230 V. Both simulation and experimental results are discussed in detail. This LED driver is suitable for energy-efficient indoor lighting and pathway street lighting applications. The input PF and current distortion are within the acceptable limits of International Electrotechnical Commission (IEC) standards. © 2020 John Wiley & Sons Ltd