Lithium metal is supposed to be critical material for constructing next-generation batteries due to extremely high capacity and ultralow redox potential. However, the perplexing issue of lithium dendrite growth impedes the commercial application. The initial nucleation and low Li ions diffusion rate in the electrolyte/electrode interface dominate the deposition behavior. Therefore, a uniform and flexible interface is urgently needed. Here, a facile method is proposed to prepare a thin and porous LiF-rich layer (TPL) by the in-situ reaction of small amount of ammonium hydrogen difluoride (NH4HF2) and Li metal. The deposition morphology on Li metal anode with LiF layer is significantly flat and homogeneous owning to low lateral diffusion barrier on LiF crystals and the porous structure of TPL film. Additionally, the symmetrical cells made with such TPL Li anodes show significantly stable cycling over 100 cycles at high current density of 6 mA/cm2. The TPL Li | LiFePO4 full cells keep over 99% capacity retention after 100 cycles at 2.0 C. This approach serves as a facile and controllable way of adjusting the protective layer on Li metal.