It is very important for hydrofluoric acid to improve the performance of fused optical fiber and to prepare the fiber sensor. A novel transmitted-light differential interference contrast (DIC) system was used to nondestructively measure the refractive index profile (RIP) of an optical fiber. A hydrofluoric acid solution effectively enhanced some performances after fusion occurring. Furthermore, it also can remove the cladding of a optical fiber for constructing a fiber sensor to monitor corrosion of steel and aluminum.