The invention provides a preparation technology of xylose, which mainly comprises the following technical steps: hydrolyzation, ultrafiltration purification, primary decoloring, electrodialytic deacidification and desalination, membrane concentration, primary evaporation and concentration, secondary decoloring, ion exchange refined desalting, secondary evaporation and concentration, crystallization, centrifugation, and drying to obtain a finished product xylose crystal. The technology has the advantages that the membrane technology is used to remove macromolecule impurities of colloid, protein, and the like in xylose hydrolysate, electrodialytic deacidification and desalination technology is used to lower the electric conductivity of an xylose solution, and meanwhile, neutralization and positive-negative-positive resin combined one-step purification process is removed to simplify the technical process; therefore, the manufacturing cost of xylose is lowered, meanwhile, the waste water discharge load of the manufacturing of xylose can be allowed to be lowered by more than 40%, and well environmental benefits and economic benefits are achieved.