These are not designed to be used directly with the Raspberry Pi's GPIO pins, so no.
They are to be used with their respective JST sockets - https://www.modmypi.com/raspberry-pi/arcade/arcade-wiring/jst-xh-2-pin-header-for-quick-connect-wires-10-pack
Quick connector wire sets will make wiring up our arcade-style or metal waterproof buttons super easy and unbelievably quick. Each wire comes as a 'pair' with two 0.11" quick-connects pre-crimped onto 20cm long wires. The wires are then terminated together in a JST 2.5mm/0.1" spaced 2-pin connector (perfectly fits a 0.1" header). Of course you can cut this off if you don't have use for it.
We also stock matching 2-pin JST headers!
The product is currently Out-of-Stock. Enter your email address below and we will notify you as soon as the product is available.