A magnetic coupler includes a first body, a second body and a plurality of magnetic elements. The first body has a first front side and a first backside. The first front side is formed with a plurality of positioning slots. The second body has a second front side and a second backside. The second backside is mounted on the first front side. The second body is formed with a plurality of positioning holes penetrating through the second body. Each magnetic element has a first portion and a second portion. The first portions of the magnetic elements respectively penetrate through the positioning holes so that the second portions of the magnetic elements are respectively embedded into the positioning slots. |