We evaluate the synchrotron spectrum of Mrk 501 based on our filamentary jet model. Integrating the contribution from the magnetic fields induced by numerous current filaments with various transverse sizes, we reproduce the observed hardening of the spectrum around X-rays. It is found that the spectral change during 1997-1998 can be explained by the evolution of turbulence. We also propose that the observed dip around 80 keV is attributed to bound-free absorption by Fe atoms, which implies the abundance of heavy nuclei at the tip of the jet.