Yb3+ and Tm3+ codoped fluoride thin film, with intense ultraviolet and visible upconversion emissions under 980 nm excitation, has been deposited on an Al2O3 ceramic substrate by thermal evaporation under high vacuum. NaY(0.835)Yb(0.15)Tm(0.015)F4 bulk material synthesized by high temperature solid-state reaction was used as target in preparing the thin film. Yb3+ and Tm3+ codoped system, which had been reported before, had been studied. Compared with the unannealed thin film, the annealed film showed better upconversion emission properties, especially in the ultraviolet region, given in the normalized upconversion emission spectra, due to the structure changed from amorphous to hexagonal NaYF4 (beta-NaYF4) during the annealing process. The upconversion mechanism of the thin film was also discussed in this paper.