Compatibility summary
You will need a travel adapter in Cocos (Keeling) Islands; plug types used there differ from Italy.
Plug comparison
Italy plug types: C F L
Cocos (Keeling) Islands plug types: I
There is no common plug type between Italy (C F L) and Cocos (Keeling) Islands (I). You need a travel adapter.
Voltage comparison
Italy: 230V, 50Hz
Cocos (Keeling) Islands: 230V, 50Hz
Voltage difference is within a range many devices tolerate; check your appliance label.