We propose novel microdevices that are driven by magnetic force for microparticles manipulation in a microchip. We developed two microdevices - a particle sorter and a particle filter. In the particle sorter, we perform sorting by switching the microchannel flow by driving a magnetic shuttle. In the particle filter, we perform size-based particle filtering by using the space between a magnetic shuttle and a microchannel. The microparticles which are bigger than the available space are stuck in the microchannels and solution passes through the space. These devices are easily implemented into a microchip at low cost. We make the microchip disposable by making the electromagnet part detachable. We succeeded in driving the magnetic shuttle in the microchannel and confirmed the functionality of the particle sorter and the particle filter. Our proposal has the following advantages: (1) Treatment of the target or complicated control systems are not needed, (2) Microdevices are easily implemented in a microchip, (3) The microchip is made disposable by making the electromagnet part detachable.