In Switzerland, the law allows you to ride a converted bicycle without registration (yellow moped plate) up to 500w of motor power and 25km/h of assistance (this does not concern the authorized limitation at which you can ride; you must respect traffic laws in all cases).
If you exceed the assistance limit of 25km/h or 500w of motor power, you can only use your bicycle on private property.
If you wish to ride on public roads with a motor exceeding 500w or 25km/h, you must have your bicycle inspected by the vehicle licensing office in your canton of residence. Before making such a purchase, please inquire with the vehicle licensing office in your canton of residence.
Here you will find a list of accepted regulations concerning electric bicycles.
French: Download the guide
German: Download the guide