A compact fiber polarizer is demonstrated by the filling of selected air holes of a hollow-core photonic crystal fiber (PCF) with a liquid. The liquid-filling results in an asymmetric waveguide structure, leading to a large polarization dependent loss. A 6 mm long ethanol-filled PCF exhibits a polarization extinction ratio of ∼18 dB over a wavelength range from 1480 nm to 1600 nm. In-line fiber polarizers with low-insertion loss, highpolarization extinction ratio and wide operational wavelength range are often needed in optical fiber sensors and communication systems. Fiber optic polarizers have been made by coating the flat side of a side-polished conventional single-mode fiber (SMF) or a D-shaped optical fiber with a thin metal layer [11,12]. However, the complex manufacturing process means higher component cost. Combined with the PCFs, a novel polarizer based on a long period grating written on a solid-core PCF is realized [7]. However, the device suffers from a narrow operational wavelength range (∼10 nm). A fiber polarizer was made by using a pulsed CO 2 laser to deform the air holes of a hollow-core PCF [8]. The polarizer exhibits a polarization extinction ratio of more than 20 dB over an operational wavelength range of wider than 100 nm. However, the CO 2 laser irradiated region is fragile, which may be disadvantageous for practical applications. Recently, we proposed a polarizer configuration based on a partially liquid-filled hollow-core PCF [13]. The polarizer is compact and robust.In this Letter, we report the experimental demonstration of a compact polarizer based on a partially ethanolfilled hollow-core PCF. The partial filling of air holes by a liquid is realized by a simple and practical technique.To the best of our knowledge, it is the first time that this technique is used to fill liquid into selected air holes so that an asymmetric waveguide structure is formed. The partial filling of liquid results in leaking out of one polarization eigen-mode, while keeping the orthogonal polarization-mode propagating along the fiber with relatively low loss. The details about the selective filling technique, the fabrication, and characterization of the polarizer are reported in following sections. Figure 1 illustrates the proposed partial liquid-filling technique. In this illustration, a solid-core PCF is shown, but the technique can be used for both solid-core and hollow-core PCFs. The PCF is firstly spliced to a SMF with a lateral offset. Most of the cladding air holes are sealed by the spliced joint while some of the air holes are left open and used for subsequent liquid-filling. The size of the unsealed region [indicated as S in Fig. 1(b)] is controlled by the lateral offset at the spliced joint. The spliced joint is