Compatibility summary
Your Switzerland plug may fit in Libya outlets, as both use at least one common plug type.
Plug comparison
Switzerland plug types: C J
Libya plug types: C F L
Both countries share at least one plug type (C J and C F L), so some plugs may work without an adapter. Check your appliance.
Voltage comparison
Switzerland: 230V, 50Hz
Libya: 230V, 50Hz
Voltage difference is within a range many devices tolerate; check your appliance label.