Abstract A visual mini-electrolysis device was designed by using the common objects such as cotton towel and purple cabbage, this device could characterize the movement of microscopic ions by macroscopic color migration. The new electrolysis device had the advantages of simple structure, easy operation, obvious phenomenon, short time, full of interest and universality. It was very convenient for students to carry out group experiments and could effectively help students understand the principle of electrolysis.